aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libbsc/system_information.c
diff options
context:
space:
mode:
authorbhargava <Bhargava.Abhyankar@radisys.com>2016-07-21 11:14:34 +0530
committerHarald Welte <laforge@gnumonks.org>2016-07-28 06:49:03 +0000
commit350533cc32cf686b6375f92083981e23c2a86082 (patch)
treec01e2f3872d9cbcd02d1b824868e0764f5ef4ef5 /openbsc/src/libbsc/system_information.c
parente3dc498e01a2a0d03e36f147c0aa3e5b69f3c738 (diff)
Modify SI 13 field to support 11 bit RACH
System Information 13 field EGPRS PACKET CHANNEL REQUEST is modified to support 11 bit RACH. Further VTY configuration is added to enable/disable 11 bit RACH support in EGPRS. By default 11 bit RACH support is disabled. Change-Id: I51357bec936c28a26ab9ff5d59e0e30ca3363297
Diffstat (limited to 'openbsc/src/libbsc/system_information.c')
-rw-r--r--openbsc/src/libbsc/system_information.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/src/libbsc/system_information.c b/openbsc/src/libbsc/system_information.c
index fd228e398..69d2f7c8e 100644
--- a/openbsc/src/libbsc/system_information.c
+++ b/openbsc/src/libbsc/system_information.c
@@ -957,6 +957,7 @@ static struct gsm48_si13_info si13_default = {
.drx_timer_max = 3,
.bs_cv_max = 15,
.ext_info_present = 0,
+ .supports_egprs_11bit_rach = 0,
.ext_info = {
/* The values below are just guesses ! */
.egprs_supported = 0,
@@ -1004,6 +1005,8 @@ static int generate_si13(uint8_t *output, struct gsm_bts *bts)
/* Information about the other SIs */
si13_default.bcch_change_mark = bts->bcch_change_mark;
+ si13_default.cell_opts.supports_egprs_11bit_rach =
+ bts->gprs.supports_egprs_11bit_rach;
ret = rest_octets_si13(si13->rest_octets, &si13_default);
if (ret < 0)