diff options
Diffstat (limited to 'src/osmo-bts-oc2g/oc2g_l1_if.c')
-rw-r--r-- | src/osmo-bts-oc2g/oc2g_l1_if.c | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/src/osmo-bts-oc2g/oc2g_l1_if.c b/src/osmo-bts-oc2g/oc2g_l1_if.c index a41e7afe..2c9da725 100644 --- a/src/osmo-bts-oc2g/oc2g_l1_if.c +++ b/src/osmo-bts-oc2g/oc2g_l1_if.c @@ -35,6 +35,7 @@ #include <gprs_debug.h> #include <pcu_l1_if.h> +#include <pcu_l1_if_phy.h> #include <osmocom/pcu/pcuif_proto.h> #include <bts.h> @@ -145,6 +146,11 @@ int l1if_connect_pdch(void *obj, uint8_t ts) return l1if_req_pdch(fl1h, msg); } +int l1if_disconnect_pdch(void *obj, uint8_t ts) +{ + return 0; +} + static int handle_ph_readytosend_ind(struct oc2gl1_hdl *fl1h, GsmL1_PhReadyToSendInd_t *rts_ind) { @@ -366,7 +372,7 @@ int l1if_pdch_req(void *obj, uint8_t ts, int is_ptcch, uint32_t fn, return 0; } -void *l1if_open_pdch(uint8_t trx_no, uint32_t hlayer1) +void *l1if_open_trx(uint8_t bts_nr, uint8_t trx_no, uint32_t hlayer1, struct gsmtap_inst *gsmtap) { struct oc2gl1_hdl *fl1h; int rc; @@ -395,7 +401,7 @@ void *l1if_open_pdch(uint8_t trx_no, uint32_t hlayer1) return fl1h; } -int l1if_close_pdch(void *obj) +int l1if_close_trx(void *obj) { struct oc2gl1_hdl *fl1h = obj; if (fl1h) @@ -403,3 +409,8 @@ int l1if_close_pdch(void *obj) talloc_free(fl1h); return 0; } + +int l1if_init(void) +{ + return 0; +} |