summaryrefslogtreecommitdiffstats
path: root/src/host/trxcon/sched_lchan_desc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/host/trxcon/sched_lchan_desc.c')
-rw-r--r--src/host/trxcon/sched_lchan_desc.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/host/trxcon/sched_lchan_desc.c b/src/host/trxcon/sched_lchan_desc.c
index 8b2b5e10..93639a37 100644
--- a/src/host/trxcon/sched_lchan_desc.c
+++ b/src/host/trxcon/sched_lchan_desc.c
@@ -25,10 +25,6 @@
#include "sched_trx.h"
-/* TODO: implement */
-#define tx_pdtch_fn NULL
-#define rx_pdtch_fn NULL
-
/* Forward declaration of handlers */
int rx_data_fn(struct trx_instance *trx, struct trx_ts *ts,
struct trx_lchan_state *lchan, uint32_t fn, uint8_t bid,
@@ -58,6 +54,12 @@ int rx_tchh_fn(struct trx_instance *trx, struct trx_ts *ts,
int tx_tchh_fn(struct trx_instance *trx, struct trx_ts *ts,
struct trx_lchan_state *lchan, uint32_t fn, uint8_t bid);
+int rx_pdtch_fn(struct trx_instance *trx, struct trx_ts *ts,
+ struct trx_lchan_state *lchan, uint32_t fn, uint8_t bid,
+ sbit_t *bits, int8_t rssi, int16_t toa256);
+
+int tx_pdtch_fn(struct trx_instance *trx, struct trx_ts *ts,
+ struct trx_lchan_state *lchan, uint32_t fn, uint8_t bid);
const struct trx_lchan_desc trx_lchan_desc[_TRX_CHAN_MAX] = {
{