iwlwifi: mvm: disable RX-diversity in powersave
authorJohannes Berg <johannes.berg@intel.com>
Sun, 17 Oct 2021 08:43:40 +0000 (11:43 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Nov 2021 10:48:31 +0000 (11:48 +0100)
commitb430a4961081d46a5494ccf775ab6a37f1e64f37
tree60351b7ab4d9f2588ffaad4fb3724a7b0dbaae85
parent28502eb0ea28f36fa2f0c74c8ca145c2c55f0519
iwlwifi: mvm: disable RX-diversity in powersave

[ Upstream commit e5322b9ab5f63536c41301150b7ce64605ce52cc ]

Just like we have default SMPS mode as dynamic in powersave,
we should not enable RX-diversity in powersave, to reduce
power consumption when connected to a non-MIMO AP.

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.20211017113927.fc896bc5cdaa.I1d11da71b8a5cbe921a37058d5f578f1b14a2023@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/intel/iwlwifi/mvm/utils.c