Guido Casati
3ce1f0e2c5
Use F1 gNB-CU Configuration Update Acknowledge lib in stack
2024-09-27 17:38:51 +02:00
Guido Casati
c936aabd9a
Add test for CU Configuration Update Acknowledge lib
2024-09-27 17:38:43 +02:00
Guido Casati
3724e84fed
Add enc library for F1 gNB-CU Configuration Update Acknowledge (Interface Management)
2024-09-27 17:38:38 +02:00
Guido Casati
d2863d9693
Refactored f1ap_gnb_cu_configuration_update_acknowledge_t
...
* add transaction_id
* refactored remaining members
2024-09-27 17:38:38 +02:00
Guido Casati
80a05271d6
Use F1AP gNB-CU Configuration Update lib in stack
2024-09-27 17:38:38 +02:00
Guido Casati
3626366228
Add test for F1 gNB-CU Configuration Update enc/dec lib
2024-09-27 17:38:38 +02:00
Guido Casati
8e3d6583a5
Add enc/dec library for F1AP gNB-CU Configuration Update (Interface Management)
2024-09-27 17:38:38 +02:00
Guido Casati
c416c57f92
Simplified F1AP gNB-CU Configuration Update message struct
...
* removed optional IEs, whose encoding/decoding is not done
2024-09-27 17:38:38 +02:00
Guido Casati
3b11764d1d
Minor comments
2024-09-27 17:38:38 +02:00
Guido Casati
07da84ede2
Use F1 gNB-DU Configuration Update lib in stack
2024-09-27 17:38:38 +02:00
Guido Casati
2cc50832d1
Add test for F1AP gNB-DU Configuration Update enc/dec library
2024-09-27 17:38:38 +02:00
Guido Casati
9958e53cb1
Add encoding/decoding library for F1AP gNB-DU Configuration Update (Interface Management)
2024-09-27 17:38:38 +02:00
Guido Casati
df62abca0c
Removed gNB_CU_name from f1ap_gnb_du_configuration_update_t
...
* not defined in 9.2.1.8 of 3GPP TS 38.473
2024-09-27 17:38:38 +02:00
Guido Casati
289fdfe381
Use F1AP Setup Failure enc/dec lib in stack
2024-09-27 17:38:38 +02:00
Guido Casati
6146c470e2
Add test for F1AP Setup Failure enc/dec lib
2024-09-27 17:38:38 +02:00
Guido Casati
7e495db5ec
Add encoding/decoding lib for F1 Setup Failure (interface management)
2024-09-27 17:38:38 +02:00
Guido Casati
28e2d67ee5
Fixes to F1 Setup Failure
...
* added missing Transaction ID to te F1 Setup Failure message struct
* fill F1 Setup Failure transaction ID in RRC before calling the F1 Setup Failure function
2024-09-27 17:38:38 +02:00
Guido Casati
3a5ace00d2
Use F1AP lib for F1 Setup Response in stack
2024-09-27 17:38:38 +02:00
Guido Casati
df2c92e652
Add test for F1AP Setup Response enc/dec lib
2024-09-27 17:38:35 +02:00
Guido Casati
30628b820c
Add encoding/decoding lib for F1AP Setup Response (Interface Management)
2024-09-27 17:38:30 +02:00
Guido Casati
1d8e896567
Use F1AP lib for F1 Setup Request in stack
2024-09-27 11:22:03 +02:00
Guido Casati
c433f4de15
Add test for F1 Setup Request enc/dec lib
2024-09-27 11:22:03 +02:00
Guido Casati
f278b00837
Add encoding/decoding library for F1AP Setup Request (Interface Management)
2024-09-27 11:22:03 +02:00
Guido Casati
1a8ed8642f
Use F1AP lib for UL RRC Message Trasfer in stack
2024-09-27 11:22:03 +02:00
Guido Casati
cc0ad07aa0
Add test for F1AP UL RRC Message Transfer enc/dec lib
2024-09-27 11:22:03 +02:00
Guido Casati
b85fd159b8
Add encoding/decoding lib for UL RRC Message Trasfer
2024-09-27 11:22:03 +02:00
Guido Casati
1d0d7e7baf
Use F1AP lib for DL RRC Message Transfer in stack
2024-09-27 11:22:03 +02:00
Guido Casati
718269f1eb
Add test for F1AP DL RRC Transfer enc/dec messages
2024-09-27 11:22:03 +02:00
Guido Casati
3374327752
Add encoding/decoding lib for F1AP DL RRC Transfer message
2024-09-27 11:22:03 +02:00
Robert Schmidt and Guido Casati
57ecb11d53
Use F1AP lib Init UL RRC Msg in stack
...
Co-authored-by: Guido Casati <hello@guidocasati.com >
2024-09-27 11:22:03 +02:00
Robert Schmidt and Guido Casati
ca6eb7bd10
Add message enc&dec for F1AP Initial UL RRC msg, and test
...
Co-authored-by: Guido Casati <hello@guidocasati.com >
2024-09-27 11:22:03 +02:00
Guido Casati
648ed19544
Use _F1_EQ_CHECK_INT in eq_f1ap_plmn
2024-09-27 11:22:03 +02:00
Guido Casati
11df3c743f
Introduce new macros to improve debugging capabilities in F1AP library
...
* _F1_EQ_CHECK_GENERIC can be used to check the equality of two different members of F1AP structs
and return `false` if the condition is not met.
When the condition fails, the macros will print a debug message to the standard error stream,
including the function name, line number, and the provided format string and arguments.
2024-09-27 11:22:01 +02:00
Robert Schmidt
ab27d02e1c
Add new F1AP msg enc&dec library
...
Add a new target f1ap_lib that groups F1AP ASN.1 encoding&decoding for
messages defined f1ap_messages_types.h. The objective is to, for each
F1AP message,
- add encoder&decoder (similar to what already exists, but without
mandatory message sending afterwards)
- eq_X() function that checks two messages for equality (to be used
mostly in tests)
- cp_X() function that deep-copies a message, e.g., to be used when
sending ITTI messages, instead of manual copying done currently
- free_X() function that frees the memory associated to a memory, to
avoid memory leaks.
Each message will be tested, notably that encoding&decoding as well as
copying yield identical messages.
The actual message encoding & decoding, tests, and their use will be
done in the forthcoming commits.
2024-09-25 17:15:48 +02:00
Robert Schmidt and Guido Casati
ba208c0fc2
Group 5G platform types for common 5G-specific types
...
Co-authored-by: Guido Casati <hello@guidocasati.com >
2024-09-25 16:00:32 +02:00
Robert Schmidt and Guido Casati
ea28b9bb5b
F1AP: RLC mode: introduce separate type
...
The currently used type does not cover all possibilities. While we don't
encode&decode them, it might still be good to be able to express it, so
introduce the new type.
Co-authored-by: Guido Casati <hello@guidocasati.com >
2024-09-25 15:56:03 +02:00
Guido Casati
da6b1a4be4
Fixes to SI message struct item in CU messages
...
* num_SI is the size of the list of gNB-CU System Information messages
* the new struct member is an array, sized after the maximum nb
of SIB types, which contains the SI container, the container length
and the SIB type
2024-09-25 15:38:41 +02:00
Robert Schmidt
4b5ea6dcf8
Fix header inclusion: NGAP message types depends on S1AP
2024-09-25 15:38:41 +02:00
Robert Schmidt
c9da5aabff
Use primitive type for TEID
...
teid_t is defined in platfrom_types.h, which defines a bunch of
4G-specific things. In an attempt to decouple from 4G types, do not use
it.
2024-09-25 15:38:41 +02:00
Robert Schmidt and Guido Casati
bacf713299
Use char * for DU/CU IP address
...
The previously used net_ip_address_t type is limited to some bytes, but
the CU name might be longer. Use char * to allow longer DNS names.
Also, this type separates IPv4/v6, which is not necessary, as it is now
handled by the same C API (getaddrinfo()), since !2635 .
Co-authored-by: Guido Casati <hello@guidocasati.com >
2024-09-25 15:38:41 +02:00
Guido Casati
deb63888d9
Cleanup of long-time unused F1AP interface management functions
2024-09-25 15:38:41 +02:00
Guido Casati
3554b33f37
Cleanup unused F1AP message transmission and system information files
2024-09-25 15:38:41 +02:00
Jaroslava Fiedlerova
b64b2e310d
Merge remote-tracking branch 'origin/sib19-ue-reception' into integration_2024_w38b
2024-09-20 13:58:45 +02:00
Jaroslava Fiedlerova
b3d264f29a
Merge remote-tracking branch 'origin/nr-pdcp-nea1' into integration_2024_w38b
2024-09-20 13:57:59 +02:00
Cedric Roux
523d84634a
snow3g: add a test program
...
To use:
cd <top directory of openair>
mkdir build
cd build
cmake .. -GNinja -DENABLE_TESTS=ON
ninja tests (alternatively: ninja snow3g_tests)
ctest (alternatively: ctest -R snow3g_tests)
2024-09-19 10:40:55 +02:00
Jaroslava Fiedlerova
93a3abaf80
Merge remote-tracking branch 'origin/nr-rlc-fix-standalone-tests' into integration_2024_w38
2024-09-17 21:10:16 +02:00
Roberto Rosca
4c15a04b87
Receive SIB19 on UE
2024-09-17 14:13:11 +03:00
Jaroslava Fiedlerova
dd2ba2235b
Merge remote-tracking branch 'origin/add-mac-doc' into integration_2024_w38
2024-09-17 11:32:19 +02:00
Jaroslava Fiedlerova
3ca4f66e05
Merge remote-tracking branch 'origin/bugfix-rrcSetupComplete' into integration_2024_w38
2024-09-17 11:24:40 +02:00
Jaroslava Fiedlerova
ad6e189f8d
Merge remote-tracking branch 'origin/issue_836' into integration_2024_w38
2024-09-17 08:40:57 +02:00