aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libbsc/system_information.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-01-13 00:10:32 +0100
committerHarald Welte <laforge@gnumonks.org>2017-01-26 15:24:07 +0100
commit42def7205ba91df4bbb7e3240be0df8c26c2d63e (patch)
treeb6958fbf6872e30cd37fbd70e97a648dac39e52a /openbsc/src/libbsc/system_information.c
parent6c4382b998c1f92b4fabbd52361b7166260c9054 (diff)
Implement VTY configuration to control Early Classmark Sending
The SI3 rest octests contain a flag that indicates if early classmark sending is allowed in this cell or not. So far we always set this to one, now it is configurable using the 'early-classmark-sending' command at the VTY node. Change-Id: Ia0b1cc5ab45673f3da70c59ae8917eba343f9862
Diffstat (limited to 'openbsc/src/libbsc/system_information.c')
-rw-r--r--openbsc/src/libbsc/system_information.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/src/libbsc/system_information.c b/openbsc/src/libbsc/system_information.c
index e71490eb7..a2dd8279a 100644
--- a/openbsc/src/libbsc/system_information.c
+++ b/openbsc/src/libbsc/system_information.c
@@ -764,6 +764,8 @@ static int generate_si3(uint8_t *output, struct gsm_bts *bts)
} else {
si_info.si2quater_indicator = 0;
}
+ si_info.early_cm_ctrl = bts->early_classmark_allowed;
+
/* SI3 Rest Octets (10.5.2.34), containing
CBQ, CELL_RESELECT_OFFSET, TEMPORARY_OFFSET, PENALTY_TIME
Power Offset, 2ter Indicator, Early Classmark Sending,