qcacmn: Add support for WMI_PDEV_WAL_POWER_DEBUG_CMD
Add host support for WMI POWER DEBUG command to control mac_core power features for run time debugging. Change-Id: Ifc810b24222507f1445a84a54caa8aee5e815b38 CRs-Fixed: 1007598
This commit is contained in:

committed by
Akash Patel

parent
81d7aaa0e3
commit
c10bde875f
@@ -1226,4 +1226,7 @@ QDF_STATUS wmi_extract_vdev_stats(void *wmi_hdl, void *evt_buf,
|
|||||||
|
|
||||||
QDF_STATUS wmi_extract_vdev_extd_stats(void *wmi_hdl, void *evt_buf,
|
QDF_STATUS wmi_extract_vdev_extd_stats(void *wmi_hdl, void *evt_buf,
|
||||||
uint32_t index, wmi_host_vdev_extd_stats *vdev_extd_stats);
|
uint32_t index, wmi_host_vdev_extd_stats *vdev_extd_stats);
|
||||||
|
|
||||||
|
QDF_STATUS wmi_unified_send_power_dbg_cmd(void *wmi_hdl,
|
||||||
|
struct wmi_power_dbg_params *param);
|
||||||
#endif /* _WMI_UNIFIED_API_H_ */
|
#endif /* _WMI_UNIFIED_API_H_ */
|
||||||
|
@@ -6293,5 +6293,22 @@ typedef struct {
|
|||||||
typedef struct {
|
typedef struct {
|
||||||
uint32_t channel;
|
uint32_t channel;
|
||||||
} wmi_host_ath_dcs_cw_int;
|
} wmi_host_ath_dcs_cw_int;
|
||||||
|
|
||||||
|
#define WMI_MAX_POWER_DBG_ARGS 8
|
||||||
|
|
||||||
|
/**
|
||||||
|
* struct wmi_power_dbg_params - power debug command parameter
|
||||||
|
* @pdev_id: subsystem identifier
|
||||||
|
* @module_id: parameter id
|
||||||
|
* @num_arg: no of arguments
|
||||||
|
* @args: arguments
|
||||||
|
*/
|
||||||
|
struct wmi_power_dbg_params {
|
||||||
|
uint32_t pdev_id;
|
||||||
|
uint32_t module_id;
|
||||||
|
uint32_t num_args;
|
||||||
|
uint32_t args[WMI_MAX_POWER_DBG_ARGS];
|
||||||
|
};
|
||||||
|
|
||||||
#endif /* _WMI_UNIFIED_PARAM_H_ */
|
#endif /* _WMI_UNIFIED_PARAM_H_ */
|
||||||
|
|
||||||
|
@@ -1020,6 +1020,9 @@ QDF_STATUS (*extract_tx_data_traffic_ctrl_ev)(wmi_unified_t wmi_handle,
|
|||||||
|
|
||||||
QDF_STATUS (*extract_vdev_extd_stats)(wmi_unified_t wmi_handle, void *evt_buf,
|
QDF_STATUS (*extract_vdev_extd_stats)(wmi_unified_t wmi_handle, void *evt_buf,
|
||||||
uint32_t index, wmi_host_vdev_extd_stats *vdev_extd_stats);
|
uint32_t index, wmi_host_vdev_extd_stats *vdev_extd_stats);
|
||||||
|
|
||||||
|
QDF_STATUS (*send_power_dbg_cmd)(wmi_unified_t wmi_handle,
|
||||||
|
struct wmi_power_dbg_params *param);
|
||||||
};
|
};
|
||||||
|
|
||||||
struct target_abi_version {
|
struct target_abi_version {
|
||||||
|
Reference in New Issue
Block a user