aboutsummaryrefslogtreecommitdiffstats
path: root/src/libbsc/system_information.c
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2017-11-23 19:06:09 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2017-11-24 15:01:20 +0100
commite8dda5f296106ff6b79875cc24f25cf23e928c6b (patch)
treead8014b1ebacee8b194621c40dfc50fabd174ef3 /src/libbsc/system_information.c
parent91c76fd6565283d1043efecd06b88e86288be6fb (diff)
vty: Add cmd to configure 3g Early Classmark Sending
In state prior to this patch, "3G Early Classmark Sending Restriction" bit in SI3 rest octets was always set to H, which is a sane default as the policy to send the information is then controlled by "Early Classmark Sending Control" bit in the same octet. However, it seems Quortus SoftCore can have some issues decoding the option, so let's add a vty cmd to be able to disable it for those having any issues. Related: SYS#4021 Change-Id: Ic1afe071038a3bb5871d7ff40f665c8644f801ec
Diffstat (limited to 'src/libbsc/system_information.c')
-rw-r--r--src/libbsc/system_information.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libbsc/system_information.c b/src/libbsc/system_information.c
index d54dad861..c1b0d49f6 100644
--- a/src/libbsc/system_information.c
+++ b/src/libbsc/system_information.c
@@ -825,6 +825,7 @@ static struct gsm48_si_ro_info si_info = {
.ra_colour = 0,
.present = 1,
},
+ .early_cm_restrict_3g = false,
.si2quater_indicator = false,
.lsa_params = {
.present = 0,
@@ -871,6 +872,7 @@ static int generate_si3(enum osmo_sysinfo_type t, struct gsm_bts *bts)
si_info.si2quater_indicator = false;
}
si_info.early_cm_ctrl = bts->early_classmark_allowed;
+ si_info.early_cm_restrict_3g = !bts->early_classmark_allowed_3g;
/* SI3 Rest Octets (10.5.2.34), containing
CBQ, CELL_RESELECT_OFFSET, TEMPORARY_OFFSET, PENALTY_TIME