Associated Client Rx and Unassociated Client Rx graphs are overlapping

Fix calc error for nonWifi

Signed-off-by: Mike Hansen <mike.hansen@connectus.ai>
This commit is contained in:
Mike Hansen
2021-07-15 16:00:04 -04:00
parent 7a646fd459
commit 80845aa800

View File

@@ -1140,7 +1140,7 @@ public class MqttStatsPublisher implements StatsPublisherInterface {
}
radioUtil.setIbss(pctIBSS);
int nonWifi = (busy - busyTx - busySelf) / totalDurationMs;
int nonWifi = (busy - (busyTx + busyRx)) / totalDurationMs;
checkIfOutOfBound("nonWifi", nonWifi, survey, totalDurationMs, busyTx, busyRx, busy, busySelf);
radioUtil.setNonWifi(nonWifi);