]> 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)
commit082c562e75bd14454abdd18ac974d8e1628cf07e
tree6489df1fe0a5aa6d2071c8cec8e6f47d0f19515f
parent87c69055fdc0355ba3e67b7c53f3e47467c0abed
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