]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
wifi: iwlwifi: cfg: remove 6 GHz from ht40_bands
authorJohannes Berg <johannes.berg@intel.com>
Tue, 6 May 2025 19:40:59 +0000 (22:40 +0300)
committerMiri Korenblit <miriam.rachel.korenblit@intel.com>
Fri, 9 May 2025 12:36:56 +0000 (15:36 +0300)
Since there's no HT on 6 GHz, only HE, the HT capabilities
are never initialized, and so the ht40_bands value is never
checked for the 6 GHz band. Remove the misleading value.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Link: https://patch.msgid.link/20250506194102.3407967-13-miriam.rachel.korenblit@intel.com
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
drivers/net/wireless/intel/iwlwifi/cfg/22000.c
drivers/net/wireless/intel/iwlwifi/cfg/bz.c

index 21d5a02933a68f74f9d78e26b5284c1684d85c13..b62c3d1e9b3c7e588ad827e209b291e223c58f25 100644 (file)
@@ -64,8 +64,7 @@ static const struct iwl_base_params iwl_22000_base_params = {
 const struct iwl_ht_params iwl_22000_ht_params = {
        .stbc = true,
        .ldpc = true,
-       .ht40_bands = BIT(NL80211_BAND_2GHZ) | BIT(NL80211_BAND_5GHZ) |
-                     BIT(NL80211_BAND_6GHZ),
+       .ht40_bands = BIT(NL80211_BAND_2GHZ) | BIT(NL80211_BAND_5GHZ),
 };
 
 #define IWL_DEVICE_22000_COMMON                                                \
index f3144ad251f39b21ec8ae9eaafcf3e5c712260d1..4840bb25448b1f9116c401928eff5e80caf6230c 100644 (file)
@@ -58,8 +58,7 @@ static const struct iwl_base_params iwl_bz_base_params = {
 const struct iwl_ht_params iwl_bz_ht_params = {
        .stbc = true,
        .ldpc = true,
-       .ht40_bands = BIT(NL80211_BAND_2GHZ) | BIT(NL80211_BAND_5GHZ) |
-                     BIT(NL80211_BAND_6GHZ),
+       .ht40_bands = BIT(NL80211_BAND_2GHZ) | BIT(NL80211_BAND_5GHZ),
 };
 
 #define IWL_DEVICE_BZ_COMMON                                           \