aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-04-18 15:53:40 +0200
committerHarald Welte <laforge@gnumonks.org>2010-04-18 21:25:56 +0200
commita06fea020d593f79337b4582bddebe9c9c3593cc (patch)
treebb67f2af4cf085590683c713fc5817a06c93a2f2 /openbsc/src
parent4511d891ddf221eeea32d33f6199fa76c17df9c3 (diff)
GPRS: actually enable indicating EDGE capability in SI13
Diffstat (limited to 'openbsc/src')
-rw-r--r--openbsc/src/system_information.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/openbsc/src/system_information.c b/openbsc/src/system_information.c
index 8072ba2d4..3bd833a93 100644
--- a/openbsc/src/system_information.c
+++ b/openbsc/src/system_information.c
@@ -405,7 +405,7 @@ static struct gsm48_si13_info si13_default = {
.ext_info_present = 0,
.ext_info = {
/* The values below are just guesses ! */
- .egprs_supported = 1,
+ .egprs_supported = 0,
.use_egprs_p_ch_req = 1,
.bep_period = 4,
.pfc_supported = 0,
@@ -460,6 +460,9 @@ int gsm_generate_si(u_int8_t *output, struct gsm_bts *bts, int type)
{
switch (bts->gprs.mode) {
case BTS_GPRS_EGPRS:
+ si13_default.cell_opts.ext_info_present = 1;
+ si13_default.cell_opts.ext_info.egprs_supported = 1;
+ /* fallthrough */
case BTS_GPRS_GPRS:
si_info.gprs_ind.present = 1;
break;