wifi: cfg80211: Support 32 bytes KCK key in GTK rekey offload
authorShivani Baranwal <quic_shivbara@quicinc.com>
Tue, 6 Dec 2022 14:37:15 +0000 (20:07 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 18 Jan 2023 16:31:50 +0000 (17:31 +0100)
commit648fba791cb0f5ef6166449d056f82e6639fe268
treeee1e4462127845682813b03661d74b10fecf85b0
parentdf4969ca135b9b3b2c38c07514aaa775112ac835
wifi: cfg80211: Support 32 bytes KCK key in GTK rekey offload

Currently, maximum KCK key length supported for GTK rekey offload is 24
bytes but with some newer AKMs the KCK key length can be 32 bytes. e.g.,
00-0F-AC:24 AKM suite with SAE finite cyclic group 21. Add support to
allow 32 bytes KCK keys in GTK rekey offload.

Signed-off-by: Shivani Baranwal <quic_shivbara@quicinc.com>
Signed-off-by: Veerendranath Jakkam <quic_vjakkam@quicinc.com>
Link: https://lore.kernel.org/r/20221206143715.1802987-3-quic_vjakkam@quicinc.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
include/uapi/linux/nl80211.h
net/wireless/nl80211.c