summaryrefslogtreecommitdiffstats
path: root/openbsc/doc/channel_release.txt
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-12-27 22:24:17 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2012-12-23 20:18:18 +0100
commit8582535c829e6a40591448e4b794af8fb022624e (patch)
treef4b9cf4116e054bb8cc03d72efda40328c0b17e3 /openbsc/doc/channel_release.txt
parent960c4044e61c8b4a522649c5d0e8f29b777356a6 (diff)
lchan: Release the lchan more quickly, align with GSM 04.08
* Release all channels with SAPI > 0 with the "local end release" (as of NOTE 1 of GSM 04.08). * No need to wait for all SAPIs to be torn down and the normal REL_IND/REL_CONF will call rsl_handle_release and the channel should be released. * Update the documentation
Diffstat (limited to 'openbsc/doc/channel_release.txt')
-rw-r--r--openbsc/doc/channel_release.txt19
1 files changed, 9 insertions, 10 deletions
diff --git a/openbsc/doc/channel_release.txt b/openbsc/doc/channel_release.txt
index e578aa828..bd707b451 100644
--- a/openbsc/doc/channel_release.txt
+++ b/openbsc/doc/channel_release.txt
@@ -56,21 +56,20 @@ bsc_api.c:gsm0808_clear
* Release the primary lchan with normal release, SACH deactivate
chan_alloc.c:lchan_release(chan, sacch_deactivate, reason)
- * Start release procedure. It is working in steps with callbacks
- coming from the abis_rsl.c code.
- * Release all SAPI's > 0, wait for them to be released
- * Send SACH Deactivate on SAPI=0
- * Finally Release the channel
+ * Start the release procedure. It is working in steps with callbacks
+ coming from the abis_rsl.c code.
+ * Release all SAPI's > 0 as local end (The BTS should send a
+ REL_CONF a message)
+ * Send SACH Deactivate on SAPI=0 if required.
+ * It should start T3109 but it does not.
+ * abis_rsl.c schedules the RSL_MT_RF_CHAN_REL once all SAPI's are
+ released and after T3111 has timed out or there is an error.
RX of RELease INDication:
* Calls internal rsl_handle_release which might release the RF.
- * Informs chan_alloc.c about the release with
- rsl_lchan_rll_release.
-RX of RELease CONFimem:
+RX of RELease CONFirmation:
* Calls internal rsl_handle_release which might release the RF.
- * Informs chan_alloc.c about the release with
- rsl_lchan_rll_release.
* RX of RF_CHAN_REL_ACK
* call lchan_free()