aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/mvm/ops.c
diff options
context:
space:
mode:
authorMiri Korenblit <[email protected]>2024-01-31 08:24:38 +0000
committerJohannes Berg <[email protected]>2024-02-02 13:15:14 +0000
commitc0a3dfc1ce955732ae8cd301a052f2277aa55436 (patch)
tree4d5e5078ede79a24a53c2381582a976478acd2bb /drivers/net/wireless/intel/iwlwifi/mvm/ops.c
parentwifi: iwlwifi: prepare for reading SAR tables from UEFI (diff)
downloadkernel-c0a3dfc1ce955732ae8cd301a052f2277aa55436.tar.gz
kernel-c0a3dfc1ce955732ae8cd301a052f2277aa55436.zip
wifi: iwlwifi: cleanup sending PER_CHAIN_LIMIT_OFFSET_CMD
iwl_geo_tx_power_profiles_cmd::table_revision indicates whether to use South Korea scheme or not. We use South Korea scheme if the revision of WGDS table is 1. We used to read the WGDS table from ACPI inside iwl_sar_geo_fill_table(), so we had to set table_revision only after the call to it. This added an extra if...else for each cmd version. But it has been a while since we moved the BIOS tables reading to INIT stage, and iwl_sar_geo_fill_table() is now only copying the previously stored table to the cmd structure. Set the table_revision before the call to iwl_sar_geo_fill_table() and avoid that extra if...else. Signed-off-by: Miri Korenblit <[email protected]> Reviewed-by: Gregory Greenman <[email protected]> Link: https://msgid.link/20240131091413.17a2384d4535.I306570874f1da0c6345066ebbf74a04b6c8aeb37@changeid Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/ops.c')
0 files changed, 0 insertions, 0 deletions