]> 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)
commit68bd983fe2b2758094dac0fc454a6c183c51c569
treecede8573315f626de2380c48a43955f2cee6d56f
parentd5b5c355e9dab0832d40d22ceb9d0110249245f2
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