do_lchan_free() timer

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.de
Mon May 23 16:46:31 UTC 2016


On openbsc master, in do_lchan_free(), a T3111 timer is started in case
the lchan is in an error state. Why?

3GPP TS 04.08:
The sole purpose of timer T3111 is to let some time [pass] to acknowledge
the disconnection and to protect the channel in case of loss of the
acknowledge frame.

I'm asking because for dyn PDCH, I'm looking at jolly's branch, which adds
channel defragmentation: when a channel is released, do_pdch_defrag()
closes gaps in the assignments by swapping active channels into empty
slots. It appears that the defragmentation code doesn't want to wait for
T3111 ... and prefers to run through channel reallocations more quickly,
if that makes any sense?

Also, I'm not sure whether we want the defragmentation feature at this
time. It seems to be orthogonal, not related to dynamic reassignment of
TCH <-> PDCH per se.

Thanks for any opinions or hints!

For details, take a look at a6c1c652e5f9cd7f2e456af39a54b8fafdc5b344
openbsc/src/libbsc/abis_rsl.c:69:do_lchan_free()
(branch users/neels/dyn_pdch)

~Neels

-- 
- Neels Hofmeyr <nhofmeyr 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
* Geschäftsführer / Managing Directors: Holger Freyther, Harald Welte
-------------- 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/20160523/03c13485/attachment.bin>


More information about the OpenBSC mailing list