OSDN Git Service

iwlwifi: acpi: prepare SAR profile selection code for multiple sizes
authorLuca Coelho <luciano.coelho@intel.com>
Mon, 28 Sep 2020 09:23:11 +0000 (12:23 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Thu, 1 Oct 2020 18:59:33 +0000 (21:59 +0300)
commit9c08cef87048bcec5d37579f6ba9b166196fc661
treecd8ea73b09ac4ad56b4465acdf0bedd6322570ba
parent216cdfb5225fba6632778b6116f192b60fe795ff
iwlwifi: acpi: prepare SAR profile selection code for multiple sizes

The SAR profile tables will be larger in the next version, so prepare
the iwl_sar_select_profile() function to handle multiple sizes and
update the relevant callers.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20200928121852.da5a95917df4.I84d44c9dd0b858c403a81ca621b5a7b615a3aa7e@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/acpi.c
drivers/net/wireless/intel/iwlwifi/fw/acpi.h
drivers/net/wireless/intel/iwlwifi/fw/api/power.h
drivers/net/wireless/intel/iwlwifi/mvm/fw.c