Browse Source

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
Kiran Kumar Lokere 8 years ago
parent
commit
e70e605ed1
2 changed files with 7 additions and 0 deletions
  1. 4 0
      wmi_unified_api.h
  2. 3 0
      wmi_unified_priv.h

+ 4 - 0
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_ */

+ 3 - 0
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 {