Commit 0ac7a266 authored by Johannes Berg's avatar Johannes Berg Committed by Miri Korenblit
Browse files

wifi: iwlwifi: mvm: remove regulatory puncturing setup



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: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarMiri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20250710212632.b2a28a99725b.I72ba276cb705c02cea8f68e27ef3935d5120cfee@changeid
parent 589bc6ec
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -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:
+0 −1
Original line number Diff line number Diff line
@@ -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 */
+0 −2
Original line number Diff line number Diff line
@@ -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