diff options
Diffstat (limited to 'src/host/trxcon/l1ctl_link.h')
-rw-r--r-- | src/host/trxcon/l1ctl_link.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/host/trxcon/l1ctl_link.h b/src/host/trxcon/l1ctl_link.h index f9d91f14..01103dcc 100644 --- a/src/host/trxcon/l1ctl_link.h +++ b/src/host/trxcon/l1ctl_link.h @@ -1,5 +1,7 @@ #pragma once +#include <stdint.h> + #include <osmocom/core/write_queue.h> #include <osmocom/core/select.h> #include <osmocom/core/timer.h> @@ -9,6 +11,12 @@ #define L1CTL_LENGTH 256 #define L1CTL_HEADROOM 32 +/** + * Each L1CTL message gets its own length pushed + * as two bytes in front before sending. + */ +#define L1CTL_MSG_LEN_FIELD 2 + /* Forward declaration to avoid mutual include */ struct trx_instance; |