summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2010-11-14 16:12:24 +0100
committerHarald Welte <laforge@gnumonks.org>2017-01-15 21:35:07 +0100
commit2ee0ee6306ede497001d48ecdafcf168fd0f32c0 (patch)
tree789ff60ae2e925cebd20cd09af523e041e08c06e /src
parent465e5c27a9bfcf76fd00c29f00c0fbe90591e737 (diff)
l1ctl: Add definition for BURST INDICATION messages
(as a side effect data_ind is no longer the biggest message, so need to update L3_MSG_SIZE) Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'src')
-rw-r--r--src/target/firmware/layer1/l23_api.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/target/firmware/layer1/l23_api.c b/src/target/firmware/layer1/l23_api.c
index 311ca6a2..6ada2e4d 100644
--- a/src/target/firmware/layer1/l23_api.c
+++ b/src/target/firmware/layer1/l23_api.c
@@ -51,8 +51,7 @@
/* the size we will allocate struct msgb* for HDLC */
#define L3_MSG_HEAD 4
-#define L3_MSG_DATA 200
-#define L3_MSG_SIZE (L3_MSG_HEAD + sizeof(struct l1ctl_hdr) + L3_MSG_DATA)
+#define L3_MSG_SIZE (sizeof(struct l1ctl_hdr)+sizeof(struct l1ctl_info_dl)+sizeof(struct l1ctl_burst_ind) + L3_MSG_HEAD)
void (*l1a_l23_tx_cb)(struct msgb *msg) = NULL;