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
这个提交包含在:
Pragaspathi Thilagaraj
2020-03-26 17:28:27 +05:30
提交者 nshrivas
父节点 536310f76a
当前提交 d0cee9ceb3

查看文件

@@ -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) {
/*