wifi: iwlwifi: mvm: Don't set NO_HT40+/- flags on 6 GHz band
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>
Fri, 10 May 2024 14:06:38 +0000 (17:06 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 23 May 2024 08:50:48 +0000 (10:50 +0200)
commitd49c5be9f7fe4864f698c15bf332524f2be3ee69
tree397e2a495890ad79f968def3b22432c0c5e045f2
parentb79b56091d2456491f4471bea202453f9755a42d
wifi: iwlwifi: mvm: Don't set NO_HT40+/- flags on 6 GHz band

These flags are not needed on 6 GHz channels, and anyway they were set
incorrectly.
This in turn resulted in alternating channel flags, preventing reg domain
rules to be merged together, so cfg80211 couldn't even send them to the
user space, as the regulatory domain was too large.
Fix it.

Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
Reviewed-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240510170500.b0d51b2229f8.I092e21cde43320ffc2eff17f5748ff9c87c87fcf@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c