aboutsummaryrefslogtreecommitdiffstats
path: root/src/sba.cpp
AgeCommit message (Collapse)AuthorFilesLines
2016-09-09Fix Timing Advance handlingMax1-0/+4
* initialize with invalid TA instead of making assumption that phone is located within 550 meters (TA=0) * only set valid TA Change-Id: Idfc40ff0c11bdac13d9e28fbfa4e95dfc6b735b0 Related: OS#1526
2015-07-15sba: Fix loop exit in SBAController::alloc (Coverity)Jacob Erlbeck1-1/+1
The commit 506f156f7a4aebb52dace00a760f86b2b4f5e19a has reverted the TS search order. The outer loop exit condition was not updated accordingly. This bug would would only lead to an error if there were multiple TRX where the first TRX has not got any PDCH assigned. This commit corrects the break condition. Fixes: Coverity CID 1311776 Sponsored-by: On-Waves ehf
2015-07-07sba: Reverse TS search orderJacob Erlbeck1-2/+2
Currently the search for an enabled PDCH slot for SBA start with the first TS. If there are more than 2 PDCH slots enabled, this slot will conflict with an existing multislot reservation for most multislot classes. This were less likely if the search were reversed and started with the last slot due to the 3 slot shift between Tx and Rx. When multislot allocation is enabled and several MS are connected, and increased rate of poll timeouts can be observed. This commit tries to reduce the number of poll timeouts by reverting the slot search order for SBA allocation. Sponsored-by: On-Waves ehf
2013-10-30sba: Move freeing a sba into a central placeHolger Hans Peter Freyther1-8/+9
2013-10-30sba: Count SBA allocation, frees and timeoutsHolger Hans Peter Freyther1-0/+4
Add a warning about the receive message poking in the internal of the sba. This will be cleaned up in a follow up commit
2013-10-30sba/pdch: Use thepdch to look up a sba for a frame numberHolger Hans Peter Freyther1-0/+5
2013-10-30pdch: Simplify the reset code, rename variables to XYZ_noHolger Hans Peter Freyther1-5/+7
Simplify the reset code now that the PDCH can know where it is located. Rename the variables in the sba to trx_no and ts_no as it stores the number and not the actual thing.
2013-10-30sba: Create a SBAController that will manage the sbas for a BTSHolger Hans Peter Freyther1-9/+25
The PollController is a friend of the SBAController and is allowed to access the internal list. The list is hidden from everyone else. This is done because the calculation of timeout should belong into the PollController and not into the SBAController.
2013-10-30sba: Move the sba code to a dedicated fileHolger Hans Peter Freyther1-0/+121
Move the code around and then turn it into an object...