diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-01-28 10:04:13 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-01-28 11:59:51 +0100 |
commit | 556008d724c8b5062a02e4ac1ab6c9e62e02cc33 (patch) | |
tree | 82d58dc55825c10aa99281ce7de5ba990a76253c /openbsc/include | |
parent | 0094f84f305bcdbe29478170109639de9737f088 (diff) |
[bsc] Implement early assignment for CC for the MT case.
In case we need to handle speech but we are currently on a SDCCH
we need to assign a new channel and close the old one. This
implementation should have the correct flow of things but we might
need to fix some error situations properly.
It is implemented by keeping a secondary_lchan pointer that will
be swapped into the lchan pointer after the assignment complete
message from the MS. The old lchan will be deactivated (the SACCH
should stay open). We have to manually remove the subscr from the
lchan structure to properly close things down.
Diffstat (limited to 'openbsc/include')
-rw-r--r-- | openbsc/include/openbsc/gsm_data.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h index 486067008..b1abf6fdd 100644 --- a/openbsc/include/openbsc/gsm_data.h +++ b/openbsc/include/openbsc/gsm_data.h @@ -107,6 +107,7 @@ struct rtp_socket; /* BSC/MSC data holding them together */ struct bss_sccp_connection_data { struct gsm_lchan *lchan; + struct gsm_lchan *secondary_lchan; struct sccp_connection *sccp; int ciphering_handled : 1; |