]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: restrict FW SMPS request
authorJohannes Berg <johannes.berg@intel.com>
Mon, 2 Aug 2021 14:28:20 +0000 (17:28 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Thu, 26 Aug 2021 20:33:22 +0000 (23:33 +0300)
commit5d042b84bedcbdd0c82f13ce8a5e31226e58b500
treee355aef2f0db4c7c26fd73ae211c9d1befa7f2f9
parenta97944bebd9a02ee755b21f2eab3963a4d1bf6b4
iwlwifi: mvm: restrict FW SMPS request

The firmware SMPS request should only be honoured if the
connection is currently with HE and on 160 MHz, so check
that and then potentially reapply any request if the BW
changes.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210802172232.0cdcac5660da.I9ee7956fd4f48399855d1f97728bc58b36caf112@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
drivers/net/wireless/intel/iwlwifi/mvm/ops.c