aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-10-30 17:14:26 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2020-11-04 21:39:42 +0100
commitd87722d03c162971f5164ce9341053a82674e234 (patch)
treec4d2851c83cd1e0cb21cc1553cc3e9f58b3b924c /tests
parent46fd7a0316632bfce429ae42d0f446699f2592dd (diff)
pcuif: Improve BTS-supported CS/MCS handling
Take into account the MCS values supported by the BTS. In osmo-bts, in general all MCS are enabled if "mode egprs" is selected in BSC, and none otherwise. Change-Id: Ie8f0215ba17da1e545e98bec9325c02f1e8efaea
Diffstat (limited to 'tests')
-rw-r--r--tests/emu/pcu_emu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/emu/pcu_emu.cpp b/tests/emu/pcu_emu.cpp
index 41231a3..2b86457 100644
--- a/tests/emu/pcu_emu.cpp
+++ b/tests/emu/pcu_emu.cpp
@@ -68,7 +68,7 @@ static void init_main_bts()
struct gprs_rlcmac_bts *bts = bts_main_data();
bts->fc_interval = 100;
bts->initial_cs_dl = bts->initial_cs_ul = 1;
- bts->cs1 = 1;
+ bts->cs_mask = 1 << 0; /* CS-1 always enabled by default */
bts->n3101 = 10;
bts->n3103 = 4;
bts->n3105 = 8;