diff options
author | Johannes Berg <johannes.berg@intel.com> | 2021-10-24 17:20:31 +0200 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2021-10-28 11:04:11 +0200 |
commit | 4d4cbb9b8e56394d18ec3be3744ae84e9797a865 (patch) | |
tree | 255620e30fb7a28d3f988e44c3dd817471271e05 /kernel | |
parent | iwlwifi: mvm: update RFI TLV (diff) | |
download | linux-4d4cbb9b8e56394d18ec3be3744ae84e9797a865.tar.xz linux-4d4cbb9b8e56394d18ec3be3744ae84e9797a865.zip |
iwlwifi: mvm: d3: use internal data representation
Trying to convert from one firmware data representation to the
next version is getting tedious and error-prone, and doesn't
lend itself well to new APIs being added. Additionally, the
version 11 of the API as defined in the driver doesn't even
exist in the firmware.
Instead of converting to a newer firmware version of the data,
convert to an internal representation. This takes a bit more
space because the TKIP/AES counters etc. must be kept twice,
their representation is different and we don't know which of
the ones it is until later, but this is just a temporary use
of memory, and the code is clearer this way.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20211024181719.9e71630627f3.Iad975e15338844ca068683f62a51eb1fcb69e608@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions