Loading go-packages/meep-vis-traffic-mgr/traffic-mgr.go +0 −3 Original line number Diff line number Diff line Loading @@ -893,15 +893,12 @@ func findReducedSignalStrength(inRsrp int32, inRsrq int32, users int32, averageL // Case: crowded area if users > averageLoad { log.Debug("The number of users: " + string(users) + "exceeds the overall average " + string(averageLoad) + "for this POA") log.Debug("The original values of RSRP and RSRQ were " + string(inRsrp) + " and " + string(inRsrq)) redRsrp = int32(float32(inRsrp) * (float32(averageLoad) / float32(users))) redRsrq = int32(float32(inRsrq) * (float32(averageLoad) / float32(users))) return redRsrp, redRsrq, nil } else { log.Debug("Number of users " + string(users) + " fall below the POA average, i.e., " + string(averageLoad)) // no change in RSRP and RSRQ values return inRsrp, inRsrq, nil } Loading Loading
go-packages/meep-vis-traffic-mgr/traffic-mgr.go +0 −3 Original line number Diff line number Diff line Loading @@ -893,15 +893,12 @@ func findReducedSignalStrength(inRsrp int32, inRsrq int32, users int32, averageL // Case: crowded area if users > averageLoad { log.Debug("The number of users: " + string(users) + "exceeds the overall average " + string(averageLoad) + "for this POA") log.Debug("The original values of RSRP and RSRQ were " + string(inRsrp) + " and " + string(inRsrq)) redRsrp = int32(float32(inRsrp) * (float32(averageLoad) / float32(users))) redRsrq = int32(float32(inRsrq) * (float32(averageLoad) / float32(users))) return redRsrp, redRsrq, nil } else { log.Debug("Number of users " + string(users) + " fall below the POA average, i.e., " + string(averageLoad)) // no change in RSRP and RSRQ values return inRsrp, inRsrq, nil } Loading