diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-commands.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-commands.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-commands.h b/drivers/net/wireless/iwlwifi/iwl-commands.h index 9b64a390564c..a093f5b83cb6 100644 --- a/drivers/net/wireless/iwlwifi/iwl-commands.h +++ b/drivers/net/wireless/iwlwifi/iwl-commands.h | |||
@@ -126,6 +126,7 @@ enum { | |||
126 | /* Miscellaneous commands */ | 126 | /* Miscellaneous commands */ |
127 | QUIET_NOTIFICATION = 0x96, /* not used */ | 127 | QUIET_NOTIFICATION = 0x96, /* not used */ |
128 | REPLY_TX_PWR_TABLE_CMD = 0x97, | 128 | REPLY_TX_PWR_TABLE_CMD = 0x97, |
129 | REPLY_TX_POWER_DBM_CMD = 0x98, | ||
129 | MEASURE_ABORT_NOTIFICATION = 0x99, /* not used */ | 130 | MEASURE_ABORT_NOTIFICATION = 0x99, /* not used */ |
130 | 131 | ||
131 | /* Bluetooth device coexistance config command */ | 132 | /* Bluetooth device coexistance config command */ |
@@ -339,6 +340,17 @@ struct iwl4965_tx_power_db { | |||
339 | struct tx_power_dual_stream power_tbl[POWER_TABLE_NUM_ENTRIES]; | 340 | struct tx_power_dual_stream power_tbl[POWER_TABLE_NUM_ENTRIES]; |
340 | } __attribute__ ((packed)); | 341 | } __attribute__ ((packed)); |
341 | 342 | ||
343 | /** | ||
344 | * Commad REPLY_TX_POWER_DBM_CMD = 0x98 | ||
345 | * struct iwl5000_tx_power_dbm_cmd | ||
346 | */ | ||
347 | #define IWL50_TX_POWER_AUTO 0x7f | ||
348 | struct iwl5000_tx_power_dbm_cmd { | ||
349 | s8 global_lmt; /*in half-dBm (e.g. 30 = 15 dBm) */ | ||
350 | u8 flags; | ||
351 | s8 srv_chan_lmt; /*in half-dBm (e.g. 30 = 15 dBm) */ | ||
352 | u8 reserved; | ||
353 | } __attribute__ ((packed)); | ||
342 | 354 | ||
343 | /****************************************************************************** | 355 | /****************************************************************************** |
344 | * (0a) | 356 | * (0a) |