qcacld-3.0: Add support for peer create confirmation event

Firmware sends peer create confirmation to detect duplicate peer
on other vdev. If the status field in the
wmi_peer_create_conf_event_fixed_param is 0, peer creation is
successful.
Add support to handle the peer create confirmation command for
sta mode. For roaming scenario, the peer will be internally
created by the firmware, so bail out after creating object
manager peer/datapath peer without sending the peer create
command similar as the current implementation.
For SAP/P2P Go mode the legacy peer create path will be used.

Proceed to do post linkstate change if status is success, else
do vdev stop and indicate failure to upper layers

Change-Id: I0abbd70dd509f2b9afa8d4d7db1774e289d1e021
CRs-Fixed: 2747870
This commit is contained in:
Pragaspathi Thilagaraj
2020-10-23 19:03:39 +05:30
committed by Gerrit - the friendly Code Review server
parent 7c473de8af
commit 950deb641d
14 changed files with 279 additions and 88 deletions

View File

@@ -823,15 +823,6 @@ QDF_STATUS wlan_mlme_get_bigtk_support(struct wlan_objmgr_psoc *psoc,
*/
bool wlan_mlme_get_host_scan_abort_support(struct wlan_objmgr_psoc *psoc);
/**
* wlan_mlme_get_peer_create_conf_support - Get if the firmware supports
* peer create confirm event
* @psoc: PSOC object pointer
*
* Return: True if capability is supported, else False
*/
bool wlan_mlme_get_peer_create_conf_support(struct wlan_objmgr_psoc *psoc);
/**
* wlan_mlme_get_dual_sta_roam_support - Get support for dual sta roaming
* feature

View File

@@ -1272,7 +1272,6 @@ struct wlan_mlme_ratemask {
* @bigtk_support: Whether BIGTK is supported or not
* @stop_all_host_scan_support: Target capability that indicates if the target
* supports stop all host scan request type.
* @peer_create_conf_support: Peer create confirmation command support
* @dual_sta_roam_fw_support: Firmware support for dual sta roaming feature
* @sae_connect_retries: sae connect retry bitmask
* @wls_6ghz_capable: wifi location service(WLS) is 6ghz capable
@@ -1315,7 +1314,6 @@ struct wlan_mlme_generic {
uint8_t dfs_chan_ageout_time;
bool bigtk_support;
bool stop_all_host_scan_support;
bool peer_create_conf_support;
bool dual_sta_roam_fw_support;
uint32_t sae_connect_retries;
bool wls_6ghz_capable;