mirror of
				https://github.com/Telecominfraproject/wlan-cloud-opensync-controller.git
				synced 2025-10-31 02:27: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); | ||||
|  | ||||
|                     radioUtil.setAssocClientTx(pctBusyTx); | ||||
|                     int pctBusyRx = busyRx / totalDurationMs; | ||||
|                     int pctBusyRx = busySelf / totalDurationMs; | ||||
|                     checkIfOutOfBound("pctBusyRx", pctBusyRx, survey, totalDurationMs, busyTx, busyRx, busy, busySelf); | ||||
|                     radioUtil.setAssocClientRx(pctBusyRx); | ||||
|  | ||||
|                     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); | ||||
|                     int nonWifi = (busy - (busyTx + busyRx)) / totalDurationMs; | ||||
|                      | ||||
|                     int nonWifi = (busy - busyTx - busySelf) / totalDurationMs; | ||||
|                     checkIfOutOfBound("nonWifi", nonWifi, survey, totalDurationMs, busyTx, busyRx, busy, busySelf); | ||||
|                     radioUtil.setNonWifi(nonWifi); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Mike Hansen
					Mike Hansen