iwlwifi: convert flat GEO profile table to a struct version
authorLuca Coelho <luciano.coelho@intel.com>
Thu, 5 Aug 2021 11:21:51 +0000 (14:21 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Thu, 26 Aug 2021 20:36:09 +0000 (23:36 +0300)
commit5bf7a9edddbb9d7c7deae58663aedd4dbc731a9e
treea31a97a522e199bc2dc684e6b8f3c8c79b0f7d19
parentde95c9288ae15b53be63e52097fe0d5b374e6a13
iwlwifi: convert flat GEO profile table to a struct version

The GEO 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.20210805141826.56f3506411a2.I600ed3708d19f2263a5a8d143f6711d08499bbb0@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/mvm/debugfs.c