wifi: cfg80211: Increase akm_suites array size in cfg80211_crypto_settings
Increase akm_suites array size in struct cfg80211_crypto_settings to 10 and advertise the capability to userspace. This allows userspace to send more than two AKMs to driver in netlink commands such as NL80211_CMD_CONNECT. This capability is needed for implementing WPA3-Personal transition mode correctly with any driver that handles roaming internally. Currently, the possible AKMs for multi-AKM connect can include PSK, PSK-SHA-256, SAE, FT-PSK and FT-SAE. Since the count is already 5, increasing the akm_suites array size to 10 should be reasonable for future usecases. Signed-off-by:Veerendranath Jakkam <quic_vjakkam@quicinc.com> Link: https://lore.kernel.org/r/1653312358-12321-1-git-send-email-quic_vjakkam@quicinc.com Signed-off-by:
Johannes Berg <johannes.berg@intel.com>
Showing
- drivers/net/wireless/quantenna/qtnfmac/commands.c 8 additions, 4 deletionsdrivers/net/wireless/quantenna/qtnfmac/commands.c
- include/net/cfg80211.h 10 additions, 1 deletioninclude/net/cfg80211.h
- include/uapi/linux/nl80211.h 14 additions, 0 deletionsinclude/uapi/linux/nl80211.h
- net/wireless/core.c 6 additions, 0 deletionsnet/wireless/core.c
- net/wireless/nl80211.c 6 additions, 1 deletionnet/wireless/nl80211.c
Loading
Please register or sign in to comment