summaryrefslogtreecommitdiffstats
path: root/src/host/trxcon/sched_lchan_xcch.c
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2017-08-16 13:36:20 +0600
committerVadim Yanitskiy <axilirator@gmail.com>2017-11-19 17:35:07 +0700
commit863ccb7bd28e5342b84517afc01103b719f1d7ec (patch)
tree28eb4dd399df6f957f53edf092e8aa4272ee34e5 /src/host/trxcon/sched_lchan_xcch.c
parentfd9aaaf3d0b00641fd26c114d44c0f963502e7c5 (diff)
host/trxcon/scheduler: share common declarations of lchan handlers
The training sequences, data / traffic indication and confirmation helpers are used by several lchan handlers, like xCCC and TCH. It would be better to have them all declared within a shared header. Change-Id: I71980f09a0c0e023370e1a651afc24fff2491552
Diffstat (limited to 'src/host/trxcon/sched_lchan_xcch.c')
-rw-r--r--src/host/trxcon/sched_lchan_xcch.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/host/trxcon/sched_lchan_xcch.c b/src/host/trxcon/sched_lchan_xcch.c
index dd76d0a6..958d80d7 100644
--- a/src/host/trxcon/sched_lchan_xcch.c
+++ b/src/host/trxcon/sched_lchan_xcch.c
@@ -42,15 +42,6 @@
#include "trxcon.h"
#include "l1ctl.h"
-/* Forward declarations */
-extern const uint8_t nb_training_bits[8][26];
-
-int sched_send_data_ind(struct trx_instance *trx, struct trx_ts *ts,
- struct trx_lchan_state *lchan, uint8_t *l2, size_t l2_len);
-
-int sched_send_data_conf(struct trx_instance *trx, struct trx_ts *ts,
- struct trx_lchan_state *lchan, uint32_t fn, size_t l2_len);
-
int rx_data_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, float toa)
@@ -185,7 +176,7 @@ send_burst:
*mask |= (1 << bid);
/* Choose proper TSC */
- tsc = nb_training_bits[trx->tsc];
+ tsc = sched_nb_training_bits[trx->tsc];
/* Compose a new burst */
memset(burst, 0, 3); /* TB */