qcacmn: Perform cleanup of send_init_cmd
Currently, WMI is exposing two command ops
(send_init_cmd and init_send_cmd) for init
command purpose which is leading to data/code
redundeancy. Perform clenaup for send_init_cmd.
Change-Id: I8f31ab45392cf2afb3cc34c633ba83ea42a3a835
CRs-Fixed: 2138507
diff --git a/wmi_unified_api.h b/wmi_unified_api.h
index 3101b32..4393186 100644
--- a/wmi_unified_api.h
+++ b/wmi_unified_api.h
@@ -841,15 +841,6 @@
QDF_STATUS wmi_unified_save_fw_version_cmd(void *wmi_hdl,
void *evt_buf);
-#ifdef CONFIG_MCL
-QDF_STATUS wmi_unified_send_init_cmd(void *wmi_hdl,
- wmi_resource_config *res_cfg,
- uint8_t num_mem_chunks, struct wmi_host_mem_chunk *mem_chunk,
- bool action);
-#endif
-
-QDF_STATUS wmi_unified_send_saved_init_cmd(void *wmi_hdl);
-
QDF_STATUS wmi_unified_set_base_macaddr_indicate_cmd(void *wmi_hdl,
uint8_t *custom_addr);
diff --git a/wmi_unified_param.h b/wmi_unified_param.h
index 896c5cb..0488edf 100644
--- a/wmi_unified_param.h
+++ b/wmi_unified_param.h
@@ -5901,6 +5901,8 @@
* @rx_batchmode: RX batch mode
* @tt_support: Thermal throttling support
* @atf_config: ATF config
+ * @mgmt_comp_evt_bundle_support: bundle support required for mgmt complete evt
+ * @tx_msdu_new_partition_id_support: new partiition id support for tx msdu
* @iphdr_pad_config: ipheader pad config
* @qwrap_config: Qwrap configuration
* @alloc_frag_desc_for_data_pkt: Frag desc for data
@@ -5922,6 +5924,7 @@
* @bpf_instruction_size:
* @max_bssid_rx_filters:
* @use_pdev_id:
+ * @max_num_dbs_scan_duty_cycle: max dbs can duty cycle value
*/
typedef struct {
uint32_t num_vdevs;
@@ -5963,7 +5966,9 @@
uint32_t VO_Minfree;
uint32_t rx_batchmode;
uint32_t tt_support;
- uint32_t atf_config;
+ uint32_t atf_config:1,
+ mgmt_comp_evt_bundle_support:1,
+ tx_msdu_new_partition_id_support:1;
uint32_t iphdr_pad_config;
uint32_t
qwrap_config:16,
@@ -5987,6 +5992,7 @@
uint32_t bpf_instruction_size;
uint32_t max_bssid_rx_filters;
uint32_t use_pdev_id;
+ uint32_t max_num_dbs_scan_duty_cycle;
} target_resource_config;
/**
diff --git a/wmi_unified_priv.h b/wmi_unified_priv.h
index d4007e8..201e1ce 100644
--- a/wmi_unified_priv.h
+++ b/wmi_unified_priv.h
@@ -680,19 +680,10 @@
QDF_STATUS (*send_process_set_ie_info_cmd)(wmi_unified_t wmi_handle,
struct vdev_ie_info_param *ie_info);
-#ifdef CONFIG_MCL
-QDF_STATUS (*send_init_cmd)(wmi_unified_t wmi_handle,
- wmi_resource_config *res_cfg,
- uint8_t num_mem_chunks, struct wmi_host_mem_chunk *mem_chunk,
- bool action);
-#endif
-
QDF_STATUS (*save_fw_version_cmd)(wmi_unified_t wmi_handle, void *evt_buf);
QDF_STATUS (*check_and_update_fw_version_cmd)(wmi_unified_t wmi_hdl, void *ev);
-QDF_STATUS (*send_saved_init_cmd)(wmi_unified_t wmi_handle);
-
QDF_STATUS (*send_set_base_macaddr_indicate_cmd)(wmi_unified_t wmi_handle,
uint8_t *custom_addr);
@@ -1444,7 +1435,6 @@
int wmi_stop_in_progress;
struct wmi_host_abi_version fw_abi_version;
struct wmi_host_abi_version final_abi_vers;
- struct wmi_cmd_init saved_wmi_init_cmd;
uint32_t num_of_diag_events_logs;
uint32_t *events_logs_list;
#ifdef WLAN_OPEN_SOURCE