mirror of
https://github.com/Telecominfraproject/wlan-cloud-opensync-controller.git
synced 2025-10-31 18:47:57 +00:00
WIFI-2408 Support UnassocClientRx setting in RadioUtilization based on Mqtt data
This commit is contained in:
@@ -1136,6 +1136,10 @@ public class MqttStatsPublisher {
|
|||||||
int nonWifi = (busy - (busyTx + busyRx)) / totalDurationMs;
|
int nonWifi = (busy - (busyTx + busyRx)) / 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);
|
||||||
|
|
||||||
|
int pctOBSSAndSelfErrors = (busyRx - busySelf) / totalDurationMs;
|
||||||
|
checkIfOutOfBound("OBSSAndSelfErrors", pctOBSSAndSelfErrors, survey, totalDurationMs, busyTx, busyRx, busy, busySelf);
|
||||||
|
radioUtil.setUnassocClientRx(pctOBSSAndSelfErrors);
|
||||||
|
|
||||||
radioType = OvsdbToWlanCloudTypeMappingUtility.getRadioTypeFromOpensyncStatsRadioBandType(survey.getBand());
|
radioType = OvsdbToWlanCloudTypeMappingUtility.getRadioTypeFromOpensyncStatsRadioBandType(survey.getBand());
|
||||||
if (radioType != RadioType.UNSUPPORTED) {
|
if (radioType != RadioType.UNSUPPORTED) {
|
||||||
|
|||||||
Reference in New Issue
Block a user