OSDN Git Service

iwlwifi: mvm: d3: support v12 wowlan status
authorJohannes Berg <johannes.berg@intel.com>
Sat, 4 Dec 2021 06:35:51 +0000 (08:35 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 7 Dec 2021 18:06:35 +0000 (20:06 +0200)
commit2dc977423cbf762bbc6a7237b4294a9099ad10d3
tree96ec2638ed7425043d641fb0d80c321d3292d840
parent708d8c5385a4cf63760d0932387f2cce9e8c9d8f
iwlwifi: mvm: d3: support v12 wowlan status

Newer firmware versions are going to come with a new version
of the wowlan status API, which gives us replay counters for
both GTKs that might still be in use, as well as unifying the
layout of the counters to just be 64-bit quantities.

Extend our code to handle this case and be able to install
replay counters for both keys, if they're sent up from the
firmware.

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.20211204083238.73637acafe0b.I33e27712a12fff2816edc0a8abda1759259e20d7@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/api/d3.h
drivers/net/wireless/intel/iwlwifi/mvm/d3.c