aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2016-01-07 15:00:43 +0100
committerJacob Erlbeck <jerlbeck@sysmocom.de>2016-02-01 13:58:14 +0100
commit96ccea8436f9a5bbd9f459c6c1bdb9a24dd2bed9 (patch)
treea799d76a9e877932412bf4a8cf801003edd24c3e
parent4c9e549aa3d65c6b8c6b001895904cc82cb81a64 (diff)
edge: Add initial_mcs_dl and initial_mcs_ul config values
Provide the initial MCS values for EGPRS data blocks. They are set to 1 (MCS-1) for each direction and there is no support to change these configuration values yet (the automatic adaption still works, so there is probably no need to set these values). Sponsored-by: On-Waves ehf
-rw-r--r--src/bts.h1
-rw-r--r--src/pcu_main.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/bts.h b/src/bts.h
index 1498ced3..0928f8d7 100644
--- a/src/bts.h
+++ b/src/bts.h
@@ -155,6 +155,7 @@ struct gprs_rlcmac_bts {
uint8_t cs3;
uint8_t cs4;
uint8_t initial_cs_dl, initial_cs_ul;
+ uint8_t initial_mcs_dl, initial_mcs_ul;
uint8_t max_cs_dl, max_cs_ul;
uint8_t max_mcs_dl, max_mcs_ul;
uint8_t force_cs; /* 0=use from BTS 1=use from VTY */
diff --git a/src/pcu_main.cpp b/src/pcu_main.cpp
index 4156c4b8..39de0555 100644
--- a/src/pcu_main.cpp
+++ b/src/pcu_main.cpp
@@ -163,6 +163,7 @@ int main(int argc, char *argv[])
bts = bts_main_data();
bts->fc_interval = 1;
bts->initial_cs_dl = bts->initial_cs_ul = 1;
+ bts->initial_mcs_dl = bts->initial_mcs_ul = 1;
bts->cs1 = 1;
bts->t3142 = 20;
bts->t3169 = 5;