Andre Puschmann
51e4711bc4
asn1,test: add missing byte to test vector
...
copy and paste error and last byte was lost
2 years ago
Andre Puschmann
e3509f041b
asn1_test: add JSON plot of UE cap container
2 years ago
Andre Puschmann
965d1b423f
asn1: add return value check to UE cap info unpacking
...
this makes the unit test fail
2 years ago
Piotr Gawlowicz
0f628ca28f
ue,rrc: test packing of UE Caps with r15 -> increase ue cap info buffer size
2 years ago
Fabian Eckermann
751136f46a
rrc,asn1: Add asn1 packing and unpacking test for ue cap enquiry and -information
2 years ago
Andre Puschmann
ef50c9abe5
srsran_asn1_nas_test: fix uninitalized value in packing test
2 years ago
Matan Perelman
1b22c372a1
lib,nas: Add test for generic_nas_transport packing and unpacking
2 years ago
Andre Puschmann
70eaec21e2
all: fix uninitialized variables detected by coverity
3 years ago
Andre Puschmann
ba092c0e9b
asn1,ngap_test: add TC to check unpacking of AMF-UE-ID > 32bits
3 years ago
Francisco
3c25b6cb24
asn1: remove presence flag for lists and octet strings, as the size of the latter implicitly tell if the asn1 field is present
3 years ago
Francisco
f7efee9884
asn1: use typedefs for amf_ue_ngap_id, ran_ue_ngap_id, mme_ue_s1ap_id and enb_ue_s1ap_id and changed interface to access s1ap and ngap protocol_ies
3 years ago
Francisco Paisana
d5f5df3e7b
asn1: place common asn1 type for empty ie object sets in asn1_utils.h
3 years ago
Francisco Paisana
ec1ed9d4a5
asn1: fix json generation for s1ap/ngap and improve ie protocol field interface
3 years ago
Francisco Paisana
61e225d762
asn1: move setup_release_c from rrc_nr_asn1 to asn1_utils and improved interface
3 years ago
Francisco Paisana
2d2a5bee03
asn1: update procotol_ie_single_container interface to use -> operator instead of .value to access container content
3 years ago
Francisco Paisana
6b181e7a94
asn1: move protocol_ie_single_container_s to asn1_utils, so it can be used by ngap, s1ap, and other layers
3 years ago
Francisco Paisana
c8f7976014
asn1: use byte buffer pool for temporary variable length field generation instead of stack array
3 years ago
Francisco Paisana
40138c7125
changed namespace of asn1 ngap from 'ngap_nr' to simply 'ngap'
3 years ago
Fabian Eckermann
93210d9bb3
Add unit tests for new functions.
3 years ago
Francisco
3bd77befd3
nr,gnb,asn1: update asn1 rrc nr unit test
3 years ago
Carlo Galiotto
ba50bbfb76
rlc,rrc,nr: remove rb_type from rlc_um_config
...
Signed-off-by: Carlo Galiotto <carlo@srs.io>
3 years ago
Carlo Galiotto
9c2099f680
rrc,rlc,nr: fix RB label in RLC-NR for UE logs + ..
...
add rb_type in rlc_um_config
Signed-off-by: Carlo Galiotto <carlo@srs.io>
3 years ago
Fabian Eckermann
8830c2796f
Add support for NSA FDD on band n3, n5 and n7.
3 years ago
Fabian Eckermann
f44eb0534f
Add RRC NR test for FDD
3 years ago
Xavier Arteaga
0324806d6c
Packed NR TDD config in duplex configuration and created test case for FDD
3 years ago
David Rupprecht
0ef8976d53
Remove length from class and pass by reference
3 years ago
Andre Puschmann
32ab1baeb1
enb,rrc: during NSA activation, remove EUTRA DRB and set MAC logical channel config
3 years ago
Andre Puschmann
9e7852ac83
srsran_asn1_nr: add RLC config to packing test
3 years ago
Andre Puschmann
b388930325
srsran_asn1_rrc_nr_test: disable PCAP output by default
3 years ago
Andre Puschmann
e833751031
rrc_nr: add CSI config packing
3 years ago
Andre Puschmann
f181733c7e
rrc_nr,enb: add more fields to spcell cfg dedicated
3 years ago
Andre Puschmann
4915dc9642
test_pcap: add function description
3 years ago
Andre Puschmann
60a795acc0
asn1,rrc_nr,test: extend RRC reconf test, add PCAP output
...
test now can write the NR reconfig into a PCAP for easy
debugging with Wireshark
patch also adds a new test helper to write a RRC PDU
into a PCAP file (helper packs PDCP and RLC AM first)
4 years ago
David Rupprecht
0217bf5332
Fixed name space for rrc ue
4 years ago
Andre Puschmann
654afac9c7
nas_5g_msg_test: remove copy_msg_to_buffer() that is now in test_common.h
4 years ago
David Rupprecht
724af2b060
Added nas 5g msg packing and unpacking
4 years ago
Andre Puschmann
e330f50ef8
rrc_meas_test: add packing test for measObjectNR
4 years ago
Andre Puschmann
a2dd83a7e9
asn1: rename RRC NR test to avoid confusion with component test
4 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
4 years ago
Xavier Arteaga
e3afd945bc
Refactored NR HARQ ACK feedback
4 years ago
Andre Puschmann
6372f89c09
s1ap_test: fix compilation on 32bit
4 years ago
David Rupprecht
6d5391756c
Refactor build of RLC NR config
4 years ago
Xavier Arteaga
6c39a5e4ff
Added PDSCH DMRS aditional unpacking
4 years ago
AlaiaL
862784ee46
Fixed coverity 369719
4 years ago
Francisco
ff3fc0826b
asn1 fixes and improvements
...
- use const char* instead of std::string in enumerated<>::to_string() to avoid mallocs.
- Remove the use of "typedef", and use "using" keyword instead.
- Fix rrc_nr::setup_release_c<>::to_string() broken linkage.
4 years ago
David Rupprecht
fe8727050b
Added new rrc_nr to phy flattening functions and fixes
4 years ago
David Rupprecht
f9ea02b6bf
Added functions for rrc reestablishing procedure if nr reconfig failes
4 years ago
Xavier Arteaga
49731ab5a1
Initial NR-DCI refactor
...
Added NR DCI 1_1 size
Several DCI NR fixes
4 years ago
David Rupprecht
8c86d2084d
Adding NR phy config RRC parsing
...
Added error handling
Reworked flattening error handling
4 years ago
Andre Puschmann
1a0891df51
all: check return value of make_byte_buffer() and handle them safely
4 years ago