qcacmn: Add tlv formation of wmi init commands in common wmi layer
Move tlv formation of wmi init commands from umac to common wmi layer. Change-Id: I8511de51f341401b5ba64581ba0f6840cfee1590 CRs-Fixed: 983619
This commit is contained in:
@@ -647,4 +647,14 @@ CDF_STATUS wmi_unified_dcc_clear_stats(void *wmi_hdl,
|
|||||||
|
|
||||||
CDF_STATUS wmi_unified_dcc_update_ndl(void *wmi_hdl,
|
CDF_STATUS wmi_unified_dcc_update_ndl(void *wmi_hdl,
|
||||||
struct dcc_update_ndl_param *update_ndl_param);
|
struct dcc_update_ndl_param *update_ndl_param);
|
||||||
|
|
||||||
|
CDF_STATUS wmi_unified_save_fw_version_cmd(void *wmi_hdl,
|
||||||
|
void *evt_buf);
|
||||||
|
|
||||||
|
CDF_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);
|
||||||
|
|
||||||
|
CDF_STATUS wmi_unified_send_saved_init_cmd(void *wmi_hdl);
|
||||||
#endif /* _WMI_UNIFIED_API_H_ */
|
#endif /* _WMI_UNIFIED_API_H_ */
|
||||||
|
@@ -487,6 +487,17 @@ CDF_STATUS (*send_process_fw_mem_dump_cmd)(wmi_unified_t wmi_handle,
|
|||||||
|
|
||||||
CDF_STATUS (*send_process_set_ie_info_cmd)(wmi_unified_t wmi_handle,
|
CDF_STATUS (*send_process_set_ie_info_cmd)(wmi_unified_t wmi_handle,
|
||||||
struct vdev_ie_info_param *ie_info);
|
struct vdev_ie_info_param *ie_info);
|
||||||
|
|
||||||
|
CDF_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);
|
||||||
|
|
||||||
|
CDF_STATUS (*save_fw_version_cmd)(wmi_unified_t wmi_handle, void *evt_buf);
|
||||||
|
|
||||||
|
CDF_STATUS (*check_and_update_fw_version_cmd)(wmi_unified_t wmi_hdl, void *ev);
|
||||||
|
|
||||||
|
CDF_STATUS (*send_saved_init_cmd)(wmi_unified_t wmi_handle);
|
||||||
/**
|
/**
|
||||||
* struct wmi_init_cmd - Saved wmi INIT command
|
* struct wmi_init_cmd - Saved wmi INIT command
|
||||||
* @buf: Buffer containing the wmi INIT command
|
* @buf: Buffer containing the wmi INIT command
|
||||||
|
@@ -449,3 +449,12 @@ CDF_STATUS send_process_fw_mem_dump_cmd_tlv(wmi_unified_t wmi_handle,
|
|||||||
|
|
||||||
CDF_STATUS send_process_set_ie_info_cmd_tlv(wmi_unified_t wmi_handle,
|
CDF_STATUS send_process_set_ie_info_cmd_tlv(wmi_unified_t wmi_handle,
|
||||||
struct vdev_ie_info_param *ie_info);
|
struct vdev_ie_info_param *ie_info);
|
||||||
|
|
||||||
|
CDF_STATUS send_init_cmd_tlv(wmi_unified_t wmi_handle,
|
||||||
|
wmi_resource_config *res_cfg,
|
||||||
|
uint8_t num_mem_chunks, struct wmi_host_mem_chunk *mem_chunk,
|
||||||
|
bool action);
|
||||||
|
|
||||||
|
CDF_STATUS send_saved_init_cmd_tlv(wmi_unified_t wmi_handle);
|
||||||
|
|
||||||
|
CDF_STATUS save_fw_version_cmd_tlv(wmi_unified_t wmi_handle, void *evt_buf);
|
||||||
|
@@ -32,7 +32,10 @@
|
|||||||
* indicated version does not break WMI compatibility even though it has
|
* indicated version does not break WMI compatibility even though it has
|
||||||
* a minor version change.
|
* a minor version change.
|
||||||
*/
|
*/
|
||||||
wmi_whitelist_version_info version_whitelist[] = {
|
#ifndef _WMI_VERSION_WHITELIST_H_
|
||||||
|
#define _WMI_VERSION_WHITELIST_H_
|
||||||
|
static wmi_whitelist_version_info version_whitelist[] = {
|
||||||
{0, 0, 0x5F414351, 0x00004C4D, 0, 0}
|
{0, 0, 0x5F414351, 0x00004C4D, 0, 0}
|
||||||
/* Placeholder: Major=0, Minor=0, Namespace="QCA_ML" (Dummy entry) */
|
/* Placeholder: Major=0, Minor=0, Namespace="QCA_ML" (Dummy entry) */
|
||||||
};
|
};
|
||||||
|
#endif /* _WMI_VERSION_WHITELIST_H_ */
|
||||||
|
Reference in New Issue
Block a user