qcacmn: Set country code for full-offload using iwpriv command

For full-offload, send user country code to FW using WMI
command.

Change-Id: I84acbd7ce30aa9a8ce590c8fadea2cb5914240fe
CRs-Fixed: 2053849
Esse commit está contido em:
Abhijit Pradhan
2017-06-29 12:32:20 +05:30
commit de snandini
commit d38a26937c
2 arquivos alterados com 65 adições e 0 exclusões

Ver arquivo

@@ -90,3 +90,14 @@ QDF_STATUS wmi_extract_reg_11d_new_cc_event(void *wmi_hdl,
return QDF_STATUS_E_FAILURE;
}
QDF_STATUS wmi_unified_set_user_country_code_cmd_send(void *wmi_hdl,
uint8_t pdev_id, struct cc_regdmn_s *rd)
{
struct wmi_unified *wmi_handle = (struct wmi_unified *) wmi_hdl;
if (wmi_handle->ops->send_user_country_code_cmd)
return wmi_handle->ops->send_user_country_code_cmd(
wmi_handle, pdev_id, rd);
return QDF_STATUS_E_FAILURE;
}