Browse Source

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
Abhinav Kumar 4 years ago
parent
commit
2147196fd8
1 changed files with 7 additions and 0 deletions
  1. 7 0
      core/sme/src/rrm/sme_rrm.c

+ 7 - 0
core/sme/src/rrm/sme_rrm.c

@@ -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);
 	}