aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwmc3200wifi/iwm.h
diff options
context:
space:
mode:
authorZhu Yi <yi.zhu@intel.com>2009-06-15 15:59:56 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-07-10 14:57:52 -0400
commit257862f3faef397f1a677ae6a5a1828fa00a97b1 (patch)
tree005afd1b950593942ee6b4e2ad44cf5dbf14410b /drivers/net/wireless/iwmc3200wifi/iwm.h
parent3549716484a95fd16f7fcf8b68699bd4c803b382 (diff)
iwmc3200wifi: rfkill cleanup
The patch cleans up the unused rfkill related structures and flags. It also adds wext and cfg80211 handlers for txpower auto and off so that software rfkill could be issued by user space. Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: Samuel Ortiz <samuel.ortiz@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwmc3200wifi/iwm.h')
-rw-r--r--drivers/net/wireless/iwmc3200wifi/iwm.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/net/wireless/iwmc3200wifi/iwm.h b/drivers/net/wireless/iwmc3200wifi/iwm.h
index 90b05d999635..4da57f737f27 100644
--- a/drivers/net/wireless/iwmc3200wifi/iwm.h
+++ b/drivers/net/wireless/iwmc3200wifi/iwm.h
@@ -184,10 +184,6 @@ struct iwm_key {
184#define IWM_STATUS_ASSOCIATING 3 184#define IWM_STATUS_ASSOCIATING 3
185#define IWM_STATUS_ASSOCIATED 4 185#define IWM_STATUS_ASSOCIATED 4
186 186
187#define IWM_RADIO_RFKILL_OFF 0
188#define IWM_RADIO_RFKILL_HW 1
189#define IWM_RADIO_RFKILL_SW 2
190
191struct iwm_tx_queue { 187struct iwm_tx_queue {
192 int id; 188 int id;
193 struct sk_buff_head queue; 189 struct sk_buff_head queue;
@@ -221,7 +217,6 @@ struct iwm_priv {
221 struct iwm_conf conf; 217 struct iwm_conf conf;
222 218
223 unsigned long status; 219 unsigned long status;
224 unsigned long radio;
225 220
226 struct list_head pending_notif; 221 struct list_head pending_notif;
227 wait_queue_head_t notif_queue; 222 wait_queue_head_t notif_queue;
@@ -240,6 +235,7 @@ struct iwm_priv {
240 u8 bssid[ETH_ALEN]; 235 u8 bssid[ETH_ALEN];
241 u8 channel; 236 u8 channel;
242 u16 rate; 237 u16 rate;
238 u32 txpower;
243 239
244 struct iwm_sta_info sta_table[IWM_STA_TABLE_NUM]; 240 struct iwm_sta_info sta_table[IWM_STA_TABLE_NUM];
245 struct list_head bss_list; 241 struct list_head bss_list;
@@ -290,7 +286,6 @@ struct iwm_priv {
290 struct timer_list watchdog; 286 struct timer_list watchdog;
291 struct work_struct reset_worker; 287 struct work_struct reset_worker;
292 struct mutex mutex; 288 struct mutex mutex;
293 struct rfkill *rfkill;
294 289
295 char private[0] __attribute__((__aligned__(NETDEV_ALIGN))); 290 char private[0] __attribute__((__aligned__(NETDEV_ALIGN)));
296}; 291};