mirror of
https://github.com/Telecominfraproject/wlan-cloud-opensync-controller.git
synced 2025-11-01 02:57:49 +00:00
Associated Client Rx and Unassociated Client Rx graphs are overlapping
Updates needed: AssociatedClientRx = Rx for Self Signed-off-by: Mike Hansen <mike.hansen@connectus.ai>
This commit is contained in:
@@ -1126,13 +1126,21 @@ public class MqttStatsPublisher implements StatsPublisherInterface {
|
|||||||
checkIfOutOfBound("pctBusyTx", pctBusyTx, survey, totalDurationMs, busyTx, busyRx, busy, busySelf);
|
checkIfOutOfBound("pctBusyTx", pctBusyTx, survey, totalDurationMs, busyTx, busyRx, busy, busySelf);
|
||||||
|
|
||||||
radioUtil.setAssocClientTx(pctBusyTx);
|
radioUtil.setAssocClientTx(pctBusyTx);
|
||||||
int pctBusyRx = busyRx / totalDurationMs;
|
int pctBusyRx = busySelf / totalDurationMs;
|
||||||
checkIfOutOfBound("pctBusyRx", pctBusyRx, survey, totalDurationMs, busyTx, busyRx, busy, busySelf);
|
checkIfOutOfBound("pctBusyRx", pctBusyRx, survey, totalDurationMs, busyTx, busyRx, busy, busySelf);
|
||||||
radioUtil.setAssocClientRx(pctBusyRx);
|
radioUtil.setAssocClientRx(pctBusyRx);
|
||||||
|
|
||||||
double pctIBSS = (busyTx + busySelf) / totalDurationMs;
|
double pctIBSS = (busyTx + busySelf) / totalDurationMs;
|
||||||
|
if (pctIBSS > 100D || pctIBSS < 0D) {
|
||||||
|
LOG.warn(
|
||||||
|
"Calculated value for {} {} is out of bounds on totalDurationMs {} for survey.getBand {}. busyTx {} busyRx {} busy {} busySelf {} "
|
||||||
|
+ " survey.getTimestampMs {}, survey.getSurveyListList {}",
|
||||||
|
"pctIBSS", pctIBSS, totalDurationMs, survey.getBand(), busyTx, busyRx, busy, busySelf, survey.getTimestampMs(),
|
||||||
|
survey.getSurveyListList());
|
||||||
|
}
|
||||||
radioUtil.setIbss(pctIBSS);
|
radioUtil.setIbss(pctIBSS);
|
||||||
int nonWifi = (busy - (busyTx + busyRx)) / totalDurationMs;
|
|
||||||
|
int nonWifi = (busy - busyTx - busySelf) / totalDurationMs;
|
||||||
checkIfOutOfBound("nonWifi", nonWifi, survey, totalDurationMs, busyTx, busyRx, busy, busySelf);
|
checkIfOutOfBound("nonWifi", nonWifi, survey, totalDurationMs, busyTx, busyRx, busy, busySelf);
|
||||||
radioUtil.setNonWifi(nonWifi);
|
radioUtil.setNonWifi(nonWifi);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user