diff options
author | Gregory Greenman <gregory.greenman@intel.com> | 2008-06-30 05:23:01 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-06-30 17:37:37 -0400 |
commit | 853554accce19d16b03476676bdcb1ccdd44caae (patch) | |
tree | 4c28f6c6697763b32cd1bde568b4dece20feb8a5 /drivers/net/wireless/iwlwifi/iwl-5000.c | |
parent | bc19d6e0b74ef03a3baf035412c95192b54dfc6f (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-5000.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-5000.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-5000.c b/drivers/net/wireless/iwlwifi/iwl-5000.c index 438c3812c390..2b48f1b19140 100644 --- a/drivers/net/wireless/iwlwifi/iwl-5000.c +++ b/drivers/net/wireless/iwlwifi/iwl-5000.c | |||
@@ -1426,7 +1426,7 @@ static int iwl5000_send_tx_power(struct iwl_priv *priv) | |||
1426 | 1426 | ||
1427 | /* half dBm need to multiply */ | 1427 | /* half dBm need to multiply */ |
1428 | tx_power_cmd.global_lmt = (s8)(2 * priv->tx_power_user_lmt); | 1428 | tx_power_cmd.global_lmt = (s8)(2 * priv->tx_power_user_lmt); |
1429 | tx_power_cmd.flags = 0; | 1429 | tx_power_cmd.flags = IWL50_TX_POWER_NO_CLOSED; |
1430 | tx_power_cmd.srv_chan_lmt = IWL50_TX_POWER_AUTO; | 1430 | tx_power_cmd.srv_chan_lmt = IWL50_TX_POWER_AUTO; |
1431 | return iwl_send_cmd_pdu_async(priv, REPLY_TX_POWER_DBM_CMD, | 1431 | return iwl_send_cmd_pdu_async(priv, REPLY_TX_POWER_DBM_CMD, |
1432 | sizeof(tx_power_cmd), &tx_power_cmd, | 1432 | sizeof(tx_power_cmd), &tx_power_cmd, |