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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
d40486b1
Commit
d40486b1
authored
May 19, 2021
by
Laurent THOMAS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix again RU compilation case
parent
b719f571
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
11 deletions
+3
-11
cmake_targets/CMakeLists.txt
cmake_targets/CMakeLists.txt
+0
-6
openair2/COMMON/platform_constants.h
openair2/COMMON/platform_constants.h
+0
-5
targets/ARCH/COMMON/common_lib.h
targets/ARCH/COMMON/common_lib.h
+3
-0
No files found.
cmake_targets/CMakeLists.txt
View file @
d40486b1
...
@@ -439,10 +439,6 @@ set(asn1_generated_dir ${OPENAIR_BIN_DIR})
...
@@ -439,10 +439,6 @@ set(asn1_generated_dir ${OPENAIR_BIN_DIR})
set
(
protoc_call
"
${
OPENAIR_CMAKE
}
/tools/generate_protobuf"
)
set
(
protoc_call
"
${
OPENAIR_CMAKE
}
/tools/generate_protobuf"
)
set
(
protobuf_generated_dir
${
OPENAIR_BIN_DIR
}
)
set
(
protobuf_generated_dir
${
OPENAIR_BIN_DIR
}
)
if
(
${
RU
}
STREQUAL 1
)
add_definitions
(
-DNO_RRC
)
endif
(
${
RU
}
STREQUAL 1
)
# RRC
# RRC
######
######
set
(
RRC_ASN1_VERSION
"Rel15"
)
set
(
RRC_ASN1_VERSION
"Rel15"
)
...
@@ -485,7 +481,6 @@ add_definitions(-DNR_RRC_VERSION=${NR_RRC_VERSION})
...
@@ -485,7 +481,6 @@ add_definitions(-DNR_RRC_VERSION=${NR_RRC_VERSION})
set
(
NR_RRC_FULL_DIR
${
asn1_generated_dir
}
/RRC_
${
NR_RRC_ASN1_VERSION
}
)
set
(
NR_RRC_FULL_DIR
${
asn1_generated_dir
}
/RRC_
${
NR_RRC_ASN1_VERSION
}
)
# Warning: if you modify ASN.1 source file to generate new C files, cmake should be re-run instead of make
# Warning: if you modify ASN.1 source file to generate new C files, cmake should be re-run instead of make
if
(
${
RU
}
STREQUAL 0
)
execute_process
(
execute_process
(
COMMAND
${
OPENAIR_CMAKE
}
/tools/make_asn1c_includes.sh
"NR_"
"-findirect-choice"
"
${
NR_RRC_FULL_DIR
}
"
"
${
NR_RRC_GRAMMAR
}
"
COMMAND
${
OPENAIR_CMAKE
}
/tools/make_asn1c_includes.sh
"NR_"
"-findirect-choice"
"
${
NR_RRC_FULL_DIR
}
"
"
${
NR_RRC_GRAMMAR
}
"
RESULT_VARIABLE ret
)
RESULT_VARIABLE ret
)
...
@@ -494,7 +489,6 @@ if (NOT ${ret} STREQUAL 0)
...
@@ -494,7 +489,6 @@ if (NOT ${ret} STREQUAL 0)
endif
()
endif
()
file
(
GLOB nr_rrc_source
${
NR_RRC_FULL_DIR
}
/*.c
)
file
(
GLOB nr_rrc_source
${
NR_RRC_FULL_DIR
}
/*.c
)
file
(
GLOB nr_rrc_h
${
NR_RRC_FULL_DIR
}
/*.h
)
file
(
GLOB nr_rrc_h
${
NR_RRC_FULL_DIR
}
/*.h
)
endif
(
${
RU
}
STREQUAL 0
)
add_custom_target
(
add_custom_target
(
nr_rrc_flag ALL
nr_rrc_flag ALL
...
...
openair2/COMMON/platform_constants.h
View file @
d40486b1
...
@@ -32,14 +32,9 @@
...
@@ -32,14 +32,9 @@
#ifndef __PLATFORM_CONSTANTS_H__
#ifndef __PLATFORM_CONSTANTS_H__
# define __PLATFORM_CONSTANTS_H__
# define __PLATFORM_CONSTANTS_H__
#ifndef NO_RRC
#include "LTE_asn_constant.h"
#include "LTE_asn_constant.h"
#include "NR_asn_constant.h"
#include "NR_asn_constant.h"
#else
#define LTE_maxDRB 11
#define LTE_maxDRB_NB_r13 2
#define NR_MAXDRB 14
#define NR_MAXDRB 14
#endif
#ifdef JUMBO_FRAME
#ifdef JUMBO_FRAME
#define NL_MAX_PAYLOAD 18000
/* this should cover the max mtu size*/
#define NL_MAX_PAYLOAD 18000
/* this should cover the max mtu size*/
...
...
targets/ARCH/COMMON/common_lib.h
View file @
d40486b1
...
@@ -561,7 +561,10 @@ extern int read_recplayconfig(recplay_conf_t **recplay_conf, recplay_state_t **r
...
@@ -561,7 +561,10 @@ extern int read_recplayconfig(recplay_conf_t **recplay_conf, recplay_state_t **r
extern
void
iqrecorder_end
(
openair0_device
*
device
);
extern
void
iqrecorder_end
(
openair0_device
*
device
);
#include <unistd.h>
#ifndef gettid
#define gettid() syscall(__NR_gettid)
#define gettid() syscall(__NR_gettid)
#endif
/*@}*/
/*@}*/
...
...
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