qcacmn: Send CTL info to firmware

In regulatory non-offloads feature, send conformance_test_limit_2G,
conformance_test_limit_5G, reg_domain, reg_domain_2G and reg_domain_5G
information to firmware using WMI_PDEV_SET_REGDOMAIN_CMDID.

If all these attributes are not populated then CTL power limit is
not applied by the firmware.

Change-Id: I1523ab447aec64ec0af42da32318136f90fd17ca
CRs-Fixed: 2518246
Tento commit je obsažen v:
Ashish Kumar Dhanotiya
2019-09-25 11:55:03 +05:30
odevzdal nshrivas
rodič e8b8de05c0
revize 89029e4d9e
7 změnil soubory, kde provedl 206 přidání a 0 odebrání

Zobrazit soubor

@@ -5947,6 +5947,11 @@ static QDF_STATUS send_regdomain_info_to_fw_cmd_tlv(wmi_unified_t wmi_handle,
cmd->conformance_test_limit_2G = ctl2G;
cmd->conformance_test_limit_5G = ctl5G;
wmi_debug("regd = %x, regd_2g = %x, regd_5g = %x, ctl_2g = %x, ctl_5g = %x",
cmd->reg_domain, cmd->reg_domain_2G, cmd->reg_domain_5G,
cmd->conformance_test_limit_2G,
cmd->conformance_test_limit_5G);
wmi_mtrace(WMI_PDEV_SET_REGDOMAIN_CMDID, NO_SESSION, 0);
if (wmi_unified_cmd_send(wmi_handle, buf, len,
WMI_PDEV_SET_REGDOMAIN_CMDID)) {