David Rupprecht
fb92118bb7
Add 5G NAS infrastructure
3 years ago
David Rupprecht
505225d845
Added ue nas base class with security functions
3 years ago
David Rupprecht
7fa85ab336
Added nas test common file
3 years ago
Xavier Arteaga
47747e3148
SRSENB: RRC measurement report for NR are appended
3 years ago
David Rupprecht
e0b09f1301
Fixed coverity findings
3 years ago
David Rupprecht
709b706d07
Fix 5G NAS extended protocol discriminator
3 years ago
David Rupprecht
59ca11db68
Added missing target_link_libs
3 years ago
Andre Puschmann
9d6d437ba5
mac_nr,ue: don't decode RAR PDU that couldn't be decoded
...
ignore RAR PDU when PDSCH wasn't OK
3 years ago
Andre Puschmann
c7d29f4af1
ttcn3: fix potential deadlock
...
* fix a few races detected with TSAN in SR proc of the DUT
* fix deadlock caused by sync_queue_size set to 1
3 years ago
Andre Puschmann
e0d9afc342
proc_ra: fix race detected with TSAN
...
rar_received is accessed from PHY worker and Stack thread
3 years ago
Andre Puschmann
6c82d63aa6
remove legacy PNF/VNF code
...
the code hasn't been maintained for a while an likely needs to be
adapted for a real-world scenarios.
in order to avoid having to maintain two MAC/PHY interfaces we
remove the code from now.
3 years ago
Xavier Arteaga
5ed241fc9b
Fix unitialised NR PHY test data
3 years ago
Xavier Arteaga
1f3b3d5ef2
Show PDSCH and PUSCH metrics if any transmitted
3 years ago
Xavier Arteaga
b82491bc74
Added SR option in NR PHY Test
3 years ago
Xavier Arteaga
54a12870ec
SRSUE: avoid negative SR transmission in NR
3 years ago
Xavier Arteaga
603c67e36d
Set g_ulsch LLR overlaped with g_harq_ack to zero
3 years ago
Xavier Arteaga
3416aad16d
Fix PUSCH NR test false alarm
3 years ago
Xavier Arteaga
f5a3fcf2b6
More NR PHY test enhacements
3 years ago
Xavier Arteaga
04aca98e5f
Added more checks in PUSCH NR test
3 years ago
Xavier Arteaga
ef865b81a3
NR SCH TB information prints actual rate and not the target rate
3 years ago
Xavier Arteaga
11a52248cd
RA NR Calculates actual PUSCH rate
3 years ago
Xavier Arteaga
35840d6bc1
Removed all zero condition from LDPC decoding
3 years ago
Xavier Arteaga
248a52b33d
Enhanced NR PHY test
3 years ago
Xavier Arteaga
d12085e8a7
Added different NR PHY test cases
3 years ago
Xavier Arteaga
96cb25b868
Add arguments to NR PHY test
3 years ago
Xavier Arteaga
64b7dfed65
UHD: fix nullptr buffer
3 years ago
Xavier Arteaga
ecc0b92142
Integrated PUSCH decoder in gNb
3 years ago
Xavier Arteaga
f07d925be1
Initial NR PHY test scheduling for PUSCH
3 years ago
Xavier Arteaga
e3ea5d3d25
Renamed PHY NR test
3 years ago
Andre Puschmann
068267992d
rnti_pool: add rrc_endc class and extra 1024B to UE memblock size
...
this should fix #3045
however, this hard-coded size seems pretty unflexible anyway so we might
have to increase/add to it, or find an alternative way to calculate the size?
3 years ago
Andre Puschmann
654afac9c7
nas_5g_msg_test: remove copy_msg_to_buffer() that is now in test_common.h
3 years ago
David Rupprecht
724af2b060
Added nas 5g msg packing and unpacking
3 years ago
Andre Puschmann
e460739152
rrc_ue: only create and call endc_handler if NR RRC is available
3 years ago
Andre Puschmann
3f81d3e969
enb,rrc_endc: add handler for measurements and UE capabilities
3 years ago
Andre Puschmann
f2f9082d09
ue,rrc_meas: fix invalid access to field when eport_quant_cell_nr_r15 is not present
3 years ago
Andre Puschmann
e330f50ef8
rrc_meas_test: add packing test for measObjectNR
3 years ago
Andre Puschmann
a2dd83a7e9
asn1: rename RRC NR test to avoid confusion with component test
3 years ago
Andre Puschmann
8d443d79e5
enb,rrc: add skeleton code for new RRC internal interface for SgNB addition
3 years ago
Andre Puschmann
fd7b9a0575
enb,nsa: add basic RRC EUTRA<>RRC NR interface for SgNB addition
3 years ago
Andre Puschmann
6bf3feda92
rrc_nr_test: add packing test for NR radio bearer config
...
also add (still incomplete) secondary cell group config pack test
3 years ago
Andre Puschmann
8dd7075d12
enb,stack: add NR components for NSA mode
...
adds the main NR components for RLC, PDCP, MAC and RRC
for NSA operation.
3 years ago
Andre Puschmann
c9e87b2cf3
config_file: print message when config file couldn't be read
...
this prints an message on stdout so config files are not
simply skipped and the default one is read instead.
3 years ago
Andre Puschmann
fa461f0129
rrc_nr: fix linker error in setup_release_c
...
move implementation to cc file to avoid
[build] /bin/ld: CMakeFiles/rrc_nr_asn1_test.dir/rrc_nr_test.cc.o: in function `asn1::rrc_nr::setup_release_c<asn1::rrc_nr::pdcch_serving_cell_cfg_s>::set_setup()':
[build] /home/anpu/src/srsLTE/lib/include/srsran/asn1/rrc_nr.h:2276: undefined reference to `asn1::rrc_nr::setup_release_c<asn1::rrc_nr::pdcch_serving_cell_cfg_s>::set(asn1::rrc_nr::setup_release_c<asn1::rrc_nr::pdcch_serving_cell_cfg_s>::types_opts::options)'
[build] clang: error: linker command failed with exit code 1 (use -v to see invocation)
3 years ago
Andre Puschmann
4379c20eb9
rlc_am_lte: avoid locking of Rx mutex twice when generating status PDU
...
call reset_status(), which now is an private method directly when
building a status PDU. No need for the Tx side to call Rx again.
3 years ago
Andre Puschmann
53a7dc78ee
rlc_am_lte: replace do_status boolean with atomic
...
the do_status is queried from the Tx code frequently. To reduce
chances to delay the execution because the RLC Rx side is currently
holding the mutex we can use an atomic.
3 years ago
Andre Puschmann
ec3465bb98
s1ap: fix compilation of test on 32bit
3 years ago
Andre Puschmann
19996a4059
sched_nr: fix compilation
3 years ago
Xavier Arteaga
c11a5cc2c8
Walk around GCC 4.8 compilation
3 years ago
Xavier Arteaga
a7c728c189
Fix old gcc compilation
3 years ago
Xavier Arteaga
5307fec2f0
Added GNB MAC UL info initial interface and fix PHY implementation
3 years ago