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

@@ -688,6 +688,24 @@ struct wmi_disconnect_roam_params {
bool enable;
};
/**
* struct wmi_roam_auth_status_params - WPA3 roam auth response status
* parameters
* @vdev_id: Vdev on which roam preauth is happening
* @preauth_status: Status of the Auth response.
* IEEE80211_STATUS_SUCCESS(0) for success. Corresponding
* IEEE80211 failure status code for failure.
*
* @bssid: Candidate BSSID
* @pmkid: PMKID derived for the auth
*/
struct wmi_roam_auth_status_params {
uint32_t vdev_id;
uint32_t preauth_status;
struct qdf_mac_addr bssid;
uint8_t pmkid[PMKID_LEN];
};
/**
* @time_offset: time offset after 11k offload command to trigger a neighbor
* report request (in seconds)