qcacld-3.0: Update opclass and others param in pilot frame

Update opclass, randomizationInterval and DialogToken in
pilot frame as a response of beacon report request.

Change-Id: Ibf6a6b4d5dea1c87826d7755778c8f559a1a0fa3
Crs-Fixed: 2717259
This commit is contained in:
Abhinav Kumar
2020-06-24 00:48:34 +05:30
committed by nshrivas
parent f1141afdc6
commit 2147196fd8

View File

@@ -1324,6 +1324,13 @@ cleanup:
/* copy measurement bssid */
qdf_mem_copy(sme_rrm_ctx->bssId, beacon_req->macaddrBssid,
sizeof(tSirMacAddr));
sme_rrm_ctx->token = beacon_req->uDialogToken;
sme_rrm_ctx->regClass =
beacon_req->channel_info.reg_class;
sme_rrm_ctx->randnIntvl =
QDF_MAX(beacon_req->randomizationInterval,
mac->rrm.rrmConfig.max_randn_interval);
sme_rrm_send_beacon_report_xmit_ind(mac,
sme_rrm_ctx->measurement_idx, NULL, true, 0);
}