Commit Graph

8562 Commits

Author SHA1 Message Date
Andre Puschmann ff5fe5df14 rf_uhd_imp: fix race in RF metrics 2021-07-14 23:03:51 +02:00
Pedro Alvarez 132f2aa605 Added assert to make sure SRB id makes sense in apply_rlc_rb_updates 2021-07-14 20:21:07 +02:00
Pedro Alvarez e946cbd5de Tweaked SRB parsing to remove unecessary parenthisis 2021-07-14 20:21:07 +02:00
Pedro Alvarez 8d41c0d476 Maded SRB configuration optional in rb.conf 2021-07-14 20:21:07 +02:00
Pedro Alvarez f0a28ebc88 Rename drb.conf to rb.conf to reflect the now configurable SRBs. 2021-07-14 20:21:07 +02:00
Pedro Alvarez 17c09dfd75 Changed enb_cfg_parcer.cc to use SRSRAN_ERROR instead of -1 for error returning. 2021-07-14 20:21:07 +02:00
Pedro Alvarez e19df2aedb Make sure that SRB configuration goes in RR config dedicated message. 2021-07-14 20:21:07 +02:00
Pedro Alvarez 72cf3a1cec Added RLC SRB1 and SRB2 configuration ability.
The configuration was added to drb.conf
2021-07-14 20:21:07 +02:00
Ismael Gomez 1fd9d4300c Move pdu buffer mutex in mac::ue to each carrier buffer map 2021-07-14 18:59:04 +02:00
David Rupprecht d990db66f6 Added syslog logger 2021-07-14 18:57:28 +02:00
faluco 7b7ecb7983 Add a new configuration option that controls PDSCH baseband sample dump to a file on KO. 2021-07-14 16:17:23 +02:00
Xavier Arteaga b25681f9de gnb,prach: add PRACH to gNB
rebase of Xavier's feature_gnb_prach branch
2021-07-14 14:30:58 +02:00
David Rupprecht fb92118bb7 Add 5G NAS infrastructure 2021-07-14 13:38:08 +02:00
David Rupprecht 505225d845 Added ue nas base class with security functions 2021-07-14 13:38:08 +02:00
David Rupprecht 7fa85ab336 Added nas test common file 2021-07-14 13:38:08 +02:00
Xavier Arteaga 47747e3148 SRSENB: RRC measurement report for NR are appended 2021-07-14 12:56:39 +02:00
David Rupprecht e0b09f1301 Fixed coverity findings 2021-07-14 10:28:20 +02:00
David Rupprecht 709b706d07 Fix 5G NAS extended protocol discriminator 2021-07-14 10:28:20 +02:00
David Rupprecht 59ca11db68 Added missing target_link_libs 2021-07-14 09:41:37 +02:00
Andre Puschmann 9d6d437ba5 mac_nr,ue: don't decode RAR PDU that couldn't be decoded
ignore RAR PDU when PDSCH wasn't OK
2021-07-14 09:28:51 +02:00
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
2021-07-13 10:16:36 +02:00
Andre Puschmann e0d9afc342 proc_ra: fix race detected with TSAN
rar_received is accessed from PHY worker and Stack thread
2021-07-13 10:16:36 +02:00
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.
2021-07-12 19:24:02 +02:00
Xavier Arteaga 5ed241fc9b Fix unitialised NR PHY test data 2021-07-09 22:32:40 +02:00
Xavier Arteaga 1f3b3d5ef2 Show PDSCH and PUSCH metrics if any transmitted 2021-07-09 22:32:40 +02:00
Xavier Arteaga b82491bc74 Added SR option in NR PHY Test 2021-07-09 22:32:40 +02:00
Xavier Arteaga 54a12870ec SRSUE: avoid negative SR transmission in NR 2021-07-09 22:32:40 +02:00
Xavier Arteaga 603c67e36d Set g_ulsch LLR overlaped with g_harq_ack to zero 2021-07-09 22:32:40 +02:00
Xavier Arteaga 3416aad16d Fix PUSCH NR test false alarm 2021-07-09 22:32:40 +02:00
Xavier Arteaga f5a3fcf2b6 More NR PHY test enhacements 2021-07-09 22:32:40 +02:00
Xavier Arteaga 04aca98e5f Added more checks in PUSCH NR test 2021-07-09 22:32:40 +02:00
Xavier Arteaga ef865b81a3 NR SCH TB information prints actual rate and not the target rate 2021-07-09 22:32:40 +02:00
Xavier Arteaga 11a52248cd RA NR Calculates actual PUSCH rate 2021-07-09 22:32:40 +02:00
Xavier Arteaga 35840d6bc1 Removed all zero condition from LDPC decoding 2021-07-09 22:32:40 +02:00
Xavier Arteaga 248a52b33d Enhanced NR PHY test 2021-07-09 22:32:40 +02:00
Xavier Arteaga d12085e8a7 Added different NR PHY test cases 2021-07-09 22:32:40 +02:00
Xavier Arteaga 96cb25b868 Add arguments to NR PHY test 2021-07-09 22:32:40 +02:00
Xavier Arteaga 64b7dfed65 UHD: fix nullptr buffer 2021-07-09 12:11:24 +02:00
Xavier Arteaga ecc0b92142 Integrated PUSCH decoder in gNb 2021-07-08 16:47:07 +02:00
Xavier Arteaga f07d925be1 Initial NR PHY test scheduling for PUSCH 2021-07-08 16:47:07 +02:00
Xavier Arteaga e3ea5d3d25 Renamed PHY NR test 2021-07-08 16:47:07 +02:00
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?
2021-07-08 15:21:28 +02:00
Andre Puschmann 654afac9c7 nas_5g_msg_test: remove copy_msg_to_buffer() that is now in test_common.h 2021-07-08 14:06:10 +02:00
David Rupprecht 724af2b060 Added nas 5g msg packing and unpacking 2021-07-08 09:34:57 +02:00
Andre Puschmann e460739152 rrc_ue: only create and call endc_handler if NR RRC is available 2021-07-06 21:57:44 +02:00
Andre Puschmann 3f81d3e969 enb,rrc_endc: add handler for measurements and UE capabilities 2021-07-06 21:57:44 +02:00
Andre Puschmann f2f9082d09 ue,rrc_meas: fix invalid access to field when eport_quant_cell_nr_r15 is not present 2021-07-06 21:57:44 +02:00
Andre Puschmann e330f50ef8 rrc_meas_test: add packing test for measObjectNR 2021-07-06 21:57:44 +02:00
Andre Puschmann a2dd83a7e9 asn1: rename RRC NR test to avoid confusion with component test 2021-07-06 21:57:44 +02:00
Andre Puschmann 8d443d79e5 enb,rrc: add skeleton code for new RRC internal interface for SgNB addition 2021-07-06 21:57:44 +02:00