diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2013-02-05 11:45:28 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2015-09-22 16:41:24 +0200 |
commit | acc71ffb4b61b3354bbb2fa14981e4e6a46946e6 (patch) | |
tree | b32d0f93b6055283a74d70e7c777907e22745739 /include | |
parent | c64fa4f88818a63bada0e34d179fd04319de47e1 (diff) |
TRX: Introduce osmobts-trx, a layer 1 implementation for OpenBTS tranceivers
The code is quite complete, TCH and PDCH channels are not yet tested.
Diffstat (limited to 'include')
-rw-r--r-- | include/osmo-bts/gsm_data.h | 7 | ||||
-rw-r--r-- | include/osmo-bts/logging.h | 1 | ||||
-rw-r--r-- | include/osmo-bts/rsl.h | 2 |
3 files changed, 10 insertions, 0 deletions
diff --git a/include/osmo-bts/gsm_data.h b/include/osmo-bts/gsm_data.h index bfa5285b..06115b33 100644 --- a/include/osmo-bts/gsm_data.h +++ b/include/osmo-bts/gsm_data.h @@ -115,6 +115,13 @@ static inline struct femtol1_hdl *trx_femtol1_hdl(struct gsm_bts_trx *trx) return trx->role_bts.l1h; } +struct trx_l1h; + +static inline struct trx_l1h *trx_l1h_hdl(struct gsm_bts_trx *trx) +{ + return trx->role_bts.l1h; +} + void lchan_set_state(struct gsm_lchan *lchan, enum gsm_lchan_state state); diff --git a/include/osmo-bts/logging.h b/include/osmo-bts/logging.h index 226f77b7..b7c8a270 100644 --- a/include/osmo-bts/logging.h +++ b/include/osmo-bts/logging.h @@ -16,6 +16,7 @@ enum { DDSP, DPCU, DHO, + DTRX, DABIS, DRTP, DSUM, diff --git a/include/osmo-bts/rsl.h b/include/osmo-bts/rsl.h index 42ea6ef7..6cb40dd2 100644 --- a/include/osmo-bts/rsl.h +++ b/include/osmo-bts/rsl.h @@ -11,6 +11,8 @@ enum { LCHAN_REL_ACT_OML, }; +int msgb_queue_flush(struct llist_head *list); + int down_rsl(struct gsm_bts_trx *trx, struct msgb *msg); int rsl_tx_rf_res(struct gsm_bts_trx *trx); int rsl_tx_chan_rqd(struct gsm_bts_trx *trx, struct gsm_time *gtime, |