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:
Govind Singh
2016-05-02 17:59:24 +05:30
committed by Akash Patel
parent 81d7aaa0e3
commit c10bde875f
3 changed files with 23 additions and 0 deletions

View File

@@ -6293,5 +6293,22 @@ typedef struct {
typedef struct {
uint32_t channel;
} 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_ */