qcacld-3.0: Disable peer_unmap_conf_support for FTM mode

In FTM mode, no peer is created in the host. Currently, since
peer_unmap_conf_support feature is enabled, FW is expecting
WMA_SEND_PEER_UNMAP_CONF from host to remove the peer Id from AST.
But host never send this WMI CMD in FTM mode.

Disable peer_unmap_conf_support in FTM mode which allow FW to
delete the peer Id without any WMI CMD expectation from host.

Change-Id: Idf9082adc81187346563f3aedf1f1657164f03cc
CRs-Fixed: 2608929
This commit is contained in:
Alok Kumar
2020-01-22 20:56:59 +05:30
committed by nshrivas
parent ef3a58101b
commit a73938f684
6 changed files with 38 additions and 1 deletions

View File

@@ -2344,4 +2344,13 @@ wlan_mlme_get_mgmt_max_retry(struct wlan_objmgr_psoc *psoc,
QDF_STATUS
wlan_mlme_get_status_ring_buffer(struct wlan_objmgr_psoc *psoc,
bool *enable_ring_buffer);
/**
* wlan_mlme_get_peer_unmap_conf() - Indicate if peer unmap confirmation
* support is enabled or disabled
* @psoc: pointer to psoc object
*
* Return: true if peer unmap confirmation support is enabled, else false
*/
bool wlan_mlme_get_peer_unmap_conf(struct wlan_objmgr_psoc *psoc);
#endif /* _WLAN_MLME_API_H_ */