mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 12:25:00 -04:00
qcacld-3.0: Enable CFG80211_MULTI_AKM_CONNECT_SUPPORT from kernelv6.0
Current code supports CFG80211_MULTI_AKM_CONNECT_SUPPORT only for v5.15 kernel. Enable this feature support from kernelv6.0 by default. Change-Id: I6fbf83df54fd898abde0546f526b193a6d8dc620 CRs-Fixed: 3806550
This commit is contained in:
parent
da35d8eb46
commit
d4e50bce79
1 changed files with 14 additions and 0 deletions
|
|
@ -208,6 +208,20 @@ extern const struct nla_policy wlan_hdd_wisa_cmd_policy[
|
|||
#define USE_CFG80211_DEL_STA_V2
|
||||
#endif
|
||||
|
||||
/*
|
||||
* CFG80211_MULTI_AKM_CONNECT_SUPPORT
|
||||
* used to indicate the Linux kernel contains support for multi AKM connect
|
||||
* support
|
||||
*
|
||||
* This feature was introduced in Linux Kernel 6.0 via:
|
||||
* ecad3b0b99bf wifi: cfg80211: Increase akm_suites array size in
|
||||
* cfg80211_crypto_settings.
|
||||
*/
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 0, 0) || \
|
||||
(defined CFG80211_MAX_NUM_AKM_SUITES))
|
||||
#define CFG80211_MULTI_AKM_CONNECT_SUPPORT 1
|
||||
#endif
|
||||
|
||||
#ifdef CFG80211_MULTI_AKM_CONNECT_SUPPORT
|
||||
#define WLAN_CM_MAX_CONNECT_AKMS 5
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue