diff options
author | Harald Welte <laforge@osmocom.org> | 2020-06-20 22:07:36 +0200 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2021-02-03 08:49:07 +0000 |
commit | b3952c60f12fd2d2b2496a47ecb34dd5b966e0d8 (patch) | |
tree | c27f8c4131d8c5bd9b7581ad52f8302eccfa6a74 /include/osmocom | |
parent | 0f404b600c5a639d900881666bb88b5a55893bee (diff) |
e1_input: Support I.460 timeslot type
Unlike the legacy TRAU mode, this only adds I460 mux/demux,
without any TRAU frame synchronization. The user must still be
adding the actual sub-channels using osmo_i460_subchan_add()
depending on his requirements.
Change-Id: I44da6dfec77ef475adb35001a0e4fa11d549aa02
Diffstat (limited to 'include/osmocom')
-rw-r--r-- | include/osmocom/abis/e1_input.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/osmocom/abis/e1_input.h b/include/osmocom/abis/e1_input.h index 44708bb..9b99f12 100644 --- a/include/osmocom/abis/e1_input.h +++ b/include/osmocom/abis/e1_input.h @@ -9,6 +9,7 @@ #include <osmocom/core/timer.h> #include <osmocom/core/msgb.h> #include <osmocom/core/select.h> +#include <osmocom/gsm/i460_mux.h> #include <osmocom/abis/subchan_demux.h> #include <osmocom/abis/lapd.h> @@ -73,9 +74,10 @@ enum e1inp_ts_type { E1INP_TS_TYPE_TRAU, E1INP_TS_TYPE_RAW, E1INP_TS_TYPE_HDLC, + E1INP_TS_TYPE_I460, }; const char *e1inp_tstype_name(enum e1inp_ts_type tp); -extern const struct value_string e1inp_ts_type_names[6]; +extern const struct value_string e1inp_ts_type_names[]; /* A timeslot in the E1 interface */ struct e1inp_ts { @@ -115,6 +117,9 @@ struct e1inp_ts { /* queue of pending to-be-transmitted msgbs */ struct llist_head tx_queue; } hdlc; + struct { + struct osmo_i460_timeslot i460_ts; + } i460; }; union { struct { |