diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-commands.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-commands.h | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-commands.h b/drivers/net/wireless/iwlwifi/iwl-commands.h index 058e76415042..6613d323262a 100644 --- a/drivers/net/wireless/iwlwifi/iwl-commands.h +++ b/drivers/net/wireless/iwlwifi/iwl-commands.h | |||
@@ -281,16 +281,7 @@ struct iwl_cmd_header { | |||
281 | #define RATE_MCS_ANT_C_MSK 0x10000 | 281 | #define RATE_MCS_ANT_C_MSK 0x10000 |
282 | #define RATE_MCS_ANT_ABC_MSK 0x1C000 | 282 | #define RATE_MCS_ANT_ABC_MSK 0x1C000 |
283 | 283 | ||
284 | 284 | #define RATE_MCS_ANT_INIT_IND 1 | |
285 | /** | ||
286 | * struct iwl4965_tx_power - txpower format used in REPLY_SCAN_CMD | ||
287 | * | ||
288 | * Scan uses only one transmitter, so only one analog/dsp gain pair is needed. | ||
289 | */ | ||
290 | struct iwl4965_tx_power { | ||
291 | u8 tx_gain; /* gain for analog radio */ | ||
292 | u8 dsp_atten; /* gain for DSP */ | ||
293 | } __attribute__ ((packed)); | ||
294 | 285 | ||
295 | #define POWER_TABLE_NUM_ENTRIES 33 | 286 | #define POWER_TABLE_NUM_ENTRIES 33 |
296 | #define POWER_TABLE_NUM_HT_OFDM_ENTRIES 32 | 287 | #define POWER_TABLE_NUM_HT_OFDM_ENTRIES 32 |
@@ -2128,7 +2119,8 @@ struct iwl_scan_channel { | |||
2128 | */ | 2119 | */ |
2129 | u8 type; | 2120 | u8 type; |
2130 | u8 channel; /* band is selected by iwl4965_scan_cmd "flags" field */ | 2121 | u8 channel; /* band is selected by iwl4965_scan_cmd "flags" field */ |
2131 | struct iwl4965_tx_power tpc; | 2122 | u8 tx_gain; /* gain for analog radio */ |
2123 | u8 dsp_atten; /* gain for DSP */ | ||
2132 | __le16 active_dwell; /* in 1024-uSec TU (time units), typ 5-50 */ | 2124 | __le16 active_dwell; /* in 1024-uSec TU (time units), typ 5-50 */ |
2133 | __le16 passive_dwell; /* in 1024-uSec TU (time units), typ 20-500 */ | 2125 | __le16 passive_dwell; /* in 1024-uSec TU (time units), typ 20-500 */ |
2134 | } __attribute__ ((packed)); | 2126 | } __attribute__ ((packed)); |