aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libbsc/system_information.c
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2016-07-28 11:55:37 +0200
committerHarald Welte <laforge@gnumonks.org>2016-09-17 10:00:58 +0000
commit292ec58e6730c013026f20578a40e1ff48b35688 (patch)
tree8643d479b752e190a7a27212c0507cfbc399b58b /openbsc/src/libbsc/system_information.c
parent2867f883a11388bb04c1a5177b279c1cc74eafe4 (diff)
Modify SI 13 field for control_ack_type
Add vty function to explicitly set use of 4xRACH type of ack message for PACKET CONTROL ACKNOWLEDGMENT. Previous hardcoded value (use RLC/MAC control block) is used as a default. This is handy for debugging issues related to Timing Advance in context of GPRS. Change-Id: Ie869ac0a82055110f1e3b875e246750c4e113336 Related: OS#1526
Diffstat (limited to 'openbsc/src/libbsc/system_information.c')
-rw-r--r--openbsc/src/libbsc/system_information.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsc/src/libbsc/system_information.c b/openbsc/src/libbsc/system_information.c
index 69d2f7c8e..3f6d6b909 100644
--- a/openbsc/src/libbsc/system_information.c
+++ b/openbsc/src/libbsc/system_information.c
@@ -956,6 +956,7 @@ static struct gsm48_si13_info si13_default = {
.t3192 = 1500,
.drx_timer_max = 3,
.bs_cv_max = 15,
+ .ctrl_ack_type_use_block = true,
.ext_info_present = 0,
.supports_egprs_11bit_rach = 0,
.ext_info = {
@@ -1003,6 +1004,9 @@ static int generate_si13(uint8_t *output, struct gsm_bts *bts)
si13_default.no_pbcch.rac = bts->gprs.rac;
si13_default.no_pbcch.net_ctrl_ord = bts->gprs.net_ctrl_ord;
+ si13_default.cell_opts.ctrl_ack_type_use_block =
+ bts->gprs.ctrl_ack_type_use_block;
+
/* Information about the other SIs */
si13_default.bcch_change_mark = bts->bcch_change_mark;
si13_default.cell_opts.supports_egprs_11bit_rach =