qcacld-3.0: Ageout connected BSS in beacon table mode
The driver doesn't ageout connected BSS from rrm scan result after the scan default ageout time. This results in connected AP information sent in beacon report request in table mode always. Fill the ageout threshold value as the default scan age out time in the rrm scan filter. Change-Id: I8f9b0457bd93e2d9b51a772bdbdfb01dcd429c56 CRs-Fixed: 2650915
这个提交包含在:
@@ -484,6 +484,18 @@ static QDF_STATUS sme_rrm_send_scan_result(struct mac_context *mac_ctx,
|
||||
filter->num_of_channels *
|
||||
sizeof(filter->chan_freq_list[0]));
|
||||
filter->rrm_measurement_filter = true;
|
||||
|
||||
if (eRRM_MSG_SOURCE_ESE_UPLOAD == rrm_ctx->msgSource ||
|
||||
eRRM_MSG_SOURCE_LEGACY_ESE == rrm_ctx->msgSource)
|
||||
scan_type = rrm_ctx->measMode[rrm_ctx->currentIndex];
|
||||
else
|
||||
scan_type = rrm_ctx->measMode[0];
|
||||
|
||||
if (scan_type == eSIR_BEACON_TABLE)
|
||||
filter->age_threshold =
|
||||
wlan_scan_get_aging_time(mac_ctx->psoc);
|
||||
|
||||
|
||||
/*
|
||||
* In case this is beacon report request from last AP (before roaming)
|
||||
* following call to csr_roam_get_session_id_from_bssid will fail,
|
||||
@@ -575,11 +587,6 @@ static QDF_STATUS sme_rrm_send_scan_result(struct mac_context *mac_ctx,
|
||||
goto rrm_send_scan_results_done;
|
||||
}
|
||||
|
||||
if (eRRM_MSG_SOURCE_ESE_UPLOAD == rrm_ctx->msgSource ||
|
||||
eRRM_MSG_SOURCE_LEGACY_ESE == rrm_ctx->msgSource)
|
||||
scan_type = rrm_ctx->measMode[rrm_ctx->currentIndex];
|
||||
else
|
||||
scan_type = rrm_ctx->measMode[0];
|
||||
|
||||
while (scan_results) {
|
||||
/*
|
||||
|
在新工单中引用
屏蔽一个用户