FreeCalypso > hg > ice1-trau-tester
comparison abis/submux.h @ 30:5dd30224b70a
abis: starting new program
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 13 Aug 2024 21:38:55 +0000 |
parents | ater/submux.h@237687e2be6c |
children | 94f11dc0d474 |
comparison
equal
deleted
inserted
replaced
29:1dda11905e85 | 30:5dd30224b70a |
---|---|
1 /* | |
2 * The structures and functions defined in this header file deal with | |
3 * submultiplexing on the Abis interface. | |
4 */ | |
5 | |
6 #pragma once | |
7 | |
8 #include <stdint.h> | |
9 #include <stdbool.h> | |
10 | |
11 #include <osmocom/core/bits.h> | |
12 #include <osmocom/isdn/i460_mux.h> | |
13 | |
14 #define ABIS_SUBSLOTS 4 | |
15 | |
16 struct abis_subslot { | |
17 struct osmo_i460_subchan *schan; | |
18 int nr; | |
19 bool is_active; | |
20 bool is_efr; | |
21 }; | |
22 | |
23 extern struct abis_subslot subslots[ABIS_SUBSLOTS]; | |
24 | |
25 void i460_rx_func(struct osmo_i460_subchan *schan, void *user_data, | |
26 const ubit_t *bits, unsigned int num_bits); |