Reintroduce separate message types to simplify the encoding/decoding, including shorter names. The old types will be removed once everything has been migrated to the new encoder/decoder, which should ensure that everything is properly migrated to the unit-tested encoder/decoders. Also, for each type of F1 message (F1 UE context setup request, response, modification request, ...) introduce a separate type to avoid to mistakenly use wrong fields, which can lead to bugs. In this regard, the DL PDCP SN bit size in the DRB-ToBeSetup list of the UE context setup request is optional, as it will also be used in the UE context modification request DRB SetupMod list (which avoids quite some code duplication). The encoder checks that this IE is present, though.
16 lines
456 B
CMake
16 lines
456 B
CMake
add_library(f1ap_lib OBJECT
|
|
f1ap_lib_common.c
|
|
f1ap_rrc_message_transfer.c
|
|
f1ap_interface_management.c
|
|
f1ap_ue_context.c
|
|
)
|
|
target_link_libraries(f1ap_lib PRIVATE asn1_f1ap ds)
|
|
target_include_directories(f1ap_lib PUBLIC
|
|
${CMAKE_SOURCE_DIR}
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
)
|
|
|
|
if(ENABLE_TESTS)
|
|
target_compile_definitions(f1ap_lib PRIVATE ENABLE_TESTS)
|
|
endif()
|