qcacld-3.0: Set global operating class for 6GHz band

Use global operating class for 6GHz to validate the
channels.

Change-Id: I8a3d8d35a4f7d232b70f2e6c51f145c6410a0ff8
CRs-Fixed: 2714941
This commit is contained in:
Kiran Kumar Lokere 2020-07-29 14:12:33 -07:00 committed by snandini
parent afb293bc6d
commit 39f91926a7

View File

@ -1109,6 +1109,10 @@ QDF_STATUS sme_rrm_process_beacon_report_req_ind(struct mac_context *mac,
else
country[2] = OP_CLASS_GLOBAL;
if (wlan_reg_is_6ghz_op_class(mac->pdev,
beacon_req->channel_info.reg_class))
country[2] = OP_CLASS_GLOBAL;
sme_debug("RRM_SCN: Index:%d Request Reg class %d, AP's country code %c%c 0x%x, channel = %d",
beacon_req->measurement_idx,
beacon_req->channel_info.reg_class,