summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-agn.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-03-08 09:37:53 +0100
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2012-04-23 14:20:13 -0700
commit9543c5f3d6f8a1eaf770ab097d3f1c13f96ca544 (patch)
treecede8573315f626de2380c48a43955f2cee6d56f /drivers/net/wireless/iwlwifi/iwl-agn.h
parent647ad135e3cbad19a7a963922750a4a5cd2e9e8f (diff)
downloadlinux-9543c5f3d6f8a1eaf770ab097d3f1c13f96ca544.tar.gz
linux-9543c5f3d6f8a1eaf770ab097d3f1c13f96ca544.tar.bz2
linux-9543c5f3d6f8a1eaf770ab097d3f1c13f96ca544.zip
iwlwifi: properly set basic rates
This fixes a long-standing bug: iwlwifi always assumes that the CCK ACK rates are 1 and 2 MBps and the OFDM ACK rates are 6, 12 and 24 MBps. Fix this problem by using the basic rates the AP (or in AP case hostapd) told us to use and add the necessary mandatory rates to the mix. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.h b/drivers/net/wireless/iwlwifi/iwl-agn.h
index 3d6f3e2ded65..bd467c0c519f 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn.h
+++ b/drivers/net/wireless/iwlwifi/iwl-agn.h
@@ -154,7 +154,6 @@ void iwl_set_flags_for_band(struct iwl_priv *priv,
struct iwl_rxon_context *ctx,
enum ieee80211_band band,
struct ieee80211_vif *vif);
-void iwl_set_rate(struct iwl_priv *priv);
/* uCode */
int iwl_send_bt_env(struct iwl_priv *priv, u8 action, u8 type);