aboutsummaryrefslogtreecommitdiffstats
path: root/src/gprs_pcu.c
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-01-14 13:17:01 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2021-01-18 11:54:57 +0100
commite8dcf64881f0771cf695d7dc1102481dde7201b4 (patch)
tree6611140f28247ed6b48cf14b270418d99d006712 /src/gprs_pcu.c
parent97296b299cab6ac9e66082bb4c65da7422f0db12 (diff)
Move cs_adj* fields from BTS to PCU
Diffstat (limited to 'src/gprs_pcu.c')
-rw-r--r--src/gprs_pcu.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gprs_pcu.c b/src/gprs_pcu.c
index 2a84f7bc..d7a851b7 100644
--- a/src/gprs_pcu.c
+++ b/src/gprs_pcu.c
@@ -55,6 +55,9 @@ struct gprs_pcu *gprs_pcu_alloc(void *ctx)
/* By default resegmentation is supported in DL can also be configured
* through VTY */
pcu->vty.dl_arq_type = EGPRS_ARQ1;
+ pcu->vty.cs_adj_enabled = true;
+ pcu->vty.cs_adj_upper_limit = 33; /* Decrease CS if the error rate is above */
+ pcu->vty.cs_adj_lower_limit = 10; /* Increase CS if the error rate is below */
pcu->T_defs = T_defs_pcu;
osmo_tdefs_reset(pcu->T_defs);