aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-octphy/l1_if.c
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2017-06-09 18:37:33 +0200
committerMax <msuraev@sysmocom.de>2017-06-15 12:55:16 +0000
commitde9357251c53af4e5abee5724c098d1db6271bf9 (patch)
treee6b92914de5320a481276fbd62f4d2b61af6a934 /src/osmo-bts-octphy/l1_if.c
parentb7793ed8fd29fb2c4092ed08abcf8c859cd18108 (diff)
Set and report BTS features
Set (possibly incomplete) list of BTS model-specific features and report them in response to attribute request via OML. Change-Id: I5f8a6681c3562ec261441e84dde6e085b516d92f Related: OS#1614
Diffstat (limited to 'src/osmo-bts-octphy/l1_if.c')
-rw-r--r--src/osmo-bts-octphy/l1_if.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/osmo-bts-octphy/l1_if.c b/src/osmo-bts-octphy/l1_if.c
index 042ecc33..85b5a86f 100644
--- a/src/osmo-bts-octphy/l1_if.c
+++ b/src/osmo-bts-octphy/l1_if.c
@@ -782,6 +782,9 @@ int bts_model_init(struct gsm_bts *bts)
/* FIXME: what is the nominal transmit power of the PHY/board? */
bts->c0->nominal_power = 15;
+ gsm_bts_set_feature(bts, BTS_FEAT_GPRS);
+ gsm_bts_set_feature(bts, BTS_FEAT_OML_ALERTS);
+
bts_model_vty_init(bts);
return 0;