Commit 99d3654a authored by Veerendranath Jakkam's avatar Veerendranath Jakkam
Browse files

BACKPORT: FROMGIT: wifi: cfg80211: Increase akm_suites array size in cfg80211_crypto_settings



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: default avatarVeerendranath Jakkam <quic_vjakkam@quicinc.com>
Link: https://lore.kernel.org/r/1653312358-12321-1-git-send-email-quic_vjakkam@quicinc.com


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>

Bug: 238103864
Change-Id: I91cd19286e2d1feff973a92da1d3ebde4183759d
(cherry picked from commit ecad3b0b
 https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next.git

 main)
[quic_vjakkam: bring delta changes from wireless-next.git main branch commit]
Signed-off-by: default avatarVeerendranath Jakkam <quic_vjakkam@quicinc.com>
(cherry picked from commit fef56599)
parent 1d6c98dc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment