]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
wifi: iwlwifi: mvm: remove regulatory puncturing setup
authorJohannes Berg <johannes.berg@intel.com>
Thu, 10 Jul 2025 18:28:21 +0000 (21:28 +0300)
committerMiri Korenblit <miriam.rachel.korenblit@intel.com>
Fri, 11 Jul 2025 15:28:30 +0000 (18:28 +0300)
We don't have puncturing before EHT, and EHT devices aren't
supported in iwlmvm, so remove the regulatory puncturing
setup code.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20250710212632.b2a28a99725b.I72ba276cb705c02cea8f68e27ef3935d5120cfee@changeid
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h
drivers/net/wireless/intel/iwlwifi/mvm/ops.c

index b28c21c20371a213f2ac94a3ce29238ed8bbc478..c16946950a8a3e4a3d3bfe03e1aae360d4f6c985 100644 (file)
@@ -165,12 +165,6 @@ struct ieee80211_regdomain *iwl_mvm_get_regdomain(struct wiphy *wiphy,
        mvm->lar_regdom_set = true;
        mvm->mcc_src = src_id;
 
-       if (!iwl_puncturing_is_allowed_in_bios(mvm->bios_enable_puncturing,
-                                              le16_to_cpu(resp->mcc)))
-               ieee80211_hw_set(mvm->hw, DISALLOW_PUNCTURING);
-       else
-               __clear_bit(IEEE80211_HW_DISALLOW_PUNCTURING, mvm->hw->flags);
-
        iwl_mei_set_country_code(__le16_to_cpu(resp->mcc));
 
 out:
index f0d459766365e6cf9d39700f0784388c36988b55..cf6177b4326239288cebacfe8945dcb728221df7 100644 (file)
@@ -1372,7 +1372,6 @@ struct iwl_mvm {
        struct iwl_mvm_acs_survey *acs_survey;
 
        bool statistics_clear;
-       u32 bios_enable_puncturing;
 };
 
 /* Extract MVM priv from op_mode and _hw */
index 1c05a3d8e4245f80868e1391faa187d40d21d8c8..7dfae8b1a43e2a28ae5d43346da1eedf5a90e48a 100644 (file)
@@ -1397,8 +1397,6 @@ iwl_op_mode_mvm_start(struct iwl_trans *trans, const struct iwl_rf_cfg *cfg,
                }
        }
 
-       mvm->bios_enable_puncturing = iwl_uefi_get_puncturing(&mvm->fwrt);
-
        if (iwl_mvm_has_new_tx_api(mvm)) {
                /*
                 * If we have the new TX/queue allocation API initialize them