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
ZhouShuya
OpenXG-RAN
Commits
1e7cd86a
Commit
1e7cd86a
authored
Sep 16, 2020
by
matzakos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Introduce asn1 NGAP libraries and required compilation extensions
parent
3a7ac982
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9434 additions
and
1 deletion
+9434
-1
cmake_targets/CMakeLists.txt
cmake_targets/CMakeLists.txt
+40
-1
openair3/NGAP/MESSAGES/ASN1/R16/38413-g20.asn1
openair3/NGAP/MESSAGES/ASN1/R16/38413-g20.asn1
+9394
-0
No files found.
cmake_targets/CMakeLists.txt
View file @
1e7cd86a
...
@@ -436,6 +436,45 @@ add_library(S1AP_ENB
...
@@ -436,6 +436,45 @@ add_library(S1AP_ENB
add_dependencies
(
S1AP_ENB rrc_flag s1ap_flag
)
add_dependencies
(
S1AP_ENB rrc_flag s1ap_flag
)
# NGAP
# Same limitation as described in RRC: unknown generated file list
# so we generate it at cmake time
##############
set
(
NGAP_RELEASE R16
)
set
(
NGAP_DIR
${
OPENAIR3_DIR
}
/NGAP
)
make_version
(
NGAP_VERSION 16 2 0
)
set
(
NGAP_ASN_FILES
"38413-g20.asn1"
)
add_definitions
(
-DNGAP_VERSION=
${
NGAP_VERSION
}
)
set
(
NGAP_ASN_DIR
${
NGAP_DIR
}
/MESSAGES/ASN1/
${
NGAP_RELEASE
}
)
set
(
NGAP_C_DIR
${
asn1_generated_dir
}
/NGAP_
${
NGAP_RELEASE
}
)
# Warning: if you modify ASN.1 source file to generate new C files, cmake should be re-run instead of make
execute_process
(
COMMAND
${
OPENAIR_CMAKE
}
/tools/make_asn1c_includes.sh
"
${
NGAP_C_DIR
}
"
"
${
NGAP_ASN_DIR
}
/
${
NGAP_ASN_FILES
}
"
"NGAP_"
-fno-include-deps -findirect-choice
RESULT_VARIABLE ret
)
if
(
NOT
${
ret
}
STREQUAL 0
)
message
(
FATAL_ERROR
"
${
ret
}
: error"
)
endif
(
NOT
${
ret
}
STREQUAL 0
)
file
(
GLOB NGAP_source
${
NGAP_C_DIR
}
/*.c
)
add_custom_target
(
ngap_flag ALL
${
OPENAIR_CMAKE
}
/tools/make_asn1c_includes.sh
"
${
NGAP_C_DIR
}
"
"
${
NGAP_ASN_DIR
}
/
${
NGAP_ASN_FILES
}
"
"NGAP_"
-fno-include-deps
DEPENDS
"
${
NGAP_ASN_DIR
}
/
${
NGAP_ASN_FILES
}
"
)
add_library
(
NGAP_LIB
${
NGAP_source
}
${
S1AP_DIR
}
/s1ap_common.c
)
add_dependencies
(
NGAP_LIB rrc_flag nr_rrc_flag ngap_flag
)
include_directories
(
"
${
NGAP_C_DIR
}
"
)
include_directories
(
"
${
NGAP_DIR
}
"
)
#M2AP
#M2AP
# Same limitation as described in RRC/S1AP: unknown generated file list
# Same limitation as described in RRC/S1AP: unknown generated file list
# so we generate it at cmake time
# so we generate it at cmake time
...
@@ -2814,7 +2853,7 @@ add_executable(nr-softmodem
...
@@ -2814,7 +2853,7 @@ add_executable(nr-softmodem
target_link_libraries
(
nr-softmodem
target_link_libraries
(
nr-softmodem
-Wl,--start-group
-Wl,--start-group
UTIL HASHTABLE SCTP_CLIENT UDP SCHED_LIB SCHED_RU_LIB SCHED_NR_LIB PHY_NR PHY PHY_COMMON PHY_NR_COMMON PHY_RU LFDS NR_GTPV1U SECU_CN SECU_OSA
UTIL HASHTABLE SCTP_CLIENT
NGAP_LIB
UDP SCHED_LIB SCHED_RU_LIB SCHED_NR_LIB PHY_NR PHY PHY_COMMON PHY_NR_COMMON PHY_RU LFDS NR_GTPV1U SECU_CN SECU_OSA
${
ITTI_LIB
}
${
FLPT_MSG_LIB
}
${
ASYNC_IF_LIB
}
${
FLEXRAN_AGENT_LIB
}
LFDS7
${
MSC_LIB
}
${
RAL_LIB
}
${
NAS_UE_LIB
}
RRC_LIB NR_RRC_LIB
${
ITTI_LIB
}
${
FLPT_MSG_LIB
}
${
ASYNC_IF_LIB
}
${
FLEXRAN_AGENT_LIB
}
LFDS7
${
MSC_LIB
}
${
RAL_LIB
}
${
NAS_UE_LIB
}
RRC_LIB NR_RRC_LIB
S1AP_LIB S1AP_ENB L2_LTE_NR L2_NR MAC_NR_COMMON NFAPI_COMMON_LIB NFAPI_LIB NFAPI_VNF_LIB NFAPI_PNF_LIB NFAPI_USER_LIB
S1AP_LIB S1AP_ENB L2_LTE_NR L2_NR MAC_NR_COMMON NFAPI_COMMON_LIB NFAPI_LIB NFAPI_VNF_LIB NFAPI_PNF_LIB NFAPI_USER_LIB
X2AP_LIB X2AP_ENB F1AP_LIB F1AP M2AP_LIB M2AP_ENB M3AP_LIB M3AP_ENB
${
PROTO_AGENT_LIB
}
${
FSPT_MSG_LIB
}
X2AP_LIB X2AP_ENB F1AP_LIB F1AP M2AP_LIB M2AP_ENB M3AP_LIB M3AP_ENB
${
PROTO_AGENT_LIB
}
${
FSPT_MSG_LIB
}
...
...
openair3/NGAP/MESSAGES/ASN1/R16/38413-g20.asn1
0 → 100644
View file @
1e7cd86a
This diff is collapsed.
Click to expand it.
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