diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2018-03-01 17:30:47 +0700 |
---|---|---|
committer | Vadim Yanitskiy <axilirator@gmail.com> | 2018-10-20 22:42:59 +0200 |
commit | 0a1da468691703071521960fc5c350922c93695f (patch) | |
tree | db6e5c08dbe6304fcfdd2b60047fc569683176ff /src/host/trxcon/sched_lchan_desc.c | |
parent | 1a892eeb2a7e7de0c9946cc73b01f569043af4e7 (diff) |
trxcon/scheduler: add PDTCH channel support
Change-Id: I1176576f54c1d68e79cc6ac37d61a9033f7018dd
Diffstat (limited to 'src/host/trxcon/sched_lchan_desc.c')
-rw-r--r-- | src/host/trxcon/sched_lchan_desc.c | 10 |
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] = { { |