libertas: remove Beacon Control
authorDan Williams <dcbw@redhat.com>
Tue, 27 Jul 2010 19:58:08 +0000 (12:58 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 27 Jul 2010 19:08:20 +0000 (15:08 -0400)
For now; it's a pretty easy command to hook up and whenever OLPC
figures out how they want the userspace interface to look (ie,
not iwpriv commands) we can easily add it back in.  Since the
cfg80211 conversion it wasn't working anyway.

Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/cfg.h
drivers/net/wireless/libertas/cmd.c
drivers/net/wireless/libertas/cmdresp.c
drivers/net/wireless/libertas/host.h

index e7ba4d84164da97e7767f0d378986452afe0dedc..4f46bb744bee8f4f8cb6432e09cf4a020180350d 100644 (file)
@@ -13,10 +13,6 @@ void lbs_cfg_free(struct lbs_private *priv);
 int lbs_reg_notifier(struct wiphy *wiphy,
                struct regulatory_request *request);
 
-/* All of those are TODOs: */
-#define lbs_cmd_bcn_ctrl(priv, cmdptr, cmd_action) (0)
-#define lbs_ret_802_11_bcn_ctrl(priv, resp) (0)
-
 void lbs_send_disconnect_notification(struct lbs_private *priv);
 void lbs_send_mic_failureevent(struct lbs_private *priv, u32 event);
 
index 15cfc52d6fd14614a4da9e4bdf26f07d77441e6d..a09ee6b0a5526c88411e42eadae4d555005042b3 100644 (file)
@@ -1216,9 +1216,6 @@ int lbs_prepare_and_send_command(struct lbs_private *priv,
 
 #endif
 
-       case CMD_802_11_BEACON_CTRL:
-               ret = lbs_cmd_bcn_ctrl(priv, cmdptr, cmd_action);
-               break;
        case CMD_802_11_DEEP_SLEEP:
                cmdptr->command = cpu_to_le16(CMD_802_11_DEEP_SLEEP);
                cmdptr->size = cpu_to_le16(sizeof(struct cmd_header));
index c3cbc8a1847d3de45222a0e485169b606d91e223..6196e54125c6944de103842987a355b11658cca9 100644 (file)
@@ -130,9 +130,6 @@ static inline int handle_cmd_response(struct lbs_private *priv,
                               sizeof(resp->params.fwt));
                spin_unlock_irqrestore(&priv->driver_lock, flags);
                break;
-       case CMD_RET(CMD_802_11_BEACON_CTRL):
-               ret = lbs_ret_802_11_bcn_ctrl(priv, resp);
-               break;
 
        default:
                lbs_pr_err("CMD_RESP: unknown cmd response 0x%04x\n",
index 782fd157e5c2749e573d8ef4a12a090c0e8528c7..7826f11cf60eaf47b655c67649007ff03c864057 100644 (file)
@@ -595,6 +595,8 @@ struct cmd_ds_802_11_radio_control {
 } __packed;
 
 struct cmd_ds_802_11_beacon_control {
+       struct cmd_header hdr;
+
        __le16 action;
        __le16 beacon_enable;
        __le16 beacon_period;
@@ -972,7 +974,6 @@ struct cmd_ds_command {
 
                struct cmd_ds_bt_access bt;
                struct cmd_ds_fwt_access fwt;
-               struct cmd_ds_802_11_beacon_control bcn_ctrl;
        } params;
 } __packed;
 #endif