|
@@ -2155,12 +2155,22 @@ static int wma_unified_link_radio_stats_event_handler(void *handle,
|
|
|
wma_debug("Channel Stats Info");
|
|
|
for (count = 0; count < radio_stats->num_channels; count++) {
|
|
|
wma_nofl_debug("freq %u width %u freq0 %u freq1 %u awake time %u cca busy time %u",
|
|
|
- channel_stats->center_freq,
|
|
|
- channel_stats->channel_width,
|
|
|
- channel_stats->center_freq0,
|
|
|
- channel_stats->center_freq1,
|
|
|
- channel_stats->radio_awake_time,
|
|
|
- channel_stats->cca_busy_time);
|
|
|
+ channel_stats->center_freq,
|
|
|
+ channel_stats->channel_width,
|
|
|
+ channel_stats->center_freq0,
|
|
|
+ channel_stats->center_freq1,
|
|
|
+ channel_stats->radio_awake_time,
|
|
|
+ channel_stats->cca_busy_time);
|
|
|
+ if (wmi_service_enabled(
|
|
|
+ wma_handle->wmi_handle,
|
|
|
+ wmi_service_ll_stats_per_chan_rx_tx_time)) {
|
|
|
+ wma_nofl_debug("tx time %u rx time %u",
|
|
|
+ channel_stats->tx_time,
|
|
|
+ channel_stats->rx_time);
|
|
|
+ } else {
|
|
|
+ wma_nofl_debug("LL Stats per channel tx time and rx time are not supported.");
|
|
|
+ }
|
|
|
+
|
|
|
channel_stats++;
|
|
|
|
|
|
qdf_mem_copy(chn_results,
|