Przeglądaj źródła

qcacld-3.0: Get time slice duty cycle from FW

Get time slice duty cycle percentage from firmware.

Change-Id: I6f34948adfb853f61b0498ec68332e39a1b10122
CRs-Fixed: 3021684
Yu Ouyang 3 lat temu
rodzic
commit
ee65b8465e
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      core/wma/src/wma_utils.c

+ 2 - 1
core/wma/src/wma_utils.c

@@ -2778,7 +2778,8 @@ int wma_unified_link_iface_stats_event_handler(void *handle,
 	/* Copy roaming state */
 	iface_stat->info.roaming = link_stats->roam_state;
 	/* Copy time slicing duty cycle */
-	iface_stat->info.time_slice_duty_cycle = 100;
+	iface_stat->info.time_slice_duty_cycle =
+		link_stats->time_slice_duty_cycle;
 
 	iface_ac_stats = &iface_stat->ac_stats[0];
 	for (count = 0; count < link_stats->num_ac; count++) {