This repository was archived by the owner on Sep 7, 2020. It is now read-only.
File tree Expand file tree Collapse file tree
agent/src/beerocks/monitor Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -527,16 +527,17 @@ void monitor_thread::after_select(bool timeout)
527527 */
528528 auto radio_node = mon_db.get_radio_node ();
529529 auto &info = radio_node->ap_metrics_reporting_info ();
530+
530531 if (radio_node->get_stats ().vap_stats_available &&
531532 (0 != info.ap_channel_utilization_reporting_threshold )) {
532533 int elapsed_time_s =
533534 std::chrono::duration_cast<std::chrono::seconds>(
534535 now - info.ap_metrics_channel_utilization_last_reporting_time_point )
535536 .count ();
536-
537+ LOG (DEBUG) << " VT: if (radio_node->get_stats().vap_stats_available && " ;
537538 if (elapsed_time_s >= ap_metrics_channel_utilization_measurement_period_s) {
538539 info.ap_metrics_channel_utilization_last_reporting_time_point = now;
539-
540+ LOG (DEBUG) << " VT: Call on_channel_utilization_measurement_period_elapsed " ;
540541 on_channel_utilization_measurement_period_elapsed ();
541542 }
542543 }
@@ -553,7 +554,7 @@ void monitor_thread::on_channel_utilization_measurement_period_elapsed()
553554 LOG (ERROR) << " Unable to get channel utilization" ;
554555 return ;
555556 }
556-
557+ LOG (DEBUG) << " VT: Start process hannel utilization " ;
557558 /* *
558559 * If previous channel utilization was lower than the threshold and now it is higher than the
559560 * threshold, report it.
You can’t perform that action at this time.
0 commit comments