aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2022-03-18 19:56:41 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2022-03-18 20:11:22 +0100
commit07fba2b629094952f1b86e14f8371890329b6f8c (patch)
tree5e6ef1af3cb792f8042f0f6508bb66eb864fbc8c
parent4501ed413c44c74253126e6094521382550ed621 (diff)
SI13: Avoid enabling use_egprs_p_ch_req if egprs not supported
It makes no sense to enable that field if the ext_info.egprs_supported field marks EGPRS as disabled. From TS 44.060 11.2.5a: """ This message may be sent by an EGPRS capable mobile station *in a cell supporting EGPRS* and where the EGPRS_PACKET_CHANNEL_REQUEST parameter indicates that this message shall be used. """ Related: SYS#5891 Change-Id: I5ac173116f8681d7340b75b2baff110158fab9fd
-rw-r--r--src/osmo-bsc/system_information.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bsc/system_information.c b/src/osmo-bsc/system_information.c
index 9aae7bd16..45f986080 100644
--- a/src/osmo-bsc/system_information.c
+++ b/src/osmo-bsc/system_information.c
@@ -1256,7 +1256,7 @@ static int generate_si13(enum osmo_sysinfo_type t, struct gsm_bts *bts)
si13_default.bcch_change_mark = bts->bcch_change_mark;
/* Whether EGPRS capable MSs shall use EGPRS PACKET CHANNEL REQUEST */
- if (bts->gprs.egprs_pkt_chan_request)
+ if (bts->gprs.egprs_pkt_chan_request && si13_default.cell_opts.ext_info.egprs_supported)
si13_default.cell_opts.ext_info.use_egprs_p_ch_req = 1;
else
si13_default.cell_opts.ext_info.use_egprs_p_ch_req = 0;