From e70e605ed11a0bb0c37788c8e8a2d88cce514d83 Mon Sep 17 00:00:00 2001 From: Kiran Kumar Lokere Date: Mon, 24 Apr 2017 00:56:03 -0700 Subject: [PATCH] qcacmn: Add support to send new country to FW Add support to set new country code to the FW Change-Id: Id24967b7c9e93bfbf045f494f142be9e33e16483 CRs-Fixed: 2042879 --- wmi_unified_api.h | 4 ++++ wmi_unified_priv.h | 3 +++ 2 files changed, 7 insertions(+) diff --git a/wmi_unified_api.h b/wmi_unified_api.h index 3501dc15c6..291606ed7a 100644 --- a/wmi_unified_api.h +++ b/wmi_unified_api.h @@ -1454,6 +1454,9 @@ QDF_STATUS wmi_unified_dfs_phyerr_offload_en_cmd(void *wmi_hdl, QDF_STATUS wmi_unified_dfs_phyerr_offload_dis_cmd(void *wmi_hdl, uint32_t pdev_id); +QDF_STATUS wmi_unified_set_country_cmd_send(void *wmi_hdl, + struct set_country *param); + #ifdef WMI_INTERFACE_EVENT_LOGGING void wmi_print_cmd_log(wmi_unified_t wmi, uint32_t count, qdf_abstract_print *print, void *print_priv); @@ -1475,6 +1478,7 @@ void wmi_print_rx_event_log(wmi_unified_t wmi, uint32_t count, void wmi_print_mgmt_event_log(wmi_unified_t wmi, uint32_t count, qdf_abstract_print *print, void *print_priv); + #endif /* WMI_INTERFACE_EVENT_LOGGING */ #endif /* _WMI_UNIFIED_API_H_ */ diff --git a/wmi_unified_priv.h b/wmi_unified_priv.h index 20fafc4b89..179ec731bc 100644 --- a/wmi_unified_priv.h +++ b/wmi_unified_priv.h @@ -1313,6 +1313,9 @@ QDF_STATUS (*extract_dfs_radar_detection_event)(wmi_unified_t wmi_handle, struct radar_found_info *radar_found, uint32_t len); #endif + +QDF_STATUS (*send_set_country_cmd)(wmi_unified_t wmi_handle, + struct set_country *param); }; struct target_abi_version {