aboutsummaryrefslogtreecommitdiffstats
path: root/src/gsm
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@espeweb.net>2020-12-14 17:04:54 +0100
committerpespin <pespin@sysmocom.de>2020-12-17 15:22:09 +0000
commit946bb95af1838fcf026587c51a6ad36e34e202c3 (patch)
tree44287309f2c9ccf6505a757d8b898d84b86353e9 /src/gsm
parentbd10c21cc4cf439e6137fe1c3c9f7321b21526a3 (diff)
GPRS Cell Options (SI13): Add REL-4 CCN_ACTIVE bit
This is required in order to tell MS that osmo-pcu now supports Network Assisted Cell Change (NACC). Related: SYS#4909 Change-Id: I2aaa8c1107c977f711c2d7530034f57e36e3a237
Diffstat (limited to 'src/gsm')
-rw-r--r--src/gsm/gsm48_rest_octets.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gsm/gsm48_rest_octets.c b/src/gsm/gsm48_rest_octets.c
index 1f9c2b52..3a424f7e 100644
--- a/src/gsm/gsm48_rest_octets.c
+++ b/src/gsm/gsm48_rest_octets.c
@@ -906,6 +906,8 @@ static int append_gprs_cell_opt(struct bitvec *bv,
bitvec_set_bit(bv, 0);
} else {
/* extension information */
+
+ /* R99 extension: */
bitvec_set_bit(bv, 1);
if (!gco->ext_info.egprs_supported) {
/* 6bit length of extension */
@@ -927,6 +929,10 @@ static int append_gprs_cell_opt(struct bitvec *bv,
bitvec_set_bit(bv, gco->ext_info.pfc_supported);
bitvec_set_bit(bv, gco->ext_info.dtm_supported);
bitvec_set_bit(bv, gco->ext_info.bss_paging_coordination);
+
+ /* REL-4 extension: */
+ bitvec_set_bit(bv, gco->ext_info.ccn_active);
+ bitvec_set_bit(bv, 0); /* NW_EXT_UTBF disabled */
}
return 0;