aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2020-06-21 15:36:55 +0200
committerHarald Welte <laforge@osmocom.org>2020-06-21 18:09:42 +0200
commitdf60b51f1045b41723f7c07890575b8f930cab07 (patch)
treeff6ee6535b51a0e2785adefb483c21e5d669a780
parentdd4c93b3f99534b5a1b4a1000eddddfd6a9de7fa (diff)
system_information: Set BSS_PAGING_COORDINATION in SI13 for osmo-bts
osmo-bts (in combination with osmo-pcu) has been supporting paging for CS services via PCU/PACCH for a very long time. Let's make sure this is reflected by the correct BSS_PAGING_COORDINATION bit. Change-Id: I0e80ca5afc06737273b6699bde6e325e454b57f6 Requires: libosmocore.git Ifb2e83eaf05dd36e5b203ed2de1a74864b039e38 Related: OS#2406
-rw-r--r--src/osmo-bsc/bts_sysmobts.c1
-rw-r--r--src/osmo-bsc/system_information.c5
2 files changed, 6 insertions, 0 deletions
diff --git a/src/osmo-bsc/bts_sysmobts.c b/src/osmo-bsc/bts_sysmobts.c
index ad127336a..6f9dc77cb 100644
--- a/src/osmo-bsc/bts_sysmobts.c
+++ b/src/osmo-bsc/bts_sysmobts.c
@@ -58,6 +58,7 @@ int bts_model_sysmobts_init(void)
osmo_bts_set_feature(&model_sysmobts.features, BTS_FEAT_GPRS);
osmo_bts_set_feature(&model_sysmobts.features, BTS_FEAT_EGPRS);
+ osmo_bts_set_feature(&model_sysmobts.features, BTS_FEAT_PAGING_COORDINATION);
return gsm_bts_model_register(&model_sysmobts);
}
diff --git a/src/osmo-bsc/system_information.c b/src/osmo-bsc/system_information.c
index de01112f9..4a1118e4e 100644
--- a/src/osmo-bsc/system_information.c
+++ b/src/osmo-bsc/system_information.c
@@ -1202,6 +1202,11 @@ static int generate_si13(enum osmo_sysinfo_type t, struct gsm_bts *bts)
else
si13_default.cell_opts.ext_info.use_egprs_p_ch_req = 0;
+ if (osmo_bts_has_feature(&bts->features, BTS_FEAT_PAGING_COORDINATION))
+ si13_default.cell_opts.ext_info.bss_paging_coordination = 1;
+ else
+ si13_default.cell_opts.ext_info.bss_paging_coordination = 0;
+
ret = rest_octets_si13(si13->rest_octets, &si13_default);
if (ret < 0)
return ret;