qcacld-3.0: Check SAE & OWE target capability to enable RSO

Currently the host driver blocks roam scan offload command to
the target if the connected akm is OWE or SAE.

Add changes to read the WMI_SERVICE_WPA3_SAE_ROAM_SUPPORT and
WMI_SERVICE_WPA3_OWE_ROAM_SUPPORT service capability advertised
by the target and set it to the mlme fw_akm_bitmap. Read this
bitmap in csr_roam_offload_scan() to allow RSO command.

Also the connected akm is sent to the target via the
WMI_AP_PROFILE command. Translate the CSR akm type for OWE and
SAE akm also.

Change-Id: I68527722ab099e0c8e1681ed64ea416b9a6e9936
CRs-Fixed: 2491021
This commit is contained in:
Pragaspathi Thilagaraj
2019-07-17 00:16:15 +05:30
committed by nshrivas
parent 4fb838c4e9
commit ba42a982b3
11 changed files with 75 additions and 48 deletions

View File

@@ -2236,4 +2236,15 @@ wlan_mlme_get_4way_hs_offload(struct wlan_objmgr_psoc *psoc, bool *value);
QDF_STATUS
mlme_get_peer_phymode(struct wlan_objmgr_psoc *psoc, uint8_t *mac,
enum wlan_phymode *peer_phymode);
/**
* mlme_set_tgt_wpa3_roam_cap() - Set the target WPA3 roam support
* to mlme
* @psoc: pointer to PSOC object
* @akm_bitmap: Bitmap of akm suites supported for roaming by the firmware
*
* Return: QDF Status
*/
QDF_STATUS mlme_set_tgt_wpa3_roam_cap(struct wlan_objmgr_psoc *psoc,
uint32_t akm_bitmap);
#endif /* _WLAN_MLME_API_H_ */