qcacmn: Clean up legacy F/W event handler
target_if F/W event handler is moved from wma to cmn part per MCL/WIN converge requirement, clean up legacy call back. Change-Id: Ifacc6bb46e6bde1a73d9953e3403551dd2e92939 CRs-Fixed: 2555080
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
377595c534
commit
ed37c7cbca
@@ -121,19 +121,6 @@ typedef qdf_nbuf_t wmi_buf_t;
|
||||
|
||||
struct wmi_soc;
|
||||
struct policy_mgr_dual_mac_config;
|
||||
/**
|
||||
* struct wmi_rx_ops - handle to wmi rx ops
|
||||
* @scn_handle: handle to scn
|
||||
* @ev: event buffer
|
||||
* @rx_ctx: rx execution context
|
||||
* @wma_process_fw_event_handler_cbk: generic event handler callback
|
||||
*/
|
||||
struct wmi_rx_ops {
|
||||
|
||||
int (*wma_process_fw_event_handler_cbk)(ol_scn_t scn_handle,
|
||||
void *ev,
|
||||
uint8_t rx_ctx);
|
||||
};
|
||||
|
||||
/**
|
||||
* enum wmi_target_type - type of supported wmi command
|
||||
@@ -177,7 +164,6 @@ struct wmi_unified_attach_params {
|
||||
enum wmi_target_type target_type;
|
||||
bool use_cookie;
|
||||
bool is_async_ep;
|
||||
struct wmi_rx_ops *rx_ops;
|
||||
struct wlan_objmgr_psoc *psoc;
|
||||
uint16_t max_commands;
|
||||
uint32_t soc_id;
|
||||
|
@@ -2118,7 +2118,6 @@ struct wmi_unified {
|
||||
bool tag_crash_inject;
|
||||
bool tgt_force_assert_enable;
|
||||
enum wmi_target_type target_type;
|
||||
struct wmi_rx_ops rx_ops;
|
||||
struct wmi_ops *ops;
|
||||
bool use_cookie;
|
||||
bool wmi_stopinprogress;
|
||||
|
@@ -2753,9 +2753,6 @@ void *wmi_unified_attach(void *scn_handle,
|
||||
goto error;
|
||||
}
|
||||
wmi_interface_logging_init(wmi_handle, WMI_HOST_PDEV_ID_0);
|
||||
/* Attach mc_thread context processing function */
|
||||
wmi_handle->rx_ops.wma_process_fw_event_handler_cbk =
|
||||
param->rx_ops->wma_process_fw_event_handler_cbk;
|
||||
wmi_handle->target_type = param->target_type;
|
||||
soc->target_type = param->target_type;
|
||||
|
||||
|
Reference in New Issue
Block a user