aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2009-12-02 01:56:49 +0530
committerHarald Welte <laforge@gnumonks.org>2009-12-02 01:56:49 +0530
commit2c828991352f94c1be7d860d0d151f719c1ecc6f (patch)
tree9166b88e7a89619f08599ba4497197cc593f15dd /openbsc/include
parenta43f789a0a124c322146280ab00935b75f505617 (diff)
move RTP socket information from timeslot to lchan
With ip.access, in case of TCH/H, we have one RTP stream for each half-slot (lchan), not just one per on-air timeslot. This is quite different from a classic BTS where the TRAU frames of the two TCH/H channels would be part of the same 16k sub-slot in a E1 timeslot.
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/gsm_data.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h
index fcd623fe6..bd7b79b27 100644
--- a/openbsc/include/openbsc/gsm_data.h
+++ b/openbsc/include/openbsc/gsm_data.h
@@ -185,6 +185,14 @@ struct gsm_lchan {
/* use count. how many users use this channel */
unsigned int use_count;
+
+ struct {
+ u_int32_t bound_ip;
+ u_int16_t bound_port;
+ u_int8_t rtp_payload2;
+ u_int16_t conn_id;
+ struct rtp_socket *rtp_socket;
+ } abis_ip;
};
struct gsm_e1_subslot {
@@ -212,13 +220,6 @@ struct gsm_bts_trx_ts {
/* To which E1 subslot are we connected */
struct gsm_e1_subslot e1_link;
- struct {
- u_int32_t bound_ip;
- u_int16_t bound_port;
- u_int8_t rtp_payload2;
- u_int16_t conn_id;
- struct rtp_socket *rtp_socket;
- } abis_ip;
struct gsm_lchan lchan[TS_MAX_LCHAN];
};