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
a980e889
Commit
a980e889
authored
Jul 08, 2019
by
Florian Kaltenberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing a few minor things for nr-softmodem and nr-uesoftmodem
parent
45f5bdd3
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
5 deletions
+4
-5
cmake_targets/CMakeLists.txt
cmake_targets/CMakeLists.txt
+1
-1
executables/nr-softmodem.c
executables/nr-softmodem.c
+0
-1
executables/nr-uesoftmodem.c
executables/nr-uesoftmodem.c
+1
-1
openair2/UTIL/OPT/probe.c
openair2/UTIL/OPT/probe.c
+2
-2
No files found.
cmake_targets/CMakeLists.txt
View file @
a980e889
...
@@ -1735,7 +1735,7 @@ add_library(L2_NR
...
@@ -1735,7 +1735,7 @@ add_library(L2_NR
${
MAC_NR_SRC
}
${
MAC_NR_SRC
}
${
GNB_APP_SRC
}
${
GNB_APP_SRC
}
)
)
add_dependencies
(
S1AP_LIB nr_rrc_flag s1ap
_flag
)
add_dependencies
(
L2_NR rrc_flag nr_rrc_flag s1ap_flag x2
_flag
)
add_library
(
L2_UE
add_library
(
L2_UE
${
L2_SRC_UE
}
${
L2_SRC_UE
}
...
...
executables/nr-softmodem.c
View file @
a980e889
...
@@ -509,7 +509,6 @@ static void get_options(void) {
...
@@ -509,7 +509,6 @@ static void get_options(void) {
uint32_t
online_log_messages
;
uint32_t
online_log_messages
;
uint32_t
glog_level
,
glog_verbosity
;
uint32_t
glog_level
,
glog_verbosity
;
uint32_t
start_telnetsrv
;
uint32_t
start_telnetsrv
;
char
*
in_ip
=
NULL
,
*
in_path
=
NULL
;
paramdef_t
cmdline_params
[]
=
CMDLINE_PARAMS_DESC_GNB
;
paramdef_t
cmdline_params
[]
=
CMDLINE_PARAMS_DESC_GNB
;
paramdef_t
cmdline_logparams
[]
=
CMDLINE_LOGPARAMS_DESC
;
paramdef_t
cmdline_logparams
[]
=
CMDLINE_LOGPARAMS_DESC
;
config_process_cmdline
(
cmdline_params
,
sizeof
(
cmdline_params
)
/
sizeof
(
paramdef_t
),
NULL
);
config_process_cmdline
(
cmdline_params
,
sizeof
(
cmdline_params
)
/
sizeof
(
paramdef_t
),
NULL
);
...
...
executables/nr-uesoftmodem.c
View file @
a980e889
...
@@ -403,7 +403,7 @@ int16_t dlsch_demod_shift;
...
@@ -403,7 +403,7 @@ int16_t dlsch_demod_shift;
static
void
get_options
(
void
)
{
static
void
get_options
(
void
)
{
int
CC_id
;
int
CC_id
;
int
tddflag
=
0
,
nonbiotflag
;
int
tddflag
=
0
,
nonbiotflag
;
char
*
loopfile
=
NULL
,
*
in_ip
=
NULL
,
*
in_path
=
NULL
;
char
*
loopfile
=
NULL
;
int
dumpframe
=
0
;
int
dumpframe
=
0
;
uint32_t
online_log_messages
;
uint32_t
online_log_messages
;
uint32_t
glog_level
,
glog_verbosity
;
uint32_t
glog_level
,
glog_verbosity
;
...
...
openair2/UTIL/OPT/probe.c
View file @
a980e889
...
@@ -99,6 +99,8 @@ int opt_enabled=0;
...
@@ -99,6 +99,8 @@ int opt_enabled=0;
//static unsigned char g_PDUBuffer[1600];
//static unsigned char g_PDUBuffer[1600];
//static unsigned int g_PDUOffset;
//static unsigned int g_PDUOffset;
char
in_ip
[
40
];
char
in_path
[
FILENAME_MAX
];
FILE
*
file_fd
=
NULL
;
FILE
*
file_fd
=
NULL
;
pcap_hdr_t
file_header
=
{
pcap_hdr_t
file_header
=
{
0xa1b2c3d4
,
/* magic number */
0xa1b2c3d4
,
/* magic number */
...
@@ -439,8 +441,6 @@ void trace_pdu(int direction, uint8_t *pdu_buffer, unsigned int pdu_buffer_size,
...
@@ -439,8 +441,6 @@ void trace_pdu(int direction, uint8_t *pdu_buffer, unsigned int pdu_buffer_size,
int
init_opt
(
void
)
int
init_opt
(
void
)
{
{
char
*
in_type
=
NULL
;
char
*
in_type
=
NULL
;
char
*
in_ip
=
NULL
;
char
*
in_path
=
NULL
;
paramdef_t
opt_params
[]
=
OPT_PARAMS_DESC
;
paramdef_t
opt_params
[]
=
OPT_PARAMS_DESC
;
checkedparam_t
opt_checkParams
[]
=
OPTPARAMS_CHECK_DESC
;
checkedparam_t
opt_checkParams
[]
=
OPTPARAMS_CHECK_DESC
;
uint16_t
in_port
;
uint16_t
in_port
;
...
...
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