qcacld-3.0: Add support for WPA3 LFR2 roaming

On some projects, LFR3 roaming is not supported due to
limitation of FW memory, thus, add support for WPA3 LFR2
roaming.

Change-Id: I80888049a243c0d37e08377d89a6aa44e75a8850
CRs-Fixed: 2973554
此提交包含在:
Bing Sun
2022-08-03 16:02:46 +08:00
提交者 Madan Koyyalamudi
父節點 c9887c1976
當前提交 082f9da230
共有 9 個檔案被更改,包括 166 行新增32 行删除

查看文件

@@ -1212,4 +1212,14 @@ wlan_mlme_is_pmk_set_deferred(struct wlan_objmgr_psoc *psoc,
return false;
}
#endif
#ifdef WLAN_FEATURE_SAE
/**
* wlan_vdev_is_sae_auth_type() - is vdev SAE auth type
* @vdev: pointer to vdev
*
* Return: true if vdev is SAE auth type
*/
bool wlan_vdev_is_sae_auth_type(struct wlan_objmgr_vdev *vdev);
#endif /* WLAN_FEATURE_SAE */
#endif

查看文件

@@ -1447,6 +1447,21 @@ static bool is_sae_sap_enabled(struct wlan_objmgr_psoc *psoc)
{
return cfg_get(psoc, CFG_IS_SAP_SAE_ENABLED);
}
bool wlan_vdev_is_sae_auth_type(struct wlan_objmgr_vdev *vdev)
{
int32_t auth_mode;
auth_mode = wlan_crypto_get_param(vdev, WLAN_CRYPTO_PARAM_AUTH_MODE);
if (auth_mode == -1)
return false;
if (QDF_HAS_PARAM(auth_mode, WLAN_CRYPTO_AUTH_SAE))
return true;
return false;
}
#else
static bool is_sae_sap_enabled(struct wlan_objmgr_psoc *psoc)
{