qcacld-3.0: Add missed calling of wlan_hdd_get_station_remote

Propagation from qcacld-2.0 to qcacld-3.0

For the sap role, .get_station would invoke
wlan_hdd_get_station_remote() or wlan_hdd_get_sap_stats(), depends on
"gSapGetPeerInfo" ini setting. And fix the logic of determine sap get
peer info enable or not by target capability.

CRs-Fixed: 2427627
Change-Id: I3162950a6a7202d55b64ff9c60a26971d3a31555
This commit is contained in:
Will Huang
2019-04-02 14:52:17 +08:00
committed by nshrivas
parent 124a444ae3
commit b9cb12421a
6 changed files with 108 additions and 71 deletions

View File

@@ -533,6 +533,16 @@ QDF_STATUS wlan_mlme_set_rmc_action_period_freq(struct wlan_objmgr_psoc *psoc,
QDF_STATUS wlan_mlme_get_sap_get_peer_info(struct wlan_objmgr_psoc *psoc,
bool *value);
/**
* wlan_mlme_set_sap_get_peer_info() - set the sap get peer info
* @psoc: pointer to psoc object
* @value: value to overwrite the sap get peer info
*
* Return: QDF Status
*/
QDF_STATUS wlan_mlme_set_sap_get_peer_info(struct wlan_objmgr_psoc *psoc,
bool value);
/**
* wlan_mlme_is_sap_bcast_deauth_enabled() - get the enable/disable value
* for broadcast deauth in sap