wifi: iwlwifi: mvm: advertise 320 MHz in 6 GHz only conditionally
authorJohannes Berg <johannes.berg@intel.com>
Tue, 22 Nov 2022 20:10:38 +0000 (22:10 +0200)
committerGregory Greenman <gregory.greenman@intel.com>
Mon, 28 Nov 2022 15:53:27 +0000 (17:53 +0200)
commit35ea5f619480e81efb652c8e1cab5fd1a3964ae3
treeaee29899ff1d8e7821f96a693db328799bca260e
parent3895f1609c2e4e274a9a02b412e318a3b11e8032
wifi: iwlwifi: mvm: advertise 320 MHz in 6 GHz only conditionally

We can't have it in AP mode unless for debug, since we don't have
160 MHz in HE PHY capabilities, and also set it only in 6 GHz even
if (unlike in HE) it's always defined.

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