aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-sysmo/oml.c
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2012-07-20 16:47:56 +0200
committerHarald Welte <laforge@gnumonks.org>2012-07-21 13:18:45 +0200
commit1ddb183736bad257b8e774c0d0ab1ff8f628b442 (patch)
tree16b5e64b54547a9081a277117cd1194643681d09 /src/osmo-bts-sysmo/oml.c
parentc2d3e45571e75610a40669f0fa0efed7b6e65946 (diff)
Enable direct access to PDTCH queue of DSP by PCU
Use "-P -M" to enable PCU and direct access.
Diffstat (limited to 'src/osmo-bts-sysmo/oml.c')
-rw-r--r--src/osmo-bts-sysmo/oml.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/osmo-bts-sysmo/oml.c b/src/osmo-bts-sysmo/oml.c
index 257f30a1..705fd83c 100644
--- a/src/osmo-bts-sysmo/oml.c
+++ b/src/osmo-bts-sysmo/oml.c
@@ -291,6 +291,13 @@ static int trx_init(struct gsm_bts_trx *trx)
return l1if_req_compl(fl1h, msg, 0, trx_init_compl_cb, fl1h);
}
+uint32_t trx_get_hlayer1(struct gsm_bts_trx *trx)
+{
+ struct femtol1_hdl *fl1h = trx_femtol1_hdl(trx);
+
+ return fl1h->hLayer1;
+}
+
static int trx_close_compl_cb(struct msgb *l1_msg, void *data)
{
return 0;