Changes lte mimo setting methods and adds a dl signal level
For setting mimo, we don't have to change the max mimo layer.
Add a new dl signal level of -75 (great) so that there are more option
to set the downlink power level.
Bug: 277632995
Test: manually test with local modified acts_tests.zip
Change-Id: I197289f38169bfd7c26709d1b4f00d3a9f557104
diff --git a/acts/framework/acts/controllers/cellular_lib/LteSimulation.py b/acts/framework/acts/controllers/cellular_lib/LteSimulation.py
index 250a0d1..18d5755 100644
--- a/acts/framework/acts/controllers/cellular_lib/LteSimulation.py
+++ b/acts/framework/acts/controllers/cellular_lib/LteSimulation.py
@@ -92,9 +92,11 @@
DOWNLINK_SIGNAL_LEVEL_UNITS = "RSRP"
# RSRP signal levels thresholds (as reported by Android) in dBm/15KHz.
- # Excellent is set to -75 since callbox B Tx power is limited to -30 dBm
+ # excellent is set to -62 and also provide a good level for callbox B Tx
+ # power that is limited to some values such as -25 dBm or -30 dBm
DOWNLINK_SIGNAL_LEVEL_DICTIONARY = {
'excellent': -62,
+ 'great': -75,
'high': -110,
'medium': -115,
'weak': -120,
diff --git a/acts/framework/acts/controllers/rohdeschwarz_lib/cmx500.py b/acts/framework/acts/controllers/rohdeschwarz_lib/cmx500.py
index 9b840ed..3353773 100644
--- a/acts/framework/acts/controllers/rohdeschwarz_lib/cmx500.py
+++ b/acts/framework/acts/controllers/rohdeschwarz_lib/cmx500.py
@@ -799,7 +799,6 @@
raise CmxError("Wrong type of mimo mode")
self._cell.set_num_crs_antenna_ports(mimo.value)
- self._config_scheduler(dl_num_layers=MIMO_MAX_LAYER_MAPPING[mimo])
def set_scheduling_mode(self,
mcs_dl=None,