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/OpenBSC@lists.osmocom.org/.
Neels Hofmeyr nhofmeyr at sysmocom.deOn Tue, Mar 14, 2017 at 06:41:20PM +0100, Max wrote: > How logical channels are (de)activated in osmo-bts-trx? For example in all > the other models there's sapi_deactivate_cb() callback but osmo-bts-trx > doesn't seem to be using sapi_cmd at all. You could take a look at the dynamic timeslot implementation, i.e. bts_model_ts_disconnect() and bts_model_ts_connect(). The way it looks is that all you need to do is to set the new config of the channel. After all, osmo-bts-trx has no lower level hardware to be instructed to do anything, it's all in the structs in RAM: bts_model_ts_disconnect() for trx is empty. bts_model_ts_connect() basically just sets the new TS config using trx_set_ts_as_pchan(). I asked myself the same question back then, and in the end found out that simply setting the new config works fine. I hope that helps ... and is even related to your question :) ~N -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20170314/62bc086c/attachment.bin>