diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-3945.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-3945.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945.h b/drivers/net/wireless/iwlwifi/iwl-3945.h index d07aafe5ccc5..00109324b33c 100644 --- a/drivers/net/wireless/iwlwifi/iwl-3945.h +++ b/drivers/net/wireless/iwlwifi/iwl-3945.h | |||
@@ -250,7 +250,7 @@ struct iwl3945_clip_group { | |||
250 | /* Power management (not Tx power) structures */ | 250 | /* Power management (not Tx power) structures */ |
251 | 251 | ||
252 | struct iwl3945_power_vec_entry { | 252 | struct iwl3945_power_vec_entry { |
253 | struct iwl3945_powertable_cmd cmd; | 253 | struct iwl_powertable_cmd cmd; |
254 | u8 no_dtim; | 254 | u8 no_dtim; |
255 | }; | 255 | }; |
256 | #define IWL_POWER_RANGE_0 (0) | 256 | #define IWL_POWER_RANGE_0 (0) |
@@ -289,12 +289,6 @@ struct iwl3945_frame { | |||
289 | struct list_head list; | 289 | struct list_head list; |
290 | }; | 290 | }; |
291 | 291 | ||
292 | #define SEQ_TO_QUEUE(x) ((x >> 8) & 0xbf) | ||
293 | #define QUEUE_TO_SEQ(x) ((x & 0xbf) << 8) | ||
294 | #define SEQ_TO_INDEX(x) ((u8)(x & 0xff)) | ||
295 | #define INDEX_TO_SEQ(x) ((u8)(x & 0xff)) | ||
296 | #define SEQ_HUGE_FRAME (0x4000) | ||
297 | #define SEQ_RX_FRAME __constant_cpu_to_le16(0x8000) | ||
298 | #define SEQ_TO_SN(seq) (((seq) & IEEE80211_SCTL_SEQ) >> 4) | 292 | #define SEQ_TO_SN(seq) (((seq) & IEEE80211_SCTL_SEQ) >> 4) |
299 | #define SN_TO_SEQ(ssn) (((ssn) << 4) & IEEE80211_SCTL_SEQ) | 293 | #define SN_TO_SEQ(ssn) (((ssn) << 4) & IEEE80211_SCTL_SEQ) |
300 | #define MAX_SN ((IEEE80211_SCTL_SEQ) >> 4) | 294 | #define MAX_SN ((IEEE80211_SCTL_SEQ) >> 4) |
@@ -344,7 +338,7 @@ struct iwl3945_cmd { | |||
344 | u32 val32; | 338 | u32 val32; |
345 | struct iwl3945_bt_cmd bt; | 339 | struct iwl3945_bt_cmd bt; |
346 | struct iwl3945_rxon_time_cmd rxon_time; | 340 | struct iwl3945_rxon_time_cmd rxon_time; |
347 | struct iwl3945_powertable_cmd powertable; | 341 | struct iwl_powertable_cmd powertable; |
348 | struct iwl3945_qosparam_cmd qosparam; | 342 | struct iwl3945_qosparam_cmd qosparam; |
349 | struct iwl3945_tx_cmd tx; | 343 | struct iwl3945_tx_cmd tx; |
350 | struct iwl3945_tx_beacon_cmd tx_beacon; | 344 | struct iwl3945_tx_beacon_cmd tx_beacon; |
@@ -707,7 +701,7 @@ struct iwl3945_priv { | |||
707 | 701 | ||
708 | #ifdef CONFIG_IWL3945_SPECTRUM_MEASUREMENT | 702 | #ifdef CONFIG_IWL3945_SPECTRUM_MEASUREMENT |
709 | /* spectrum measurement report caching */ | 703 | /* spectrum measurement report caching */ |
710 | struct iwl3945_spectrum_notification measure_report; | 704 | struct iwl_spectrum_notification measure_report; |
711 | u8 measurement_status; | 705 | u8 measurement_status; |
712 | #endif | 706 | #endif |
713 | /* ucode beacon time */ | 707 | /* ucode beacon time */ |