aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-commands.h
diff options
context:
space:
mode:
authorGregory Greenman <gregory.greenman@intel.com>2008-06-30 05:23:01 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-06-30 17:37:37 -0400
commit853554accce19d16b03476676bdcb1ccdd44caae (patch)
tree4c28f6c6697763b32cd1bde568b4dece20feb8a5 /drivers/net/wireless/iwlwifi/iwl-commands.h
parentbc19d6e0b74ef03a3baf035412c95192b54dfc6f (diff)
iwlwifi: configure uCode to use open loop tx power algorithm
This patch configures uCode to use open loop tx power algorithm via TX_POWER_DBM (0x98) host command. Signed-off-by: Gregory Greenman <gregory.greenman@intel.com> Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-commands.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-commands.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-commands.h b/drivers/net/wireless/iwlwifi/iwl-commands.h
index 920dfc1b2db2..6957b2208240 100644
--- a/drivers/net/wireless/iwlwifi/iwl-commands.h
+++ b/drivers/net/wireless/iwlwifi/iwl-commands.h
@@ -336,6 +336,8 @@ struct iwl4965_tx_power_db {
336 * struct iwl5000_tx_power_dbm_cmd 336 * struct iwl5000_tx_power_dbm_cmd
337 */ 337 */
338#define IWL50_TX_POWER_AUTO 0x7f 338#define IWL50_TX_POWER_AUTO 0x7f
339#define IWL50_TX_POWER_NO_CLOSED (0x1 << 6)
340
339struct iwl5000_tx_power_dbm_cmd { 341struct iwl5000_tx_power_dbm_cmd {
340 s8 global_lmt; /*in half-dBm (e.g. 30 = 15 dBm) */ 342 s8 global_lmt; /*in half-dBm (e.g. 30 = 15 dBm) */
341 u8 flags; 343 u8 flags;