qcacld-3.0: Handle station stats request while ll stats in progress
Currently host can get station stats request while ll stats is in progress and station stats request gets timeout for below sequence, 1) Host receives LL stats request and sends unified stats command to fw. 2) FW has sent all the station stats events and in process of sending ll stats, host gets station stats command and sends the station stats command to fw. 3) After receiving all ll stats host resets pending stations stats. 4) As request is already reset, host doesn't find any pending request while processing the last stats event hence request gets timeout. To address this issue send cached stations stats if unified ll stats is in progress. Change-Id: I153ca4657c0736b4a174b247c82eb38527b9dae9 CRs-Fixed: 3753712
Este commit está contenido en:

cometido por
Ravindra Konda

padre
b121f23ea0
commit
3b97db9156
@@ -3325,16 +3325,19 @@ static QDF_STATUS wlan_hdd_stats_request_needed(struct hdd_adapter *adapter)
|
||||
hdd_err("Invalid hdd config");
|
||||
return QDF_STATUS_E_INVAL;
|
||||
}
|
||||
|
||||
if (adapter->hdd_ctx->is_get_station_clubbed_in_ll_stats_req) {
|
||||
uint32_t stats_cached_duration;
|
||||
|
||||
stats_cached_duration =
|
||||
qdf_system_ticks_to_msecs(qdf_system_ticks()) -
|
||||
adapter->sta_stats_cached_timestamp;
|
||||
if (stats_cached_duration <=
|
||||
adapter->hdd_ctx->config->sta_stats_cache_expiry_time)
|
||||
if (qdf_atomic_read(&adapter->is_ll_stats_req_pending) ||
|
||||
(stats_cached_duration <=
|
||||
adapter->hdd_ctx->config->sta_stats_cache_expiry_time))
|
||||
return QDF_STATUS_E_ALREADY;
|
||||
}
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
Referencia en una nueva incidencia
Block a user