wifi: iwlwifi: mvm: set HE PHY bandwidth according to band
authorJohannes Berg <johannes.berg@intel.com>
Tue, 22 Nov 2022 20:10:37 +0000 (22:10 +0200)
committerGregory Greenman <gregory.greenman@intel.com>
Mon, 28 Nov 2022 15:53:22 +0000 (17:53 +0200)
commit3895f1609c2e4e274a9a02b412e318a3b11e8032
tree9b1964a1cee1c09912ce120bda31792f78f67adc
parentcb63eb438ee9264b086ec7e0b2f01c56983ebe61
wifi: iwlwifi: mvm: set HE PHY bandwidth according to band

The bits are reserved on the opposite bands, so we shouldn't
always send them, only the 2G bit on 2.4 GHz and the 5G bits
on 5/6GHz. Fix that.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Link: https://lore.kernel.org/r/20221122220713.0a075d00c796.Ib4cac0b7f90dfadebceceb1e07c8cdfd7a4138f6@changeid
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c