]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: properly set basic rates
authorJohannes Berg <johannes.berg@intel.com>
Thu, 8 Mar 2012 08:37:53 +0000 (09:37 +0100)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Mon, 23 Apr 2012 21:20:13 +0000 (14:20 -0700)
commitbb82efa384103e1c1dce07b5eaaf99a2411f42d5
treecede8573315f626de2380c48a43955f2cee6d56f
parent0136a07d33d388730efa01f7a4bb255f46a08f94
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>
drivers/net/wireless/iwlwifi/iwl-agn-rs.h
drivers/net/wireless/iwlwifi/iwl-agn-rxon.c
drivers/net/wireless/iwlwifi/iwl-agn.h
drivers/net/wireless/iwlwifi/iwl-mac80211.c