qcacld-3.0: Do not clear channel stats after ACS completion
As part of SAP ACS optimization, the last ACS scan's result can be reused in current ACS request if the last scan done was not greater then last_scan_ageout_time provided as part of do_acs command. So, do not clear channel stats after ACS completion if SAP ACS optimization feature is enabled. Change-Id: Idac6225f790d84ba90ebd740602d0c5d358ed2dc CRs-Fixed: 3297868
Цей коміт міститься в:

зафіксовано
Madan Koyyalamudi

джерело
3fc0cebe1d
коміт
25112131d0
@@ -614,6 +614,7 @@ static struct channel_status *sap_get_channel_status
|
||||
return ucfg_mc_cp_stats_get_channel_status(p_mac->pdev, chan_freq);
|
||||
}
|
||||
|
||||
#ifndef WLAN_FEATURE_SAP_ACS_OPTIMIZE
|
||||
/**
|
||||
* sap_clear_channel_status() - clear chan info
|
||||
* @p_mac: Pointer to Global MAC structure
|
||||
@@ -627,6 +628,12 @@ static void sap_clear_channel_status(struct mac_context *p_mac)
|
||||
|
||||
ucfg_mc_cp_stats_clear_channel_status(p_mac->pdev);
|
||||
}
|
||||
#else
|
||||
static void sap_clear_channel_status(struct mac_context *p_mac)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* sap_weight_channel_noise_floor() - compute noise floor weight
|
||||
* @sap_ctx: sap context
|
||||
|
Посилання в новій задачі
Заблокувати користувача