]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: refactor SAR init to prepare for dynamic SAR
authorHaim Dreyfuss <haim.dreyfuss@intel.com>
Wed, 28 Dec 2016 13:58:22 +0000 (15:58 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 19 Apr 2017 19:20:51 +0000 (22:20 +0300)
commitdff250696b94df191e07bbeac880e5bf2b69a3ce
treec47a4fe043801cc10a597b71ce96a85c59ccf675
parent13e70eeaf4be94e32514e86b9d22b2c2ecad0dfa
iwlwifi: mvm: refactor SAR init to prepare for dynamic SAR

We are adding support for dynamic TX power tables for SAR (specific
absorption rate) compliance.  Currently, we only support a single
(static) TX power table, which is read from ACPI, and use it
statically.

To prepare for more tables that can be switched dynamically, refactor
the SAR init flow to allow reusage and add the current static table as
a single entry in an array of tables.

Signed-off-by: Haim Dreyfuss <haim.dreyfuss@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/fw.c
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h