Andre Puschmann
2cfc657fbb
rlc_am_lte: refactor logging when PDCP SDUs are enqueued
...
the patch refactor the logging when a new PDCP SDU is enqueued for
transmission at RLC.
If the SN is already present, only a warning is logged. From the RLC
perspective operation continues and the SDU will be transmitted.
The patch also changes the order of logs. When the SN cannot be inserted
inside the queue of undelivered SDUs, only one message is logged.
2021-03-18 15:27:49 +01:00
faluco
358c4de0bd
Fix a valgrind issue in a unit test in log_channel_test where the buffer was not being null terminated.
2021-03-18 10:29:54 +01:00
faluco
eb27efd867
Modify the policy of the buffered sink to flush its contents continuously instead of doing it once.
2021-03-18 10:28:58 +01: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
Xavier Arteaga
5f954ab379
Fix UHD compilation
2021-03-17 08:53:40 +01:00
Xavier Arteaga
a8b5b8efa1
UHD: stability improvements
2021-03-17 08:53:40 +01:00
Xavier Arteaga
f9689ec956
Added PUSCH CFO estimation
2021-03-17 08:53:40 +01: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
Andre Puschmann
3e07767f28
rlc_stress_test: set maxRetx for AM to 32 by default
...
since the tests are random we sometimes hit the maxRetx threshold
with 8 retx allowed that made the unit test fail.
increase threshold to lower the likelihood for this to happen.
2021-03-16 15:47:38 +01:00
Xavier Arteaga
f3c0360842
Applied aesthetical changes
2021-03-16 11:36:11 +01:00
Xavier Arteaga
d9780e1f13
Fix duplicated NR-DCI in different search spaces and CORESET and other aesthetic modification
2021-03-16 11:36:11 +01:00
Xavier Arteaga
6fa33c890d
Simultaneous HARQ-ACK, SR and CSI in NR-PUCCH
2021-03-16 11:36:11 +01:00
Xavier Arteaga
1463b11bad
Fix compilation
2021-03-16 11:36:11 +01:00
Xavier Arteaga
be8e8cbe3e
Fix radio decimation Rx stream stall
2021-03-16 11:36:11 +01:00
Xavier Arteaga
ddfff3edad
SRSUE: Zero transmit buffer if the slot is not UL
2021-03-16 11:36:11 +01:00
Xavier Arteaga
1153555ae1
SRSUE: Added UE specific cell space
2021-03-16 11:36:11 +01:00
Xavier Arteaga
10af89fcdd
NR-PDCCH aesthetic changes
2021-03-16 11:36:11 +01:00
Xavier Arteaga
fb1a0b6bce
SRSUE: added NR-PDCCH information
2021-03-16 11:36:11 +01:00
Xavier Arteaga
d3cfb00211
SRSUE: Added TDD DL/UL slot detection
2021-03-16 11:36:11 +01:00
Xavier Arteaga
f3bf0c1c68
Wrap slot index in modulus macro
2021-03-16 11:36:11 +01:00
Xavier Arteaga
4bab0b53b7
SRSUE: fix slot index overflow
2021-03-16 11:36:11 +01:00
Xavier Arteaga
6f6c20e194
SRSUE: Added procedure for multiplexing UCI in NR-PUSCH
2021-03-16 11:36:11 +01:00
faluco
e43f555fc0
- Provide a fast path for logging pre-formatted strings that are small and fit in 64 bytes without any allocations.
...
- Use this new feature in the tracer.
2021-03-16 11:20:01 +01:00
Francisco
9601770196
rrc,bugfix - stop scheduling when RLC AM max_retx is achieved
2021-03-15 21:42:47 +01:00
Francisco
2e18827259
avoid accessing C-array via &[0] for initialized buffer
2021-03-14 14:27:34 +00:00
Francisco
80104c7e65
adt, bugfix - fix assert when accessing bounded_vector::data() member
2021-03-14 14:27:34 +00:00
David Rupprecht
be46806495
PCAP: Enable carrier ID TAG
2021-03-13 19:19:19 +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
Francisco
c6fff54f9e
compilation issue fix - wrong number of argments in ttcn3_syssim creation
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