mirror of
https://github.com/Telecominfraproject/wlan-cloud-opensync-controller.git
synced 2025-11-01 19:17:52 +00:00
Merge pull request #37 from Telecominfraproject/WIFI-2408
WIFI-2408 Support UnassocClientRx setting in RadioUtilization based o…
This commit is contained in:
@@ -1137,6 +1137,10 @@ public class MqttStatsPublisher {
|
|||||||
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) {
|
||||||
if (apNodeMetrics.getRadioUtilization(radioType) == null) {
|
if (apNodeMetrics.getRadioUtilization(radioType) == null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user