mirror of
https://github.com/torvalds/linux.git
synced 2026-09-24 06:24:02 +02:00
wifi: iwlwifi: mld: move BIOS reading code to where it belongs
We have a dedicated function to fetch all the BIOS tables when the opmode starts, and yet we read a couple of tables directly from iwl_op_mode_mld_start, which is already a large function that does multiple things. Move the reading of the sgom, puncturing, and RFI enablement to the dedicated iwl_mld_get_bios_tables. Link: https://patch.msgid.link/20260717172958.b19a33e0b507.I73f6b5e6a81d0f411f12589ceb30afa655c0a16b@changeid Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
This commit is contained in:
parent
ac8227e35f
commit
a47ab1b9c0
|
|
@ -419,8 +419,6 @@ iwl_op_mode_mld_start(struct iwl_trans *trans, const struct iwl_rf_cfg *cfg,
|
|||
iwl_mld_construct_fw_runtime(mld, trans, fw, dbgfs_dir);
|
||||
|
||||
iwl_mld_get_bios_tables(mld);
|
||||
iwl_uefi_get_sgom_table(trans, &mld->fwrt);
|
||||
iwl_uefi_get_puncturing(&mld->fwrt);
|
||||
|
||||
iwl_mld_hw_set_regulatory(mld);
|
||||
|
||||
|
|
|
|||
|
|
@ -84,6 +84,9 @@ void iwl_mld_get_bios_tables(struct iwl_mld *mld)
|
|||
iwl_uefi_get_uneb_table(mld->trans, &mld->fwrt);
|
||||
|
||||
iwl_bios_get_phy_filters(&mld->fwrt);
|
||||
|
||||
iwl_uefi_get_sgom_table(mld->trans, &mld->fwrt);
|
||||
iwl_uefi_get_puncturing(&mld->fwrt);
|
||||
}
|
||||
|
||||
static int iwl_mld_geo_sar_init(struct iwl_mld *mld)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user