qcacmn: CE Debug Enhancements WMI interface
Add WMI interface for the smart logging feature. Change-Id: Ife3784020d1b9458c2b09b6a2f31f55aab5f57ec CRs-Fixed: 2001507
This commit is contained in:
@@ -199,6 +199,7 @@ struct tgt_info {
|
||||
* @add_11ax_modes: Adds 11ax modes to reg cap
|
||||
* @set_default_tgt_config: Sets target config with default values
|
||||
* @sw_version_check: Checks the SW version
|
||||
* @smart_log_enable: Enable Smart Logs feature
|
||||
*/
|
||||
struct target_ops {
|
||||
QDF_STATUS (*ext_resource_config_enable)
|
||||
@@ -253,6 +254,9 @@ struct target_ops {
|
||||
struct wlan_objmgr_psoc *psoc,
|
||||
struct target_psoc_info *tgt_hdl,
|
||||
uint8_t *evt_buf);
|
||||
void (*smart_log_enable)
|
||||
(struct wlan_objmgr_psoc *psoc,
|
||||
struct target_psoc_info *tgt_info, uint8_t *event);
|
||||
};
|
||||
|
||||
|
||||
@@ -2067,5 +2071,24 @@ static inline int32_t target_psoc_get_num_hw_modes
|
||||
|
||||
return tgt_hdl->info.service_ext_param.num_hw_modes;
|
||||
}
|
||||
|
||||
/**
|
||||
* target_if_smart_log enable() - Enable Smart Logs
|
||||
* @psoc: psoc object
|
||||
* @tgt_hdl: target_psoc_info pointer
|
||||
* @evt_buf: Service ready Event buffer received from FW
|
||||
*
|
||||
* API to enable Smart Logs
|
||||
*
|
||||
* Return: none
|
||||
*/
|
||||
static inline void target_if_smart_log_enable
|
||||
(struct wlan_objmgr_psoc *psoc,
|
||||
struct target_psoc_info *tgt_hdl,
|
||||
uint8_t *evt_buf)
|
||||
{
|
||||
if ((tgt_hdl->tif_ops) && (tgt_hdl->tif_ops->smart_log_enable))
|
||||
tgt_hdl->tif_ops->smart_log_enable(psoc, tgt_hdl, evt_buf);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
مرجع در شماره جدید
Block a user