aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-trx/l1_if.h
diff options
context:
space:
mode:
authorAlexander Chemeris <Alexander.Chemeris@gmail.com>2016-11-04 22:30:35 +0300
committerHarald Welte <laforge@gnumonks.org>2016-12-01 14:49:15 +0000
commitf4b238f91efddbfc3bc8456bdfef9a2354103c99 (patch)
tree0b3adb80bfe3a7c63593cb34528947444c093dcb /src/osmo-bts-trx/l1_if.h
parent103ddc7155c49f0376d1b44c53ccc8569496dd2d (diff)
trx: Add "maxdlynb" VTY command to control max TA for Normal Bursts.
Originally `maxdly` command in osmo-trx was contrlling max TA for Normal Bursts. This was not a proper behaviour, because it was used to "control maximum distance a handset can attach from" which is controlled by Access Bursts max TA. Osmo-trx was corrected to apply `maxdly` to Access Bursts and a new command was introduced to contrl max TA for Normal Bursts - `maxdlynb`. This patch adds support for this configuration command into osmo-bts-trx. If you wonder why would you need that - some test equipment (namely R&S CMD57) has really bad timing sync and can generate signal a few symbols off. That prevents osmo-trx from properly receiving otherwise perfectly good bursts generated by CMD57. This configuration is a solution for this. Change-Id: Ib5d255299668ac1ef9f0ce95e016f55ba3c82277
Diffstat (limited to 'src/osmo-bts-trx/l1_if.h')
-rw-r--r--src/osmo-bts-trx/l1_if.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/osmo-bts-trx/l1_if.h b/src/osmo-bts-trx/l1_if.h
index 187303c6..f0b2e67a 100644
--- a/src/osmo-bts-trx/l1_if.h
+++ b/src/osmo-bts-trx/l1_if.h
@@ -24,6 +24,10 @@ struct trx_config {
int maxdly;
int maxdly_sent;
+ int maxdlynb_valid;
+ int maxdlynb;
+ int maxdlynb_sent;
+
uint8_t slotmask;
int slottype_valid[TRX_NR_TS];