access bts from pcu's L1 code

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/osmocom-net-gprs@lists.osmocom.org/.

Max msuraev at sysmocom.de
Fri Jul 15 16:25:13 UTC 2016


Hi.

While working on https://osmocom.org/issues/1531 I've found that I have
to update BTS's configuration (see src/bts.cpp) from osmo-pcu L1 code
(see src/osmo-bts-sysmo/sysmo_l1_hw.c). The problem is that the only
thing I got in L1 is struct femtol1_hdl which have trx_no but that's
about it.

Is there a way to get pointer to BTS so I can call bts->set_ta() using
trx_no? Or I shall somehow change interface for l1if_fd_cb() - that's
where my function with new data is called from?

-- 
Max Suraev <msuraev at sysmocom.de> http://www.sysmocom.de/
======================================================================= 
* sysmocom - systems for mobile communications GmbH
* Alt-Moabit 93 
* 10559 Berlin, Germany
* Sitz / Registered office: Berlin, HRB 134158 B 
* Geschaeftsfuehrer / Managing Director: Harald Welte 




More information about the osmocom-net-gprs mailing list