|
@@ -3152,13 +3152,11 @@ QDF_STATUS wma_open(struct wlan_objmgr_psoc *psoc,
|
|
|
wma_peer_info_event_handler,
|
|
|
WMA_RX_SERIALIZER_CTX);
|
|
|
|
|
|
-#ifdef WLAN_POWER_DEBUGFS
|
|
|
/* register for Chip Power stats event */
|
|
|
wmi_unified_register_event_handler(wma_handle->wmi_handle,
|
|
|
wmi_pdev_chip_power_stats_event_id,
|
|
|
wma_unified_power_debug_stats_event_handler,
|
|
|
WMA_RX_SERIALIZER_CTX);
|
|
|
-#endif
|
|
|
#ifdef WLAN_FEATURE_BEACON_RECEPTION_STATS
|
|
|
/* register for beacon stats event */
|
|
|
wmi_unified_register_event_handler(wma_handle->wmi_handle,
|
|
@@ -7491,7 +7489,6 @@ static inline QDF_STATUS wma_send_wow_pulse_cmd(tp_wma_handle wma_handle,
|
|
|
*
|
|
|
* Return: QDF_STATUS
|
|
|
*/
|
|
|
-#ifdef WLAN_POWER_DEBUGFS
|
|
|
static QDF_STATUS wma_process_power_debug_stats_req(tp_wma_handle wma_handle)
|
|
|
{
|
|
|
wmi_pdev_get_chip_power_stats_cmd_fixed_param *cmd;
|
|
@@ -7529,12 +7526,6 @@ static QDF_STATUS wma_process_power_debug_stats_req(tp_wma_handle wma_handle)
|
|
|
}
|
|
|
return QDF_STATUS_SUCCESS;
|
|
|
}
|
|
|
-#else
|
|
|
-static QDF_STATUS wma_process_power_debug_stats_req(tp_wma_handle wma_handle)
|
|
|
-{
|
|
|
- return QDF_STATUS_SUCCESS;
|
|
|
-}
|
|
|
-#endif
|
|
|
#ifdef WLAN_FEATURE_BEACON_RECEPTION_STATS
|
|
|
static QDF_STATUS wma_process_beacon_debug_stats_req(tp_wma_handle wma_handle,
|
|
|
uint32_t *vdev_id)
|