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)
commit81870d138dfe9450d99411113c57258449f250b3
treea3fa5d167919f35fa2632e84049e4f7494ef854d
parent248e7e2a1d8d1140f0d5cc507812987c33c7b020
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