qcacmn: Add back port flag for multi AKM connect support
Add logic to set back port flag based on Linux kernel version for multi AKM connect support. Change-Id: Ia2365afc678edf025f63d4d3c0fc963c97193eb8 CRs-Fixed: 3246135
This commit is contained in:

committed by
Madan Koyyalamudi

父節點
b34fe34b48
當前提交
d7c3414ca0
@@ -29,6 +29,7 @@
|
||||
#include "wlan_cm_public_struct.h"
|
||||
#include <net/cfg80211.h>
|
||||
#include "wlan_objmgr_vdev_obj.h"
|
||||
#include "wlan_osif_features.h"
|
||||
|
||||
/**
|
||||
* struct osif_connect_params - extra connect params
|
||||
|
@@ -129,4 +129,18 @@
|
||||
(defined CFG80211_EXTERNAL_AUTH_TA_SUPPORT))
|
||||
#define CFG80211_SAE_AUTH_TA_ADDR_SUPPORT 1
|
||||
#endif
|
||||
|
||||
/*
|
||||
* CFG80211_MULTI_AKM_CONNECT_SUPPORT
|
||||
* used to indicate the Linux kernel contains support for multi AKM connect
|
||||
* support
|
||||
*
|
||||
* This feature was backported to Android Common Kernel 5.15 via:
|
||||
* https://android-review.googlesource.com/c/kernel/common/+/2115619
|
||||
*/
|
||||
#if (defined(__ANDROID_COMMON_KERNEL__) && \
|
||||
(LINUX_VERSION_CODE >= KERNEL_VERSION(5, 15, 0)) && \
|
||||
(LINUX_VERSION_CODE < KERNEL_VERSION(5, 16, 0)))
|
||||
#define CFG80211_MULTI_AKM_CONNECT_SUPPORT 1
|
||||
#endif
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user