Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
spbro
OpenXG-RAN
Commits
e61b9778
Commit
e61b9778
authored
Mar 22, 2024
by
Robert Schmidt
Committed by
Rúben Soares Silva
Jun 24, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create nfapi_common library with packing/unpacking functions common to (n)FAPI for 4G+5G
parent
2908cd51
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
13 deletions
+12
-13
CMakeLists.txt
CMakeLists.txt
+6
-13
nfapi/CMakeLists.txt
nfapi/CMakeLists.txt
+1
-0
nfapi/open-nFAPI/CMakeLists.txt
nfapi/open-nFAPI/CMakeLists.txt
+1
-0
nfapi/open-nFAPI/common/CMakeLists.txt
nfapi/open-nFAPI/common/CMakeLists.txt
+4
-0
nfapi/open-nFAPI/common/public_inc/nfapi.h
nfapi/open-nFAPI/common/public_inc/nfapi.h
+0
-0
nfapi/open-nFAPI/common/src/nfapi.c
nfapi/open-nFAPI/common/src/nfapi.c
+0
-0
No files found.
CMakeLists.txt
View file @
e61b9778
...
...
@@ -748,20 +748,13 @@ target_link_libraries(SCHED_NR_UE_LIB PRIVATE asn1_lte_rrc_hdrs asn1_nr_rrc_hdrs
# nFAPI
#################################
set
(
NFAPI_COMMON_SRC
${
NFAPI_DIR
}
/common/src/debug.c
)
add_library
(
NFAPI_COMMON_LIB
${
NFAPI_COMMON_SRC
}
)
include_directories
(
${
NFAPI_DIR
}
/common/public_inc
)
set
(
NFAPI_SRC
${
NFAPI_DIR
}
/nfapi/src/nfapi.c
${
NFAPI_DIR
}
/nfapi/src/nfapi_p4.c
${
NFAPI_DIR
}
/nfapi/src/nfapi_p5.c
${
NFAPI_DIR
}
/nfapi/src/nfapi_p7.c
)
add_library
(
NFAPI_LIB
${
NFAPI_SRC
}
)
target_link_libraries
(
NFAPI_LIB PUBLIC nfapi_common
)
include_directories
(
${
NFAPI_DIR
}
/nfapi/public_inc
)
include_directories
(
${
NFAPI_DIR
}
/nfapi/inc
)
...
...
@@ -1994,7 +1987,7 @@ add_dependencies(lte-softmodem oai_iqplayer)
target_link_libraries
(
lte-softmodem PRIVATE
-Wl,--start-group
lte_rrc nr_rrc s1ap m2ap x2ap m3ap GTPV1U SECURITY UTIL HASHTABLE SCTP_CLIENT MME_APP SCHED_LIB SCHED_RU_LIB
PHY_COMMON PHY PHY_RU L2 L2_LTE NFAPI_
COMMON_LIB NFAPI_
LIB NFAPI_VNF_LIB NFAPI_PNF_LIB NFAPI_USER_LIB MISC_NFAPI_LTE_LIB
PHY_COMMON PHY PHY_RU L2 L2_LTE NFAPI_LIB NFAPI_VNF_LIB NFAPI_PNF_LIB NFAPI_USER_LIB MISC_NFAPI_LTE_LIB
${
NAS_UE_LIB
}
ITTI SIMU SIMU_ETH shlib_loader
-Wl,--end-group z dl
)
...
...
@@ -2054,7 +2047,7 @@ target_link_libraries(lte-uesoftmodem PRIVATE
-Wl,--start-group
lte_rrc nr_rrc s1ap x2ap m2ap m3ap
SECURITY UTIL HASHTABLE SCTP_CLIENT MME_APP SCHED_RU_LIB SCHED_UE_LIB PHY_COMMON
PHY_UE PHY_RU L2_UE L2_LTE SIMU SIMU_ETH NFAPI_
COMMON_LIB NFAPI_
LIB NFAPI_PNF_LIB NFAPI_USER_LIB MISC_NFAPI_LTE_LIB
PHY_UE PHY_RU L2_UE L2_LTE SIMU SIMU_ETH NFAPI_LIB NFAPI_PNF_LIB NFAPI_USER_LIB MISC_NFAPI_LTE_LIB
${
NAS_UE_LIB
}
ITTI shlib_loader
-Wl,--end-group z dl
)
...
...
@@ -2091,7 +2084,7 @@ target_link_libraries(nr-softmodem PRIVATE
-Wl,--start-group
UTIL HASHTABLE SCTP_CLIENT SCHED_LIB SCHED_RU_LIB SCHED_NR_LIB PHY_NR PHY PHY_COMMON PHY_NR_COMMON PHY_RU GTPV1U SECURITY
ITTI
${
NAS_UE_LIB
}
lte_rrc nr_rrc
ngap s1ap L2_LTE_NR L2_NR MAC_NR_COMMON NFAPI_
COMMON_LIB NFAPI_
LIB NFAPI_VNF_LIB NFAPI_PNF_LIB NFAPI_USER_LIB SIMU SIMU_ETH
ngap s1ap L2_LTE_NR L2_NR MAC_NR_COMMON NFAPI_LIB NFAPI_VNF_LIB NFAPI_PNF_LIB NFAPI_USER_LIB SIMU SIMU_ETH
x2ap f1ap m2ap m3ap e1ap shlib_loader
-Wl,--end-group z dl
)
...
...
@@ -2155,7 +2148,7 @@ add_executable(nr-uesoftmodem
target_link_libraries
(
nr-uesoftmodem PRIVATE
-Wl,--start-group
nr_rrc SECURITY UTIL HASHTABLE SCHED_RU_LIB SCHED_NR_UE_LIB
PHY_COMMON PHY_NR_COMMON PHY_NR_UE NR_L2_UE L2_UE_LTE_NR MAC_NR_COMMON NFAPI_
COMMON_LIB NFAPI_
LIB NFAPI_PNF_LIB
PHY_COMMON PHY_NR_COMMON PHY_NR_UE NR_L2_UE L2_UE_LTE_NR MAC_NR_COMMON NFAPI_LIB NFAPI_PNF_LIB
NFAPI_USER_LIB MISC_NFAPI_NR_LIB
ITTI LIB_5GNAS_GNB LIB_NAS_SIMUE
${
NAS_SIM_LIB
}
SIMU SIMU_ETH shlib_loader
-Wl,--end-group z dl
)
...
...
@@ -2391,7 +2384,7 @@ if (${T_TRACER})
params_libconfig oai_usrpdevif oai_bladerfdevif oai_lmssdrdevif oai_iqplayer
oai_eth_transpro oai_mobipass coding HASHTABLE UTIL OMG_SUMO
SECURITY SCHED_LIB SCHED_NR_LIB SCHED_RU_LIB SCHED_UE_LIB SCHED_NR_UE_LIB default_sched remote_sched RAL
NFAPI_
COMMON_LIB NFAPI_
LIB NFAPI_PNF_LIB NFAPI_VNF_LIB NFAPI_USER_LIB
NFAPI_LIB NFAPI_PNF_LIB NFAPI_VNF_LIB NFAPI_USER_LIB
MISC_NFAPI_LTE_LIB MISC_NFAPI_NR_LIB
PHY_COMMON PHY PHY_UE PHY_NR PHY_NR_COMMON PHY_NR_UE PHY_RU PHY_MEX
L2 L2_LTE L2_NR L2_LTE_NR L2_UE NR_L2_UE L2_UE_LTE_NR MAC_NR_COMMON MAC_UE_NR ngap
...
...
nfapi/CMakeLists.txt
View file @
e61b9778
include
(
oai_integration/aerial/CMakeLists.txt
)
add_subdirectory
(
open-nFAPI
)
nfapi/open-nFAPI/CMakeLists.txt
0 → 100644
View file @
e61b9778
add_subdirectory
(
common
)
nfapi/open-nFAPI/common/CMakeLists.txt
0 → 100644
View file @
e61b9778
add_library
(
nfapi_common
src/debug.c
src/nfapi.c
)
target_include_directories
(
nfapi_common PUBLIC public_inc/
)
nfapi/open-nFAPI/
nfapi/
inc/nfapi.h
→
nfapi/open-nFAPI/
common/public_
inc/nfapi.h
View file @
e61b9778
File moved
nfapi/open-nFAPI/
nfapi
/src/nfapi.c
→
nfapi/open-nFAPI/
common
/src/nfapi.c
View file @
e61b9778
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment