aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-3945.c
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2008-02-13 14:32:31 -0500
committerJohn W. Linville <linville@tuxdriver.com>2008-02-29 15:37:10 -0500
commit3e82a822c7c8ea5477062ec8885d7b90696fe73f (patch)
treea6960aff65d9f7cae83ec2a0a3850efbb7be9b76 /drivers/net/wireless/iwlwifi/iwl-3945.c
parent5c1b09581ba91d156ec907f5cbad07d33bf9e2ed (diff)
iwlwifi: Add tx_ant_num hw setting variable
Added tx_ant_num variable into hw_setting This will be used for scanning TX antenna toggling On the way removed ac_queue_num unused Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-3945.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-3945.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945.c b/drivers/net/wireless/iwlwifi/iwl-3945.c
index 50d927bb2170..82d282730b75 100644
--- a/drivers/net/wireless/iwlwifi/iwl-3945.c
+++ b/drivers/net/wireless/iwlwifi/iwl-3945.c
@@ -2300,7 +2300,6 @@ int iwl3945_hw_set_hw_setting(struct iwl3945_priv *priv)
2300 return -ENOMEM; 2300 return -ENOMEM;
2301 } 2301 }
2302 2302
2303 priv->hw_setting.ac_queue_count = AC_NUM;
2304 priv->hw_setting.rx_buf_size = IWL_RX_BUF_SIZE; 2303 priv->hw_setting.rx_buf_size = IWL_RX_BUF_SIZE;
2305 priv->hw_setting.max_pkt_size = 2342; 2304 priv->hw_setting.max_pkt_size = 2342;
2306 priv->hw_setting.tx_cmd_len = sizeof(struct iwl3945_tx_cmd); 2305 priv->hw_setting.tx_cmd_len = sizeof(struct iwl3945_tx_cmd);
@@ -2308,6 +2307,8 @@ int iwl3945_hw_set_hw_setting(struct iwl3945_priv *priv)
2308 priv->hw_setting.max_rxq_log = RX_QUEUE_SIZE_LOG; 2307 priv->hw_setting.max_rxq_log = RX_QUEUE_SIZE_LOG;
2309 priv->hw_setting.max_stations = IWL3945_STATION_COUNT; 2308 priv->hw_setting.max_stations = IWL3945_STATION_COUNT;
2310 priv->hw_setting.bcast_sta_id = IWL3945_BROADCAST_ID; 2309 priv->hw_setting.bcast_sta_id = IWL3945_BROADCAST_ID;
2310
2311 priv->hw_setting.tx_ant_num = 2;
2311 return 0; 2312 return 0;
2312} 2313}
2313 2314