Andre Puschmann
1b97ba5300
benchmark_radio: fix duration and thread priority
...
I noticed that the app didn't configure the process with
RT thread prio. But it then turned out that in order to do
that we need to actually spawn a new thread. Also a few other things
didn't work out of the box.
In summary the changes are:
* fix duration to support more than 120s
* move main functionality in thread
* set high priority for radio thread
* only return success if no radio errors occured
2020-12-12 15:58:32 +01:00
Francisco Paisana
3ea47b645a
changed the way the number of UL pending bytes is calculated in the scheduler
2020-12-12 15:58:32 +01:00
Ismael Gomez
dfb389d68f
srsenb: Use MCS from new grant when doing adaptive retx
2020-12-12 15:58:32 +01:00
Francisco Paisana
77d64f3ea5
add PDCCH alloc to UL retxs that resume the HARQ
2020-12-12 15:58:32 +01:00
Francisco Paisana
d8203acd56
implement harq resuming functionality
2020-12-12 15:58:32 +01:00
Francisco Paisana
510959b50f
update nr asn1 files, and asn1 tests
2020-12-12 15:58:32 +01:00
Andre Puschmann
082e002b67
nas: fix airplane mode simulation
...
the current implementation was somehow broken after a
NAS refactor. It was undetected because we didn't really
use it.
this fixes the simulation by using a single timer to simulate
airplane mode transitions.
the timer is rearmed in the timer_expire() function
if the correspondig event is set.
Has been tested to work well with, e.g.:
--sim.airplane_t_on_ms 5000 --sim.airplane_t_off_ms 10000
2020-11-06 09:33:36 +01:00
Francisco Paisana
f927ccaf55
fix pusch grant allocation for cqi reporting in CA.
2020-11-05 19:35:03 +00:00
Xavier Arteaga
8d9577626b
Fix NR FEC unit test
2020-11-04 15:06:39 +01:00
Xavier Arteaga
0c2f96d389
Fix 5G NR FEC memcheck
2020-11-04 15:06:39 +01:00
Xavier Arteaga
2835e87ff0
Add missing file
2020-11-04 15:06:39 +01:00
Xavier Arteaga
f8dd67260f
Polar: fix unit test working directory
2020-11-04 15:06:39 +01:00
Xavier Arteaga
15356b3ec8
Fix compilation for non-AVX2 machines
2020-11-04 15:06:39 +01:00
Xavier Arteaga
2c4aa1e379
Added Polar and LDPC forward error correction
2020-11-04 15:06:39 +01:00
Francisco Paisana
a351b2534e
allow PUSCH grants for CQI in PCell
2020-11-03 09:25:17 +00:00
Francisco Paisana
2ade364434
defer scell activation to rrc reconf complete reception
2020-11-03 09:25:01 +00:00
David Rupprecht
387a84ff84
Updated missing byte
2020-11-03 10:03:09 +01:00
David Rupprecht
b85cb614aa
Added test cases for asn1 decoding lib from pcap
2020-11-03 10:03:09 +01:00
Andre Puschmann
74dcdec54f
enb: fix antenna port count for SCell config in RRC reconfig
...
set antenna port count for SCells in RRC reconfig message according
to configured ports in the enb config
2020-11-02 21:38:49 +01:00
Xavier Arteaga
271002c9fb
Fix compilation
2020-11-02 16:44:50 +01:00
Xavier Arteaga
4f89c6ed3f
Added missing CMakeFiles
2020-11-02 16:32:26 +01:00
Xavier Arteaga
f21590735d
refactored FEC directories
2020-11-02 16:32:26 +01:00
Xavier Arteaga
7093a85f81
Refactored FEC directories
2020-11-02 16:32:26 +01:00
Xavier Arteaga
32ea840a30
INTRA: better ring-buffer protection
2020-11-02 16:31:37 +01:00
Xavier Arteaga
c2621cc4f8
Protect ring-buffer write from nullptr
2020-11-02 16:31:37 +01:00
Xavier Arteaga
369cffec00
More deterministic SCell search test
2020-11-02 16:31:37 +01:00
Francisco Paisana
a865858db3
disable srbs UL during handover to avoid UL grants and scheduling requests before the handover is complete
2020-10-30 21:51:58 +00:00
Andre Puschmann
f647343f18
rlc_am: fix poll bit during header reconstruction
...
this makes sure that the reconstructed RLC AM header
has the poll bit set when any of its segments had it set.
this triggered a bug in RLC AM because the Status PDU
isn't transmitted for a RLC PDU that was segmented and
only the first segment had the P flag set.
2020-10-30 20:47:01 +01:00
Francisco Paisana
484c7586b4
fix heap buffer overflow
2020-10-30 20:35:41 +01:00
Francisco Paisana
42cdc5e340
Allocate all the leftover bytes of the TBS to last allocated MAC SDU.
...
Fix the way the RLC header is accounted for depending on the bearer id.
For instance, the SRB0 does not require any RLC header.
2020-10-30 13:35:15 +00:00
Francisco Paisana
55d62a2baa
fix rlc buffer updating inside the scheduler to account for RLC headers
2020-10-30 13:35:15 +00:00
Francisco Paisana
980278fdec
add comments regarding radio resource asn1 setting in the eNB
2020-10-29 21:19:40 +00:00
Francisco Paisana
84cfc29ca1
apply the scell configuration sooner during intra-enb handover
2020-10-29 21:19:40 +00:00
Francisco Paisana
b40a5a958e
use common function to fill rrc reconf message in handover
2020-10-29 21:19:40 +00:00
Francisco Paisana
e9b693942f
diff-based cell selection activation
2020-10-29 21:19:40 +00:00
Francisco Paisana
836e7d7ede
refactor scell addition in the srsenb::rrc to follow the same style of other rrc recfg fields
2020-10-29 21:19:40 +00:00
Francisco Paisana
a8e11d7991
removal of the special case for rrc reconf update
2020-10-29 21:19:40 +00:00
Francisco Paisana
f26b5ccde7
fix drb reestablishment during handover
2020-10-29 21:19:40 +00:00
Francisco Paisana
7bf196a6e0
removal of srb handling from srsenb::rrc::bearer_cfg_handler
2020-10-29 21:19:40 +00:00
Francisco Paisana
2ef1e286b2
fix set of rrc reconf message radio resource cfg fields
2020-10-29 21:19:40 +00:00
Francisco Paisana
890113fd32
now the rrc enb is using a common function for rr_cfg reconf for the first reconf message
2020-10-29 21:19:40 +00:00
Francisco Paisana
ce78fa82ce
now the rrc enb is using a common function for rr_cfg setup/reest
2020-10-29 21:19:40 +00:00
Francisco Paisana
97f2e4336e
refactor of functions for filling the asn1 radio resource config structs. This functions are used during rrc setup/reest/reconf
2020-10-29 21:19:40 +00:00
Xavier Arteaga
9487d27ef9
Renamed NR constants and comments
2020-10-29 09:23:09 +01:00
Xavier Arteaga
e8f168b20c
PDSCH NR: Added files
2020-10-29 09:23:09 +01:00
Xavier Arteaga
c8477483d9
PDSCH NR: Added files
2020-10-29 09:23:09 +01:00
Xavier Arteaga
30d8e05d50
Fix PDSCH-DMRS symbol index
2020-10-29 09:23:09 +01:00
Xavier Arteaga
275cbafe6e
Modified comments
2020-10-29 09:23:09 +01:00
Xavier Arteaga
8d34d344a8
Created PDSCH-NR configuration structures and refactored DMRS
2020-10-29 09:23:09 +01:00
Xavier Arteaga
009f300c5e
Initial PHY Data procedures
2020-10-29 09:23:09 +01:00