aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2007-10-25 05:15:27 -0400
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:03:11 -0500
commit6994633357d3406dcd14e11d6ee61073b2251b72 (patch)
treebc000261296c13dff1b4856dee2ae7dd512c06e8 /drivers
parentf1f1f5c730a3598b36989c63d387d9cab63161c7 (diff)
iwlwifi: remove cck_flag from iwl_driver_hw_info
This patch remove cck_flag from iwl_driver_hw_info, this flag is unused after spliting the iwl-base.c 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')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-3945.c1
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-4965.c2
-rw-r--r--drivers/net/wireless/iwlwifi/iwl3945-base.c6
-rw-r--r--drivers/net/wireless/iwlwifi/iwlwifi.h3
4 files changed, 5 insertions, 7 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945.c b/drivers/net/wireless/iwlwifi/iwl-3945.c
index b8d43436d35a..a80f620850d9 100644
--- a/drivers/net/wireless/iwlwifi/iwl-3945.c
+++ b/drivers/net/wireless/iwlwifi/iwl-3945.c
@@ -2240,7 +2240,6 @@ int iwl_hw_set_hw_setting(struct iwl_priv *priv)
2240 priv->hw_setting.tx_cmd_len = sizeof(struct iwl_tx_cmd); 2240 priv->hw_setting.tx_cmd_len = sizeof(struct iwl_tx_cmd);
2241 priv->hw_setting.max_rxq_size = RX_QUEUE_SIZE; 2241 priv->hw_setting.max_rxq_size = RX_QUEUE_SIZE;
2242 priv->hw_setting.max_rxq_log = RX_QUEUE_SIZE_LOG; 2242 priv->hw_setting.max_rxq_log = RX_QUEUE_SIZE_LOG;
2243 priv->hw_setting.cck_flag = 0;
2244 priv->hw_setting.max_stations = IWL3945_STATION_COUNT; 2243 priv->hw_setting.max_stations = IWL3945_STATION_COUNT;
2245 priv->hw_setting.bcast_sta_id = IWL3945_BROADCAST_ID; 2244 priv->hw_setting.bcast_sta_id = IWL3945_BROADCAST_ID;
2246 return 0; 2245 return 0;
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c
index d7e181f9ce80..67730e09729b 100644
--- a/drivers/net/wireless/iwlwifi/iwl-4965.c
+++ b/drivers/net/wireless/iwlwifi/iwl-4965.c
@@ -1721,8 +1721,6 @@ int iwl_hw_set_hw_setting(struct iwl_priv *priv)
1721 1721
1722 priv->hw_setting.max_txq_num = iwl_param_queues_num; 1722 priv->hw_setting.max_txq_num = iwl_param_queues_num;
1723 priv->hw_setting.ac_queue_count = AC_NUM; 1723 priv->hw_setting.ac_queue_count = AC_NUM;
1724
1725 priv->hw_setting.cck_flag = RATE_MCS_CCK_MSK;
1726 priv->hw_setting.tx_cmd_len = sizeof(struct iwl_tx_cmd); 1724 priv->hw_setting.tx_cmd_len = sizeof(struct iwl_tx_cmd);
1727 priv->hw_setting.max_rxq_size = RX_QUEUE_SIZE; 1725 priv->hw_setting.max_rxq_size = RX_QUEUE_SIZE;
1728 priv->hw_setting.max_rxq_log = RX_QUEUE_SIZE_LOG; 1726 priv->hw_setting.max_rxq_log = RX_QUEUE_SIZE_LOG;
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c
index f6022649a6b7..125d99e9476e 100644
--- a/drivers/net/wireless/iwlwifi/iwl3945-base.c
+++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c
@@ -506,8 +506,10 @@ u8 iwl_add_station(struct iwl_priv *priv, const u8 *addr, int is_ap, u8 flags)
506 station->sta.sta.sta_id = index; 506 station->sta.sta.sta_id = index;
507 station->sta.station_flags = 0; 507 station->sta.station_flags = 0;
508 508
509 rate = (priv->phymode == MODE_IEEE80211A) ? IWL_RATE_6M_PLCP : 509 if (priv->phymode == MODE_IEEE80211A)
510 IWL_RATE_1M_PLCP | priv->hw_setting.cck_flag; 510 rate = IWL_RATE_6M_PLCP;
511 else
512 rate = IWL_RATE_1M_PLCP;
511 513
512 /* Turn on both antennas for the station... */ 514 /* Turn on both antennas for the station... */
513 station->sta.rate_n_flags = 515 station->sta.rate_n_flags =
diff --git a/drivers/net/wireless/iwlwifi/iwlwifi.h b/drivers/net/wireless/iwlwifi/iwlwifi.h
index bcff696937f1..c5c9c5d7dce5 100644
--- a/drivers/net/wireless/iwlwifi/iwlwifi.h
+++ b/drivers/net/wireless/iwlwifi/iwlwifi.h
@@ -527,11 +527,10 @@ struct iwl_ibss_seq {
527struct iwl_driver_hw_info { 527struct iwl_driver_hw_info {
528 u16 max_txq_num; 528 u16 max_txq_num;
529 u16 ac_queue_count; 529 u16 ac_queue_count;
530 u32 rx_buffer_size;
531 u16 tx_cmd_len; 530 u16 tx_cmd_len;
532 u16 max_rxq_size; 531 u16 max_rxq_size;
532 u32 rx_buffer_size;
533 u16 max_rxq_log; 533 u16 max_rxq_log;
534 u32 cck_flag;
535 u8 max_stations; 534 u8 max_stations;
536 u8 bcast_sta_id; 535 u8 bcast_sta_id;
537 void *shared_virt; 536 void *shared_virt;