aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-sysmo/bts_model.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/osmo-bts-sysmo/bts_model.c')
-rw-r--r--src/osmo-bts-sysmo/bts_model.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/osmo-bts-sysmo/bts_model.c b/src/osmo-bts-sysmo/bts_model.c
index 7e9ffee2..ac4e2055 100644
--- a/src/osmo-bts-sysmo/bts_model.c
+++ b/src/osmo-bts-sysmo/bts_model.c
@@ -23,6 +23,8 @@
#include <osmo-bts/oml.h>
#include <osmo-bts/bts_model.h>
+#include "l1_if.h"
+
int bts_model_rsl_chan_act(struct gsm_lchan *lchan, struct tlv_parsed *tp)
{
uint8_t mode = *TLVP_VAL(tp, RSL_IE_CHAN_MODE);
@@ -44,3 +46,10 @@ int bts_model_rsl_deact_sacch(struct gsm_lchan *lchan)
{
return lchan_deactivate_sacch(lchan);
}
+
+int bts_model_trx_deact_rf(struct gsm_bts_trx *trx)
+{
+ struct femtol1_hdl *fl1 = trx_femtol1_hdl(trx);
+
+ return l1if_activate_rf(fl1, 0);
+}