qcacld-3.0: Fix iwpriv command getMaxAssoc

Fix the issue that iwpriv command getMaxAssoc act as setMaxAssoc.

Change-Id: I8fddc0ff724147cb55d53b0ce5a918745b3101d3
CRs-Fixed: 2844640
This commit is contained in:
Min Liu
2020-12-25 16:42:10 +08:00
committed by snandini
parent d6b19a8b8a
commit 45e0741472
5 changed files with 42 additions and 2 deletions

View File

@@ -556,6 +556,16 @@ QDF_STATUS wlan_mlme_set_sap_listen_interval(struct wlan_objmgr_psoc *psoc,
QDF_STATUS wlan_mlme_set_assoc_sta_limit(struct wlan_objmgr_psoc *psoc,
int value);
/**
* wlan_mlme_get_assoc_sta_limit() - Get the assoc sta limit
* @psoc: pointer to psoc object
* @value: Pointer to value that needs to be filled by MLME
*
* Return: QDF Status
*/
QDF_STATUS wlan_mlme_get_assoc_sta_limit(struct wlan_objmgr_psoc *psoc,
int *value);
/**
* wlan_mlme_set_sap_get_peer_info() - get the sap get peer info
* @psoc: pointer to psoc object