]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: always init rs with 20mhz bandwidth rates
authorNaftali Goldstein <naftali.goldstein@intel.com>
Thu, 28 Dec 2017 13:53:04 +0000 (15:53 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 16 Feb 2018 15:04:05 +0000 (17:04 +0200)
commitfaf2152408da7d034da1365863fda8965e9622c5
tree6489df1fe0a5aa6d2071c8cec8e6f47d0f19515f
parent038a0f75bf7ea5434f42e3ddcfb224fd3b0c826c
iwlwifi: mvm: always init rs with 20mhz bandwidth rates

In AP mode, when a new station associates, rs is initialized immediately
upon association completion, before the phy context is updated with the
association parameters, so the sta bandwidth might be wider than the phy
context allows.
To avoid this issue, always initialize rs with 20mhz bandwidth rate, and
after authorization, when the phy context is already up-to-date, re-init
rs with the correct bw.

Signed-off-by: Naftali Goldstein <naftali.goldstein@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
drivers/net/wireless/intel/iwlwifi/mvm/rs.c