summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2017-07-12 17:58:31 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2017-10-23 22:05:49 +0330
commitba829de44980945cc54be387dbfff4ff13604708 (patch)
treeb29b808a7a6553d9d3fc667588b03c0caf3c0407
parentd7e489b52c9c487efabf7f8dc0b38f286079453d (diff)
host/trxcon/scheduler: modify trx_lchan_tx_func definition
Initially, it was assumed that TX lchan handler will only compose a burst and return a pointer to the buffer. A burst itself could be sent somewhere outside, e.g. by caller. It would be better to send bursts exactly from handler, because in this case it isn't required to have an external buffer. Change-Id: Ic9dcdd366e68cec38c5840ed8f8cdda8236d67c7
-rw-r--r--src/host/trxcon/sched_trx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host/trxcon/sched_trx.h b/src/host/trxcon/sched_trx.h
index 563ee19..41662e0 100644
--- a/src/host/trxcon/sched_trx.h
+++ b/src/host/trxcon/sched_trx.h
@@ -83,7 +83,7 @@ typedef int trx_lchan_rx_func(struct trx_instance *trx,
uint8_t bid, sbit_t *bits, uint16_t nbits,
int8_t rssi, float toa);
-typedef ubit_t *trx_lchan_tx_func(struct trx_instance *trx,
+typedef int trx_lchan_tx_func(struct trx_instance *trx,
struct trx_ts *ts,
uint32_t fn, enum trx_lchan_type chan,
uint8_t bid, uint16_t *nbits);