aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-4965.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-4965.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-4965.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-4965.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c
index cc141f8ba616..237d3b24dd20 100644
--- a/drivers/net/wireless/iwlwifi/iwl-4965.c
+++ b/drivers/net/wireless/iwlwifi/iwl-4965.c
@@ -1794,7 +1794,6 @@ int iwl4965_hw_set_hw_setting(struct iwl4965_priv *priv)
1794 memset(priv->hw_setting.shared_virt, 0, sizeof(struct iwl4965_shared)); 1794 memset(priv->hw_setting.shared_virt, 0, sizeof(struct iwl4965_shared));
1795 1795
1796 priv->hw_setting.max_txq_num = iwl4965_param_queues_num; 1796 priv->hw_setting.max_txq_num = iwl4965_param_queues_num;
1797 priv->hw_setting.ac_queue_count = AC_NUM;
1798 priv->hw_setting.tx_cmd_len = sizeof(struct iwl4965_tx_cmd); 1797 priv->hw_setting.tx_cmd_len = sizeof(struct iwl4965_tx_cmd);
1799 priv->hw_setting.max_rxq_size = RX_QUEUE_SIZE; 1798 priv->hw_setting.max_rxq_size = RX_QUEUE_SIZE;
1800 priv->hw_setting.max_rxq_log = RX_QUEUE_SIZE_LOG; 1799 priv->hw_setting.max_rxq_log = RX_QUEUE_SIZE_LOG;
@@ -1805,6 +1804,9 @@ int iwl4965_hw_set_hw_setting(struct iwl4965_priv *priv)
1805 priv->hw_setting.max_pkt_size = priv->hw_setting.rx_buf_size - 256; 1804 priv->hw_setting.max_pkt_size = priv->hw_setting.rx_buf_size - 256;
1806 priv->hw_setting.max_stations = IWL4965_STATION_COUNT; 1805 priv->hw_setting.max_stations = IWL4965_STATION_COUNT;
1807 priv->hw_setting.bcast_sta_id = IWL4965_BROADCAST_ID; 1806 priv->hw_setting.bcast_sta_id = IWL4965_BROADCAST_ID;
1807
1808 priv->hw_setting.tx_ant_num = 2;
1809
1808 return 0; 1810 return 0;
1809} 1811}
1810 1812