]> 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)
commit1c703b9c900235ade2ef60af567672937ce7e0d4
treec47a4fe043801cc10a597b71ce96a85c59ccf675
parentaf05dbc3a8afc37c8deeeb4aa7acc0a4db5b9b8a
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