]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: convert flat SAR profile table to a struct version
authorLuca Coelho <luciano.coelho@intel.com>
Thu, 5 Aug 2021 10:19:33 +0000 (13:19 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Thu, 26 Aug 2021 20:35:18 +0000 (23:35 +0300)
commitffb858418f004487ab5a485269e0ba5f34a5e65c
treea3fa5d167919f35fa2632e84049e4f7494ef854d
parentf0ba51eae3dd94d2bd60fa742c97dbd472f4e688
iwlwifi: convert flat SAR profile table to a struct version

The SAR profiles have been stored in single-dimension arrays and the
access has been done via a single index.  We will soon need to support
different revisions of this table, which will make the flat array even
harder to handle.  To prepare for that, convert the single-dimension
array to a struct with substructures.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210805130823.01530088097f.I903c236a574c7e4c0fc4db101fc39c0f5415ca43@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