Home
last modified time | relevance | path

Searched refs:busyTimeDiff (Results 1 – 1 of 1) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiChannelUtilization.java205 int busyTimeDiff = ccaBusyTimeMs - channelStatsRef.ccaBusyTimeMs; in calculateChannelUtilization() local
208 if (radioOnTimeDiff >= RADIO_ON_TIME_DIFF_MIN_MS && busyTimeDiff >= 0) { in calculateChannelUtilization()
209 utilizationRatio = calculateUtilizationRatio(radioOnTimeDiff, busyTimeDiff); in calculateChannelUtilization()
220 .append(" busyTimeDiff: ").append(busyTimeDiff) in calculateChannelUtilization()
262 private int calculateUtilizationRatio(int radioOnTimeDiff, int busyTimeDiff) { in calculateUtilizationRatio() argument
264 int utilizationRatio = busyTimeDiff * BssLoad.MAX_CHANNEL_UTILIZATION / radioOnTimeDiff; in calculateUtilizationRatio()