qcacld-3.0: Move sta_info from array based to hash based

Currently in hdd_adapter, the variable sta_info is an array of
hdd_station_info structured indexed by the sta_id. As sta_id is no
longer used this array based implementation becomes unnecessary.

Move the sta_info implementation to a hash table implementation.

Change-Id: I7d6fe04b7e0ab22615d431de9a10a4ad38ed65ba
CRs-Fixed: 2514280
This commit is contained in:
Sourav Mohapatra
2019-08-18 11:39:23 +05:30
committed by nshrivas
parent c65a60b93b
commit 43e6dea453
18 changed files with 996 additions and 909 deletions

View File

@@ -555,7 +555,7 @@ 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
* wlan_mlme_get_sap_bcast_deauth_enabled() - get the enable/disable value
* for broadcast deauth in sap
* @psoc: pointer to psoc object
* @value: Value that needs to get from the caller
@@ -563,8 +563,8 @@ QDF_STATUS wlan_mlme_set_sap_get_peer_info(struct wlan_objmgr_psoc *psoc,
* Return: QDF Status
*/
QDF_STATUS
wlan_mlme_is_sap_bcast_deauth_enabled(struct wlan_objmgr_psoc *psoc,
bool *value);
wlan_mlme_get_sap_bcast_deauth_enabled(struct wlan_objmgr_psoc *psoc,
bool *value);
/**
* wlan_mlme_get_sap_allow_all_channels() - get the value of sap allow all