qcacmn: Add macro to determine WPA3 AKM

Add a macro to determine if a particular AKM is WPA3-based
AKM.

Change-Id: I9b3f546e2e0f69281305ca9052dc109fb6812e21
CRs-Fixed: 3418837
This commit is contained in:
Surya Prakash Sivaraj 2024-03-19 15:56:34 +05:30 • committed by Ravindra Konda
commit 389a047ba7

View file

@ -513,4 +513,11 @@ struct wlan_lmac_if_crypto_rx_ops {
QDF_HAS_PARAM(akm, WLAN_CRYPTO_KEY_MGMT_FT_PSK_SHA384) || \
QDF_HAS_PARAM(akm, WLAN_CRYPTO_KEY_MGMT_PSK_SHA384))
#define WLAN_CRYPTO_IS_WPA3(akm) \
(QDF_HAS_PARAM(akm, WLAN_CRYPTO_KEY_MGMT_SAE) || \
QDF_HAS_PARAM(akm, WLAN_CRYPTO_KEY_MGMT_FT_SAE) || \
QDF_HAS_PARAM(akm, WLAN_CRYPTO_KEY_MGMT_IEEE8021X_SUITE_B_192) || \
QDF_HAS_PARAM(akm, WLAN_CRYPTO_KEY_MGMT_OWE) || \
QDF_HAS_PARAM(akm, WLAN_CRYPTO_KEY_MGMT_DPP) || \
QDF_HAS_PARAM(akm, WLAN_CRYPTO_KEY_MGMT_FT_IEEE8021X_SHA384))
#endif /* end of _WLAN_CRYPTO_GLOBAL_DEF_H_ */