Move functions for packing/unpacking RACH.indication
Changed parameter in unpack function to be inline with other unpack functions. Changed nfapi_p7_allocate call to calloc to avoid dependency to NFAPI_LIB. Added unitary test for RACH.indication( test pack/unpack, free, copy and compare ) Added constant NFAPI_NR_RACH_IND_MAX_PDU to follow constants related to other P7 messages limiting the maximum number of PDUs to use. Removed now unneeded dependency to NFAPI_LIB and NFAPI_USER_LIB
This commit is contained in:
committed by
Robert Schmidt
parent
08ee4cfcc5
commit
bcbf7ab975
@@ -16,8 +16,7 @@ add_library(nr_fapi_p7
|
||||
src/nr_fapi_p7_utils.c
|
||||
)
|
||||
target_include_directories(nr_fapi_p7 PUBLIC inc)
|
||||
# Note: Dependencies with NFAPI_LIB NFAPI_USER_LIB only necessary until last FAPI function is moved into new library, to be removed at a later stage
|
||||
target_link_libraries(nr_fapi_p7 PUBLIC nr_fapi_common NFAPI_LIB NFAPI_USER_LIB)
|
||||
target_link_libraries(nr_fapi_p7 PUBLIC nr_fapi_common)
|
||||
|
||||
if (OAI_AERIAL)
|
||||
target_compile_definitions(nr_fapi_p5 PRIVATE ENABLE_AERIAL)
|
||||
|
||||
Reference in New Issue
Block a user