path: root/src/bts.h
diff options
authorMax <msuraev@sysmocom.de>2016-09-19 16:17:06 +0200
committerMax <msuraev@sysmocom.de>2016-10-19 08:23:29 +0000
commitd71e8b32e3e2f9c3856997e945df2eb3afe2937c (patch)
treef377f00b62586a0e3d448f7bb50cc0f9b3fbad82 /src/bts.h
parent4ea452689d545c455cf9c3ade87a3e2c86bf7771 (diff)
Use qbit-TA to update Timing Advance
Separate qbit-TA to TA conversion into separate function and use it for computing and updating Timing Advance. Note: the code was tested with TA=0 only to make sure it does not introduce regressions. Change-Id: I96fdbb20b09fb85fdd9fb6dcf3c25f6bee7f80e4 Fixes: OS#1531
Diffstat (limited to 'src/bts.h')
1 files changed, 9 insertions, 0 deletions
diff --git a/src/bts.h b/src/bts.h
index ba6fc4d..8bea371 100644
--- a/src/bts.h
+++ b/src/bts.h
@@ -143,6 +143,15 @@ struct gprs_rlcmac_trx {
+#ifdef __cplusplus
+extern "C" {
+void bts_update_tbf_ta(const char *p, uint32_t fn, uint8_t trx_no, uint8_t ts,
+ uint8_t ta);
+#ifdef __cplusplus
* This is the data from C. As soon as our minimal compiler is gcc 4.7
* we can start to compile pcu_vty.c with c++ and remove the split.