Francisco
b5692037a2
created macros for assertions and warnings. The assert macro prints the whole callstack on crash. The warning macro can just log a warning or call an assertion fail depending on the cmake flag STOP_ON_WARNING
2021-03-23 10:49:28 +00:00
Francisco
7595dbaa02
avoid blocking call for pop from UE pool in mac ue. change log lines
2021-03-22 14:58:25 +00:00
Francisco
4869b14de3
application of new circular map to mac::ue_db
2021-03-22 14:58:25 +00:00
Codebot
4523ee6087
rename srsLTE to srsRAN
2021-03-21 21:47:01 +01:00
Francisco
df8ec4ddd5
reduce max coderate for SIB allocations
2021-03-19 20:44:08 +00:00
Francisco
638989ec4d
sched - limit max coderate (via an assumed low cqi) for sib and rar allocations
2021-03-19 20:44:08 +00:00
Ismael Gomez
430b7b7b34
Remove unnecessary info
2021-03-19 20:31:34 +00:00
Ismael Gomez
8d2197e751
Increase MAC UE circular buffer
2021-03-19 20:31:34 +00:00
Francisco
2054ad3f3c
eliminate old BFS-based PDCCH allocator. Improvement the scheduler speed by ~2x
2021-03-19 16:31:06 +00:00
Francisco
6bec92fbc9
using new DFS-based PDCCH allocator as a default
2021-03-19 16:31:06 +00:00
Francisco
8347cabe4f
implemented a DFS-based PDCCH allocator
2021-03-19 16:31:06 +00:00
Francisco
a2e2501424
avoid disabling SRBs in the eNB when the max retx reached signal is sent from the RLC to the RRC
2021-03-19 13:44:28 +00:00
Francisco
a540c56552
gtpu bugfix - avoid erasing indirect tunnel and causing iterator invalidation while iterating list of tunnels
2021-03-19 13:43:21 +00:00
Francisco
977c194cbc
gtpu,bugfix - handle the case when gtpu fails to allocate buffer for end marker. Also, added a timer that when expired, it autoremoves the GTPU handover tunnel
2021-03-19 13:43:21 +00:00
Pedro Alvarez
dde8157bf1
Make sure that S1 Setup request is restarted regardless of which error made the procedure fail.
2021-03-19 10:48:45 +00:00
Francisco
d646111aa9
refactor sched dci unit test
2021-03-18 17:04:45 +00:00
Francisco
d6bae76698
extend cch allocation unit tests to verify optimal cfi and DCI position selection for 6 PRBs
2021-03-18 17:04:45 +00:00
Francisco
d5750f6fe6
refactor - update of clang-tidy project file. automatic clang-tidy refactors
2021-03-18 17:04:45 +00:00
Francisco
fb48f4484c
sched refactor - removal or cleanup of unused sched methods
2021-03-18 17:04:45 +00:00
Francisco
137a21d6b2
sched refactor - use simple enum to represent allocation result. Refactored logging messages when allocation fails.
2021-03-18 17:04:45 +00:00
Francisco
0d91802495
sched optimization - swap c-arrays for bounded_vector in sched_interface to reduce time performing bzero/memcpy in the scheduler
2021-03-17 19:54:44 +00:00
Francisco
c0a90c5aa8
refactored sf result resetting to avoid realloc of memory
2021-03-17 19:54:44 +00:00
faluco
875773556e
Fixed a formatting error in a sched entry.
2021-03-17 16:22:19 +01:00
Francisco
1d4e83473e
remove check that verifies that SRB0 is always activated in the scheduler.
2021-03-17 14:55:14 +01:00
Francisco
c3a4cb37f4
extension of sched benchmark test to allow different testing modes - test rates, benchmark, test different combinations of sched parameters
2021-03-17 12:12:36 +00:00
Francisco
ac4d058fbf
correct verification of sched rates in sched benchmark test
2021-03-17 12:12:36 +00:00
Francisco
d334907afe
sched - wrote benchmark to detect regressions in DL/UL data rates, and to analyse the total latency of the scheduler
2021-03-17 12:12:36 +00:00
Francisco
248f05bf08
sched,bugfix - fix optimal cfi computation for sib/rar allocations
2021-03-16 19:27:25 +00:00
Francisco
19a043683c
bugfix - fix compilation issue in gcc10. The interfaces don't have virtual dtors
2021-03-16 19:27:25 +00:00
Francisco
544fe03db3
sched,optimization - considering that cfi is static for sib/rar allocations, pick from the start of the tti, the optimal CFI in terms of largest number of CCE positions available
2021-03-16 19:27:25 +00:00
Francisco
d0672d03fb
bugfix - mac logger was being fetched before a sink was assigned, leading to it printing to the console
2021-03-16 19:27:25 +00:00
Francisco
884c1b04d2
sched,test - add test to verify cch allocator ability to undo last allocation
2021-03-16 19:27:25 +00:00
Francisco
377831da90
bugfix,minor - remove reset of ue cfg during handover
2021-03-16 19:27:25 +00:00
Francisco
1f35c4dc8b
sched, feature enhancement, bugfix - allow RAR DL grants with variable PRB size
...
Some bug fixes had to be solved:
- the cfi cannot be dynamic once we set a SIB/paging/RAR allocation. This is too avoid effective coderate to exceed its maximum
- the previous bugfix required adding the feature to cancel the last PDCCH+PDSCH allocation
2021-03-16 19:27:25 +00:00
Francisco
47f1175502
[sched, feature enhancement] - allow variable nof prbs allocated per SIB / Paging message
2021-03-16 19:27:25 +00:00
Francisco
76103065f7
collapse the 2-stage DCI generation process of SIB/Paging/RAR into one single stage in the scheduler.
2021-03-16 19:27:25 +00:00
Francisco
3a4ae3d69d
extended broadcast+RAR DCI encoding scheduler tests
2021-03-16 19:27:25 +00:00
Francisco
9601770196
rrc,bugfix - stop scheduling when RLC AM max_retx is achieved
2021-03-15 21:42:47 +01:00
Francisco
16b5e1fd4d
fix collision detection of n1pucch for the ACK and SR in the scheduler
2021-03-12 20:07:32 +00:00
Francisco
64e8a17ea8
mac,bugfix - fix incorrect deallocation of PDU
2021-03-12 19:10:15 +00:00
Francisco
6feb311e17
remove instantiations of move-constructors and move assignment operators from cc_buffer_handler
2021-03-12 19:10:15 +00:00
Francisco
ca7fe1349e
remove unnecessary sfinae from bounded_vector. Use bounded_vector for UE cc buffers. Set ue cc used buffers remove_pdu method to private
2021-03-12 19:10:15 +00:00
Francisco
196bf710c0
fix compilation issue in mac::ue
2021-03-12 19:10:15 +00:00
Francisco
d27e0be609
created special class to manage mac::ue currently allocated rx UL buffers. This class avoids mallocs
2021-03-12 19:10:15 +00:00
Ismael Gomez
7b33c48fe7
Use static queue in pdu_queue
2021-03-12 19:10:15 +00:00
Pedro Alvarez
611c5e9814
Fix RRC tx in eNB to only send messages with NAS on SRB2
2021-03-12 15:42:28 +00:00
Francisco
6159cb3817
add assert to ensure a valid ptr is passed to memory pool deallocator
2021-03-12 01:33:44 +00:00
Francisco
20928651c7
created batch allocator that leverages background worker pool
2021-03-12 01:33:44 +00:00
Francisco
d41b6187c1
bugfix - remove extra \n from logging calls
2021-03-11 20:10:54 +00:00
Francisco
31b03fdd8a
fix scheduler UL harq reset for msg3 case
2021-03-11 20:10:54 +00:00