summaryrefslogtreecommitdiffstats
path: root/src/host/trxcon/sched_lchan_desc.c
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2018-03-01 17:30:47 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2018-10-20 22:42:59 +0200
commit0a1da468691703071521960fc5c350922c93695f (patch)
treedb6e5c08dbe6304fcfdd2b60047fc569683176ff /src/host/trxcon/sched_lchan_desc.c
parent1a892eeb2a7e7de0c9946cc73b01f569043af4e7 (diff)
trxcon/scheduler: add PDTCH channel support
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] = {
{