David Rupprecht
a9a23214b0
Added more 5G security kdfs
...
Added new 5G SIM functions
Added const parameters for security functions
2021-09-07 11:06:56 +02:00
David Rupprecht
a645d74eaf
USIM functions for res star
...
Added gen_res_star in security.h
Added USIM interfaces for res star
Added RES star test case
2021-09-07 11:06:56 +02:00
David Rupprecht
bce6b5cc0f
Added kdf common
...
Use kdf functions in 5G KDF
Moved EPS KDF function to new KDF structure
2021-09-07 11:06:56 +02:00
David Rupprecht
15eaef21e2
Update test f12345 function
...
Moved XOR functions to lib
Added testcase for KDF
Minor liblte_security updates
2021-09-07 11:06:56 +02:00
David Rupprecht
0ef8976d53
Remove length from class and pass by reference
2021-09-07 11:05:59 +02:00
Andre Puschmann
f3e8847ad3
mac_pdu_nr_test: fix test
2021-09-03 12:09:41 +02:00
Andre Puschmann
ede81be5e4
mac_rar_pdu_nr: add packing routines
...
* add packing for RAR PDUs
* rewrite to_string() to use fmt lib
* add test case for packer
2021-09-03 12:09:41 +02:00
Andre Puschmann
20c0e0bc41
mac_sch_pdu_nr: add to_string() helper to format MAC PDUs in logs
2021-09-03 12:09:41 +02:00
Xavier Arteaga
cfe2b305a1
Fix CORESET0 related PDSCH resource allocation procedure
2021-08-26 09:34:43 +02:00
Xavier Arteaga
ae0d8f83f0
Add PDCCH interleaved mapping in phy_dl_nr_test and iterate all possible 15kHz SCS bandwidths
2021-08-26 09:34:43 +02:00
Francisco Paisana
f518861ebc
fix location of support/ folder. Created macros for ASSERT_EQ and ASSERT_NEQ
2021-08-23 16:47:54 +02:00
Francisco Paisana
e896ac49e8
adt: create split optional span view to be used for C-array types
2021-08-20 14:30:19 +02:00
Francisco Paisana
d616e46936
adt: allow choice between static and dynamic optional vector types
2021-08-20 14:30:19 +02:00
Francisco Paisana
1596fcf349
adt: rename optional table to optional array
2021-08-20 14:30:19 +02:00
Francisco Paisana
8c24cfebd3
adt: create data structure type to represent an array of optional fields
2021-08-20 14:30:19 +02:00
Andre Puschmann
32ab1baeb1
enb,rrc: during NSA activation, remove EUTRA DRB and set MAC logical channel config
2021-08-07 12:33:10 +02:00
Andre Puschmann
9e7852ac83
srsran_asn1_nr: add RLC config to packing test
2021-08-07 12:33:10 +02:00
Andre Puschmann
4a828be39f
rlc_am_test: fix reestablishment test
...
after changing the retx counting we receive one SDU more than before
2021-08-04 13:06:38 +02:00
Xavier Arteaga
ea802c23f2
Remove PHY lib verbose from test and use byte vector random function
2021-08-03 10:46:13 +02:00
Andre Puschmann
b388930325
srsran_asn1_rrc_nr_test: disable PCAP output by default
2021-07-29 18:16:03 +02:00
Andre Puschmann
e833751031
rrc_nr: add CSI config packing
2021-07-28 10:26:09 +02:00
Andre Puschmann
f181733c7e
rrc_nr,enb: add more fields to spcell cfg dedicated
2021-07-28 10:26:09 +02:00
Andre Puschmann
4915dc9642
test_pcap: add function description
2021-07-28 10:26:09 +02:00
Francisco Paisana
12e33483e1
sched,nr: add slot_point to sched nr
2021-07-26 11:52:07 +02:00
Francisco Paisana
a0a1af9d0f
nr: slot value that handles wrapping around
2021-07-26 11:52:07 +02:00
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)
2021-07-19 12:53:09 +02:00
David Rupprecht
0217bf5332
Fixed name space for rrc ue
2021-07-16 10:09:07 +02:00
faluco
b79481f74b
- Fix text formatter unit test for printing the date.
2021-07-15 18:44:51 +02:00
David Rupprecht
d990db66f6
Added syslog logger
2021-07-14 18:57:28 +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
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
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
6bf3feda92
rrc_nr_test: add packing test for NR radio bearer config
...
also add (still incomplete) secondary cell group config pack test
2021-07-06 21:57:44 +02:00
Xavier Arteaga
e3afd945bc
Refactored NR HARQ ACK feedback
2021-07-05 17:51:27 +02:00
Xavier Arteaga
f6fc215541
Refactored enb_dl_nr to gnb_dl and initial gnb_ul
2021-07-05 17:51:27 +02:00
Andre Puschmann
6372f89c09
s1ap_test: fix compilation on 32bit
2021-07-05 12:29:49 +02:00
Pedro Alvarez
865298f8d5
Moved lib PDCP to its own folder
2021-06-30 18:19:20 +01:00
Pedro Alvarez
171d5727be
Moved lib RLC into it's own folder
2021-06-30 18:19:20 +01:00
Xavier Arteaga
8378c85ec4
Refactored gNb PHY
2021-06-28 00:27:36 +02:00
David Rupprecht
6d5391756c
Refactor build of RLC NR config
2021-06-24 16:52:58 +02:00
Pedro Alvarez
aae266e848
Added configuration option for S1AP SCTP bind port
2021-06-22 11:11:54 +01:00
Xavier Arteaga
cf09044453
Optimised random bit (unpacked) and byte (packed) generator
2021-06-15 12:44:21 +02:00
Andre Puschmann
475c033440
rlc_am_test: extend status PDU test
...
add full test with malformed status PDU
2021-06-15 11:01:02 +02:00
Andre Puschmann
fa7a8fb687
rlc_am_test: add testcase for processing out-of-order status PDUs
2021-06-14 09:43:02 +02:00
Andre Puschmann
d51ee722f6
rlc_am_test: add unit test for ACK_SN is outside rx window
...
the test uses a malformed status PDU from a PCAP and makes
sure the RLC receiver detects such a PDU and raises a warning
2021-06-10 10:44:18 +02:00
Andre Puschmann
46265c5829
rlc_am_data_test: add data PDU unpack test
...
TV captured in PCAP
2021-06-09 14:44:15 +02:00
Andre Puschmann
b379910690
pdu_test: add UL-SCH unpacking test
...
TV captured in PCAPs.
2021-06-09 14:44:15 +02:00
Pedro Alvarez
299d2ee35d
Added interface to make the PDCP notify the RRC of integrity check
...
failures.
2021-06-08 18:52:22 +01:00