qcacmn: Read OWE and SAE roam target capability

Add support for OWE and SAE roam target capability.
Add event mapping for the tgt event
WMI_ROAM_PREAUTH_START_EVENTID.

Add changes to send WMI_ROAM_PREAUTH_STATUS_CMDID after
the SAE external authentication event is received.

Also for SAE/OWE/802.1x, the key management offload
needs to be enabled by default as PMKSA caching if
set_pmksa is received from the supplicant. So remove
the additional key management offload check so that
OKC and PMKSA is enabled by default for SAE and OWE.

Change-Id: I01d3a07e2ce60e25ea8624c030c6a5802205566d
CRs-Fixed: 2491042
This commit is contained in:
Pragaspathi Thilagaraj
2019-07-17 00:45:20 +05:30
committed by nshrivas
parent c367e06da5
commit fc54cc76a4
7 changed files with 120 additions and 4 deletions

View File

@@ -342,6 +342,21 @@ QDF_STATUS
wmi_unified_send_idle_roam_params(wmi_unified_t wmi_handle,
struct wmi_idle_roam_params *req);
/**
* wmi_unified_send_roam_preauth_status() - Send roam preauthentication status
* to target.
* @wmi_handle: wmi handle
* @param: Roam auth status params
*
* This function passes preauth status of WPA3 SAE auth to firmware. It is
* called when external_auth_status event is received from userspace.
*
* Return: QDF_STATUS
*/
QDF_STATUS
wmi_unified_send_roam_preauth_status(wmi_unified_t wmi_handle,
struct wmi_roam_auth_status_params *param);
/**
* wmi_unified_offload_11k_cmd() - send 11k offload command
* @wmi_handle: wmi handle