From 9375aa9a68fd101997c88669d7bf7bb70aa51178 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Thu, 16 Jun 2016 17:11:27 +0200 Subject: dyn PDCH: add bts_model_ts_connect() and _disconnect() stubs Enhance bts_model_ API in preparation of dyn PDCH switching. These will be used to re-connect a TCH/F_PDCH TS in a different mode: either as TCH/F or as PDCH. All implementations so far return -ENOTSUP, and thus will cause a IPAC PDCH ACT or DEACT *NACK* to be sent to the BSC as soon as these messages are handled. Also add stubs in tests. Change-Id: I21e60c028a1333431c3ed000f788b654d1170b0d --- src/osmo-bts-octphy/l1_oml.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/osmo-bts-octphy/l1_oml.c') diff --git a/src/osmo-bts-octphy/l1_oml.c b/src/osmo-bts-octphy/l1_oml.c index 401201a7..c893b044 100644 --- a/src/osmo-bts-octphy/l1_oml.c +++ b/src/osmo-bts-octphy/l1_oml.c @@ -1585,3 +1585,14 @@ int bts_model_change_power(struct gsm_bts_trx *trx, int p_trxout_mdBm) #warning "Implement bts_model_change_power based on TRX_MODIFY_RF_CID" return 0; } + +int bts_model_ts_disconnect(struct gsm_bts_trx_ts *ts) +{ + return -ENOTSUP; +} + +int bts_model_ts_connect(struct gsm_bts_trx_ts *ts, + enum gsm_phys_chan_config as_pchan) +{ + return -ENOTSUP; +} -- cgit v1.2.3