diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2012-01-26 18:56:16 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2012-01-28 13:13:38 +0100 |
commit | c4701d420479f45c2fdf1526945edd707ed32a55 (patch) | |
tree | 2e5a4efad5f3a94f61deee7ea52e14454f132cd9 /src/target/firmware/include | |
parent | 9dd1f00e836044d9378350882e54c8c7442b3e60 (diff) |
Added callback function to forward L1CTL packets to rather than SERCOM
This is experimental, maybe there should be a better way to do that.
Diffstat (limited to 'src/target/firmware/include')
-rw-r--r-- | src/target/firmware/include/layer1/l23_api.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/target/firmware/include/layer1/l23_api.h b/src/target/firmware/include/layer1/l23_api.h index 9b10b62a..4ea71018 100644 --- a/src/target/firmware/include/layer1/l23_api.h +++ b/src/target/firmware/include/layer1/l23_api.h @@ -9,6 +9,8 @@ void l1a_l23api_init(void); void l1_queue_for_l2(struct msgb *msg); struct msgb *l1ctl_msgb_alloc(uint8_t msg_type); struct msgb *l1_create_l2_msg(int msg_type, uint32_t fn, uint16_t snr, uint16_t arfcn); +extern void (*l1a_l23_tx_cb)(struct msgb *msg); +void l1a_l23_rx(uint8_t dlci, struct msgb *msg); void l1ctl_tx_reset(uint8_t msg_type, uint8_t reset_type); |