aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-trx/loops.h
AgeCommit message (Collapse)AuthorFilesLines
2018-02-27trx/scheduler: Use integer math for TOA (Timing of Arrival)Harald Welte1-1/+1
There's no need to express TOA as a float: * We receive it as signed 16bit integer in units 1/256 symbol periods * We pass it to L1SAP as signed integer in 1/4 symbol periods So turn it into an int16_t with 1/256 symbol period accuracy throughout the code to avoid both float arithmetic as well as loosing any precision. Change-Id: Idce4178e0b1f7e940ebc22b3e2f340fcd544d4ec
2017-08-24osmo-bts-trx: remove global variables from loopsMax1-4/+0
* move TA related globals into phy_link * move power loop related globals into phy_link * prefix corresponding vty vars with osmotrx Change-Id: I01d7c1abad67e51b886a4ecf2de072929d67da27 Related: OS#1848
2017-08-20osmo-bts-trx: Increase a maximum allowed MS power reduction step from 2dB to ↵Alexander Chemeris1-1/+1
4dB. We tend to start MS with high power to make sure distant phones get good QoS, but this also means that we need to reduce their power rather quickly. OTOH we can't make this step too high because this may lead to power output oscillation. From my (manual, limited) testing 4dB looks like a reasonable compromise. Change-Id: I58785513e5739474b881ed7f2a312ecc690e7e60
2016-02-15TRX: factor out the scheduler from remaining codeHarald Welte1-7/+7
The L1 scheduler is a generally useful component that is unfortunately tied quite a bit into the OsmoTRX support. Let's try to separate it out by having separate per-trx/per-ts/per-chan data structures pre-fixed with l1sched_ Using this patch it should be one step easier to use the scheduler for other BTS models, such as the intended upcoming virtual BTS.
2015-09-22TRX: Support for AMR full speechAndreas Eversberg1-0/+5
2015-09-22TRX: Code cleanup, prepare for other codecs than GSM full rateAndreas Eversberg1-1/+13
2015-09-22TRX: Implementation of MS power and timing advance loopsAndreas Eversberg1-0/+14