linux/drivers/net/wireless/intel/iwlwifi/fw
Golan Ben Ami 0433ae556e iwlwifi: don't send GEO_TX_POWER_LIMIT if no wgds table
The GEO_TX_POWER_LIMIT command was sent although
there is no wgds table, so the fw got wrong SAR values
from the driver.

Fix this by avoiding sending the command if no wgds
tables are available.

Signed-off-by: Golan Ben Ami <golan.ben.ami@intel.com>
Fixes: 39c1a9728f ("iwlwifi: refactor the SAR tables from mvm to acpi")
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Tested-By: Jonathan McDowell <noodles@earth.li>
Tested-by: Len Brown <len.brown@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/iwlwifi.20200318081237.46db40617cc6.Id5cf852ec8c5dbf20ba86bad7b165a0c828f8b2e@changeid
2020-03-23 18:38:03 +02:00
..
api iwlwifi: mvm: Update BEACON_TEMPLATE_CMD firmware API 2020-01-04 12:41:55 +02:00
acpi.c iwlwifi: don't send GEO_TX_POWER_LIMIT if no wgds table 2020-03-23 18:38:03 +02:00
acpi.h iwlwifi: don't send GEO_TX_POWER_LIMIT if no wgds table 2020-03-23 18:38:03 +02:00
dbg.c iwlwifi: dbg: don't abort if sending DBGC_SUSPEND_RESUME fails 2020-03-06 15:26:32 +02:00
dbg.h iwlwifi: dbg: don't abort if sending DBGC_SUSPEND_RESUME fails 2020-03-06 15:26:32 +02:00
debugfs.c iwlwifi: yoyo: don't allow changing the domain via debugfs 2020-01-04 12:41:55 +02:00
debugfs.h iwlwifi: fw: no need to check return value of debugfs_create functions 2019-02-20 20:47:56 +02:00
error-dump.h iwlwifi: dbg_ini: support FW response/notification region type 2019-10-25 10:09:51 +03:00
file.h wireless-drivers-next patches for 5.5 2019-11-05 18:36:35 -08:00
img.h iwlwifi: incorporate firmware filename into version 2020-01-04 12:46:14 +02:00
init.c iwlwifi: dbg_ini: remove periodic trigger 2019-09-06 15:52:07 +03:00
notif-wait.c iwlwifi: remove all occurrences of the FSF address paragraph 2018-08-31 11:38:33 +03:00
notif-wait.h iwlwifi: remove all occurrences of the FSF address paragraph 2018-08-31 11:38:33 +03:00
paging.c iwlwifi: add a pointer to the trans_cfg directly in trans 2019-09-06 15:52:00 +03:00
runtime.h iwlwifi: yoyo: check for the domain on all TLV types during init 2020-01-04 12:44:56 +02:00
smem.c iwlwifi: add a pointer to the trans_cfg directly in trans 2019-09-06 15:52:00 +03:00