From d99e20f97ab4708453514b90d542d8457ba8367a Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Tue, 26 Apr 2022 15:00:33 +0200 Subject: [PATCH] src/common/bts.c: set BTS_FEAT_CCN OsmoBSC assumed since If91d85331d402c3ab9c32b70c2c66cd7ba6ceb28 that OsmoBTS has CCN (NACC, Network Assisted Cell Change). With OsmoBSC Idf2d933aa8b03b1f708e56a08707fe6c620a97aa, instead of hardcoding some features for OsmoBTS in OsmoBSC, only the features reported by the BTS are used. Therefore report that BTS_FEATURE_CCN is supported in OsmoBTS. For previous OsmoBSC versions, this fixes the message: Get Attributes Response: reported feature 'CCN' is not supported, while we thought it is. Related: SYS#5922, OS#5538 Change-Id: Ic407e3be82afe61ed64b1cecf3dc94d2caff380a --- src/common/bts.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/bts.c b/src/common/bts.c index cbd99db35..a65bc9258 100644 --- a/src/common/bts.c +++ b/src/common/bts.c @@ -382,6 +382,7 @@ int bts_init(struct gsm_bts *bts) /* features implemented in 'common', available for all models, * order alphabetically */ osmo_bts_set_feature(bts->features, BTS_FEAT_ABIS_OSMO_PCU); + osmo_bts_set_feature(bts->features, BTS_FEAT_CCN); osmo_bts_set_feature(bts->features, BTS_FEAT_DYN_TS_SDCCH8); osmo_bts_set_feature(bts->features, BTS_FEAT_ETWS_PN); osmo_bts_set_feature(bts->features, BTS_FEAT_IPV6_NSVC);