mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 11:03:43 +02:00
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: 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
This commit is contained in:
parent
589bc6ec06
commit
0ac7a266c3
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user