diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-07-09 11:35:50 +0200 |
---|---|---|
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-07-16 10:25:14 +0200 |
commit | 61205a7e6539b3926c3039e8dcabda6aa9b408ef (patch) | |
tree | 3c282b86932ba1f4005299463d96f987ec208d5d /src/tbf.cpp | |
parent | 57cf69a18ccceac4b250dceb56c4e0d5f0018a95 (diff) |
alloc/test: Check for TFI conflicts
This commit adds the check_tfi_usage function that checks the TFI
usage. It iterates through all TBFs, records on which PDCH it uses
which TFI and check for conflicts. It also checks the bits returned
by pdch->assigned_tfi(). The latter suffers from an bug in that
method (no separation of uplink and downlink), so a conditional
fprintf is used instead of an assertion. The method tfi_find_free
is checked for conflicts after allocations.
Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/tbf.cpp')
0 files changed, 0 insertions, 0 deletions