wifi: mac80211: mark keys as uploaded when added by the driver
authorYedidya Benshimol <yedidya.ben.shimol@intel.com>
Wed, 21 Jun 2023 11:44:36 +0000 (14:44 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 21 Jun 2023 12:14:14 +0000 (14:14 +0200)
commitf52a0b408ed144afa42b45f078a28542e711551b
treedec3480f49dc8c7a3c14a0f7f62ce217bd6f73fc
parentfd006d60e83389f806d8a215c78ae608b9070bbb
wifi: mac80211: mark keys as uploaded when added by the driver

When the driver has some form of GTK rekeying offload, e.g. during
WoWLAN, mac80211 can assume that keys that the driver adds for
that are already present in the hardware acceleration. Mark them
accordingly.

Signed-off-by: Yedidya Benshimol <yedidya.ben.shimol@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230621144414.bc78c7ff2a3d.I5e313d69e2b6a7a4766ef82d0faa122dd4c1c46d@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/key.c