aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-octphy
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2022-04-22 16:51:47 +0200
committerOliver Smith <osmith@sysmocom.de>2022-04-25 11:14:30 +0200
commit8630f898b248830f2c551e25874fe8016b305d62 (patch)
tree85a341534458aa8121fbe2c8a198697524897cd1 /src/osmo-bts-octphy
parent0f075a1e2ddba122d2ab01b8d04cfc05c220f0cd (diff)
model_init: order features alphabetically, part 2
Order the ones I've overlooked as well. Related: SYS#5922, OS#5538 Change-Id: I0aa344de9ea4849de0fcd7b44bfaa70274af594b
Diffstat (limited to 'src/osmo-bts-octphy')
-rw-r--r--src/osmo-bts-octphy/l1_if.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/osmo-bts-octphy/l1_if.c b/src/osmo-bts-octphy/l1_if.c
index ebd960e3..110f8a3f 100644
--- a/src/osmo-bts-octphy/l1_if.c
+++ b/src/osmo-bts-octphy/l1_if.c
@@ -773,11 +773,12 @@ int bts_model_init(struct gsm_bts *bts)
/* FIXME: what is the nominal transmit power of the PHY/board? */
bts->c0->nominal_power = 15;
- osmo_bts_set_feature(bts->features, BTS_FEAT_GPRS);
- osmo_bts_set_feature(bts->features, BTS_FEAT_OML_ALERTS);
+ /* order alphabetically */
#if defined(cOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM_FCCH_SCH_BCCH_CCCH_SDCCH4_CBCH_SACCHC4) && defined(cOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM_SDCCH8_CBCH_SACCHC8)
osmo_bts_set_feature(bts->features, BTS_FEAT_CBCH);
#endif
+ osmo_bts_set_feature(bts->features, BTS_FEAT_GPRS);
+ osmo_bts_set_feature(bts->features, BTS_FEAT_OML_ALERTS);
osmo_bts_set_feature(bts->features, BTS_FEAT_SPEECH_F_V1);
osmo_bts_set_feature(bts->features, BTS_FEAT_SPEECH_H_V1);