iwlwifi: mvm: d3: separate TKIP data from key iteration
authorJohannes Berg <johannes.berg@intel.com>
Thu, 5 Aug 2021 10:19:23 +0000 (13:19 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Thu, 26 Aug 2021 20:35:15 +0000 (23:35 +0300)
commit0419e5e672d6d931fcaa83f7a715364ab4dc1ac9
tree857641b4fe1eec3e9a047e96ae01315aa2e9290d
parent95a62c331f6ac38bd22b0353cab9d719d031c892
iwlwifi: mvm: d3: separate TKIP data from key iteration

We do a key iteration to program the keys, and while at it
we also collect the data necessary for TKIP. This code has
all kinds of dependencies on the firmware API though, so
take out the TKIP phase 1 key generation and do that in a
separate key iteration only if necessary.

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.20210805130823.80721fc0fd61.I5a8fbba4e3a9606f700ee41c7a4244dd5e2af935@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/d3.c