diff options
author | Harald Welte <laforge@gnumonks.org> | 2011-03-20 06:27:31 -0300 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-03-20 06:27:31 -0300 |
commit | c76fb5dd1079b9563bc96d1ff7f835ef68381f5e (patch) | |
tree | afd071b6025f65ca148736ab64bc463b7df00902 /openbsc | |
parent | 739a56696104e59d203130323d55e998b31b8d07 (diff) |
[RBS2000] Enable TRAU frame handling/muxing similar to BS11
Based on original patch by Gus Bourg <gus@bourg.net>
Diffstat (limited to 'openbsc')
-rw-r--r-- | openbsc/src/libmsc/gsm_04_08.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/src/libmsc/gsm_04_08.c b/openbsc/src/libmsc/gsm_04_08.c index 2b61aa9b0..42652e22e 100644 --- a/openbsc/src/libmsc/gsm_04_08.c +++ b/openbsc/src/libmsc/gsm_04_08.c @@ -1633,6 +1633,7 @@ static int tch_map(struct gsm_lchan *lchan, struct gsm_lchan *remote_lchan) } break; case GSM_BTS_TYPE_BS11: + case GSM_BTS_TYPE_RBS2000: trau_mux_map_lchan(lchan, remote_lchan); break; default: @@ -1702,6 +1703,7 @@ static int tch_recv_mncc(struct gsm_network *net, u_int32_t callref, int enable) net, 0); break; case GSM_BTS_TYPE_BS11: + case GSM_BTS_TYPE_RBS2000: if (enable) return trau_recv_lchan(lchan, callref); return trau_mux_unmap(NULL, callref); @@ -2986,6 +2988,7 @@ int mncc_tx_to_cc(struct gsm_network *net, int msg_type, void *arg) } return rtp_send_frame(trans->conn->lchan->abis_ip.rtp_socket, arg); case GSM_BTS_TYPE_BS11: + case GSM_BTS_TYPE_RBS2000: return trau_send_frame(trans->conn->lchan, arg); default: DEBUGP(DCC, "Unknown BTS type %u\n", bts->type); |