qcacld-3.0: Make ini acs_with_more_param take effect

When ini acs_with_more_param is configured as 1, more params should be
added into ACS calculation process. Currently, even acs_with_more_param
is set as 1, mac->sap.acs_with_more_param is still 0 and no params are
added to ACS calculation process.

Make mac->sap.acs_with_more_param change as ini acs_with_more_param.

Change-Id: I4ced3b1d7d07c0f919183df42191e51ba66b90e8
CRs-Fixed: 2458086
This commit is contained in:
bings
2019-06-10 18:05:10 +08:00
committed by nshrivas
parent b611c14efb
commit 968a72c765
3 changed files with 38 additions and 0 deletions

View File

@@ -1131,6 +1131,17 @@ wlan_sap_set_channel_avoidance(mac_handle_t mac_handle,
bool sap_channel_avoidance);
#endif
/**
* wlan_sap_set_acs_with_more_param() - sets acs_with_more_param ini param
* @mac_handle: Opaque handle to the global MAC context
* @acs_with_more_param: ini parameter value
*
* Return: The QDF_STATUS code.
*/
QDF_STATUS
wlan_sap_set_acs_with_more_param(mac_handle_t mac_handle,
bool acs_with_more_param);
/**
* wlansap_set_dfs_preferred_channel_location() - set dfs preferred channel
* @mac_handle: Opaque handle to the global MAC context