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