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
canghaiwuhen
OpenXG-RAN
Commits
9cf9ea7c
Commit
9cf9ea7c
authored
Mar 14, 2020
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remainder of merge
parent
914e17b5
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1 addition
and
98 deletions
+1
-98
executables/nr-softmodem.c
executables/nr-softmodem.c
+0
-15
executables/nr-ue.c
executables/nr-ue.c
+1
-12
executables/softmodem-common.c
executables/softmodem-common.c
+0
-64
openair1/PHY/NR_TRANSPORT/nr_ulsch_decoding.c
openair1/PHY/NR_TRANSPORT/nr_ulsch_decoding.c
+0
-3
openair1/PHY/TOOLS/Makefile
openair1/PHY/TOOLS/Makefile
+0
-4
No files found.
executables/nr-softmodem.c
View file @
9cf9ea7c
...
@@ -859,10 +859,6 @@ if(!IS_SOFTMODEM_NOS1)
...
@@ -859,10 +859,6 @@ if(!IS_SOFTMODEM_NOS1)
if
(
IS_SOFTMODEM_NOS1
)
if
(
IS_SOFTMODEM_NOS1
)
init_pdcp
();
init_pdcp
();
<<<<<<<
HEAD
=======
>>>>>>>
origin
/
develop
if
(
RC
.
nb_nr_inst
>
0
)
{
if
(
RC
.
nb_nr_inst
>
0
)
{
// don't create if node doesn't connect to RRC/S1/GTP
// don't create if node doesn't connect to RRC/S1/GTP
AssertFatal
(
create_gNB_tasks
(
1
)
==
0
,
"cannot create ITTI tasks
\n
"
);
AssertFatal
(
create_gNB_tasks
(
1
)
==
0
,
"cannot create ITTI tasks
\n
"
);
...
@@ -871,11 +867,6 @@ if(!IS_SOFTMODEM_NOS1)
...
@@ -871,11 +867,6 @@ if(!IS_SOFTMODEM_NOS1)
RCconfig_L1
();
RCconfig_L1
();
}
}
<<<<<<<
HEAD
=======
>>>>>>>
origin
/
develop
/* Start the agent. If it is turned off in the configuration, it won't start */
/* Start the agent. If it is turned off in the configuration, it won't start */
/*
/*
RCconfig_nr_flexran();
RCconfig_nr_flexran();
...
@@ -995,11 +986,6 @@ if(!IS_SOFTMODEM_NOS1)
...
@@ -995,11 +986,6 @@ if(!IS_SOFTMODEM_NOS1)
oai_exit
=
1
;
oai_exit
=
1
;
printf
(
"oai_exit=%d
\n
"
,
oai_exit
);
printf
(
"oai_exit=%d
\n
"
,
oai_exit
);
<<<<<<<
HEAD
printf
(
"Terminating application - oai_exit=%d
\n
"
,
oai_exit
);
#endif
// stop threads
=======
// stop threads
// stop threads
/*#ifdef XFORMS
/*#ifdef XFORMS
...
@@ -1022,7 +1008,6 @@ if(!IS_SOFTMODEM_NOS1)
...
@@ -1022,7 +1008,6 @@ if(!IS_SOFTMODEM_NOS1)
}
}
#endif*/
#endif*/
>>>>>>>
origin
/
develop
printf
(
"stopping MODEM threads
\n
"
);
printf
(
"stopping MODEM threads
\n
"
);
// cleanup
// cleanup
stop_gNB
(
NB_gNB_INST
);
stop_gNB
(
NB_gNB_INST
);
...
...
executables/nr-ue.c
View file @
9cf9ea7c
...
@@ -460,17 +460,7 @@ void processSlotRX( PHY_VARS_NR_UE *UE, UE_nr_rxtx_proc_t *proc) {
...
@@ -460,17 +460,7 @@ void processSlotRX( PHY_VARS_NR_UE *UE, UE_nr_rxtx_proc_t *proc) {
LOG_D
(
PHY
,
"phy_procedures_nrUE_RX: slot:%d, time %lu
\n
"
,
proc
->
nr_tti_rx
,
(
rdtsc
()
-
a
)
/
3500
);
LOG_D
(
PHY
,
"phy_procedures_nrUE_RX: slot:%d, time %lu
\n
"
,
proc
->
nr_tti_rx
,
(
rdtsc
()
-
a
)
/
3500
);
//printf(">>> nr_ue_pdcch_procedures ended\n");
//printf(">>> nr_ue_pdcch_procedures ended\n");
#endif
#endif
<<<<<<<
HEAD
if
(
IS_SOFTMODEM_NOS1
){
//&& proc->nr_tti_rx==1
//Hardcoded rnti value
protocol_ctxt_t
ctxt
;
PROTOCOL_CTXT_SET_BY_MODULE_ID
(
&
ctxt
,
UE
->
Mod_id
,
ENB_FLAG_NO
,
0x1234
,
proc
->
frame_rx
,
proc
->
nr_tti_rx
,
0
);
pdcp_run
(
&
ctxt
);
pdcp_fifo_flush_sdus
(
&
ctxt
);
}
=======
if
(
IS_SOFTMODEM_NOS1
){
//&& proc->nr_tti_rx==1
if
(
IS_SOFTMODEM_NOS1
){
//&& proc->nr_tti_rx==1
//Hardcoded rnti value
//Hardcoded rnti value
protocol_ctxt_t
ctxt
;
protocol_ctxt_t
ctxt
;
...
@@ -479,7 +469,6 @@ void processSlotRX( PHY_VARS_NR_UE *UE, UE_nr_rxtx_proc_t *proc) {
...
@@ -479,7 +469,6 @@ void processSlotRX( PHY_VARS_NR_UE *UE, UE_nr_rxtx_proc_t *proc) {
proc
->
nr_tti_rx
,
0
);
proc
->
nr_tti_rx
,
0
);
pdcp_run
(
&
ctxt
);
pdcp_run
(
&
ctxt
);
}
}
>>>>>>>
origin
/
develop
}
}
...
...
executables/softmodem-common.c
View file @
9cf9ea7c
...
@@ -61,69 +61,6 @@ softmodem_params_t *get_softmodem_params(void) {
...
@@ -61,69 +61,6 @@ softmodem_params_t *get_softmodem_params(void) {
return
&
softmodem_params
;
return
&
softmodem_params
;
}
}
<<<<<<<
HEAD
void
softmodem_printresources
(
int
sig
,
telnet_printfunc_t
pf
)
{
struct
rusage
usage
;
struct
timespec
stop
;
clock_gettime
(
CLOCK_BOOTTIME
,
&
stop
);
uint64_t
elapse
=
(
stop
.
tv_sec
-
start
.
tv_sec
)
;
// in seconds
int
st
=
getrusage
(
RUSAGE_SELF
,
&
usage
);
if
(
!
st
)
{
pf
(
"
\n
Run time: %lluh %llus
\n
"
,(
unsigned
long
long
)
elapse
/
3600
,(
unsigned
long
long
)(
elapse
-
(
elapse
/
3600
)));
pf
(
"
\t
Time executing user inst.: %lds %ldus
\n
"
,(
long
)
usage
.
ru_utime
.
tv_sec
,(
long
)
usage
.
ru_utime
.
tv_usec
);
pf
(
"
\t
Time executing system inst.: %lds %ldus
\n
"
,(
long
)
usage
.
ru_stime
.
tv_sec
,(
long
)
usage
.
ru_stime
.
tv_usec
);
pf
(
"
\t
Max. Phy. memory usage: %ldkB
\n
"
,(
long
)
usage
.
ru_maxrss
);
pf
(
"
\t
Page fault number (no io): %ld
\n
"
,(
long
)
usage
.
ru_minflt
);
pf
(
"
\t
Page fault number (requiring io): %ld
\n
"
,(
long
)
usage
.
ru_majflt
);
pf
(
"
\t
Number of file system read: %ld
\n
"
,(
long
)
usage
.
ru_inblock
);
pf
(
"
\t
Number of filesystem write: %ld
\n
"
,(
long
)
usage
.
ru_oublock
);
pf
(
"
\t
Number of context switch (process origin, io...): %ld
\n
"
,(
long
)
usage
.
ru_nvcsw
);
pf
(
"
\t
Number of context switch (os origin, priority...): %ld
\n
"
,(
long
)
usage
.
ru_nivcsw
);
}
}
void
signal_handler
(
int
sig
)
{
void
*
array
[
10
];
size_t
size
;
if
(
sig
==
SIGSEGV
)
{
// get void*'s for all entries on the stack
size
=
backtrace
(
array
,
10
);
// print out all the frames to stderr
fprintf
(
stderr
,
"Error: signal %d:
\n
"
,
sig
);
backtrace_symbols_fd
(
array
,
size
,
2
);
exit
(
-
1
);
}
else
{
if
(
sig
==
SIGINT
||
sig
==
SOFTMODEM_RTSIGNAL
)
softmodem_printresources
(
sig
,(
telnet_printfunc_t
)
printf
);
if
(
sig
!=
SOFTMODEM_RTSIGNAL
)
{
printf
(
"Linux signal %s...
\n
"
,
strsignal
(
sig
));
exit_function
(
__FILE__
,
__FUNCTION__
,
__LINE__
,
"softmodem starting exit procedure
\n
"
);
}
}
}
void
set_softmodem_sighandler
(
void
)
{
struct
sigaction
act
,
oldact
;
clock_gettime
(
CLOCK_BOOTTIME
,
&
start
);
memset
(
&
act
,
0
,
sizeof
(
act
));
act
.
sa_handler
=
signal_handler
;
sigaction
(
SOFTMODEM_RTSIGNAL
,
&
act
,
&
oldact
);
printf
(
"Send signal %d to display resource usage...
\n
"
,
SIGRTMIN
+
1
);
signal
(
SIGSEGV
,
signal_handler
);
signal
(
SIGINT
,
signal_handler
);
signal
(
SIGTERM
,
signal_handler
);
signal
(
SIGABRT
,
signal_handler
);
}
#ifndef PHYSICAL_SIMULATOR
void
get_common_options
(
void
)
{
=======
int32_t
check_execmask
(
uint64_t
execmask
)
{
int32_t
check_execmask
(
uint64_t
execmask
)
{
char
*
softmodemfunc
=
map_int_to_str
(
softmodem_funcs
,
execmask
);
char
*
softmodemfunc
=
map_int_to_str
(
softmodem_funcs
,
execmask
);
if
(
softmodemfunc
!=
NULL
)
{
if
(
softmodemfunc
!=
NULL
)
{
...
@@ -144,7 +81,6 @@ char *get_softmodem_function(uint64_t *sofmodemfunc_mask_ptr) {
...
@@ -144,7 +81,6 @@ char *get_softmodem_function(uint64_t *sofmodemfunc_mask_ptr) {
}
}
void
get_common_options
(
uint32_t
execmask
)
{
void
get_common_options
(
uint32_t
execmask
)
{
>>>>>>>
origin
/
develop
uint32_t
online_log_messages
;
uint32_t
online_log_messages
;
uint32_t
glog_level
;
uint32_t
glog_level
;
uint32_t
start_telnetsrv
=
0
;
uint32_t
start_telnetsrv
=
0
;
...
...
openair1/PHY/NR_TRANSPORT/nr_ulsch_decoding.c
View file @
9cf9ea7c
...
@@ -727,8 +727,6 @@ uint32_t nr_ulsch_decoding(PHY_VARS_gNB *phy_vars_gNB,
...
@@ -727,8 +727,6 @@ uint32_t nr_ulsch_decoding(PHY_VARS_gNB *phy_vars_gNB,
}
}
}
}
<<<<<<<
HEAD
=======
#ifdef DEBUG_ULSCH_DECODING
#ifdef DEBUG_ULSCH_DECODING
LOG_I
(
PHY
,
"Decoder output (payload):
\n
"
);
LOG_I
(
PHY
,
"Decoder output (payload):
\n
"
);
...
@@ -739,7 +737,6 @@ uint32_t nr_ulsch_decoding(PHY_VARS_gNB *phy_vars_gNB,
...
@@ -739,7 +737,6 @@ uint32_t nr_ulsch_decoding(PHY_VARS_gNB *phy_vars_gNB,
}
}
#endif
#endif
>>>>>>>
origin
/
develop
ulsch
->
last_iteration_cnt
=
ret
;
ulsch
->
last_iteration_cnt
=
ret
;
return
(
ret
);
return
(
ret
);
...
...
openair1/PHY/TOOLS/Makefile
View file @
9cf9ea7c
lte_dfts_sse4
:
lte_dfts.c
lte_dfts_sse4
:
lte_dfts.c
<<<<<<<
HEAD
gcc
-O2
-std
=
gnu99
-msse4
.1
-g
-ggdb
-o
lte_dfts_sse4 lte_dfts.c time_meas.c ../../SIMULATION/TOOLS/taus.c
$$
OPENAIR_HOME/common/utils/backtrace.c
-I
$$
OPENAIR_HOME
-I
$$
OPENAIR1_DIR
-I
$$
OPENAIR_TARGETS
-I
$$
OPENAIR2_DIR
-I
$$
OPENAIR2_DIR/COMMON
-I
$$
OPENAIR_HOME/common/utils
-I
$$
OPENAIR_HOME/common/utils/T
-DMR_MAIN
-DNB_ANTENNAS_RX
=
1
-lm
-lpthread
# -DD256STATS #-DD64STATS
=======
gcc-7
-O3
-std
=
gnu99
-msse4
.1
-o
lte_dfts_sse4 lte_dfts.c time_meas.c ../../SIMULATION/TOOLS/taus.c
-I
$$
OPENAIR_HOME
-I
$$
OPENAIR1_DIR
-I
$$
OPENAIR_TARGETS
-I
$$
OPENAIR2_DIR
-I
$$
OPENAIR2_DIR/COMMON
-I
$$
OPENAIR_HOME/common/utils
-I
$$
OPENAIR_HOME/common/utils/T
-DMR_MAIN
-DNB_ANTENNAS_RX
=
1
-lm
-lpthread
# -DD256STATS #-DD64STATS
gcc-7
-O3
-std
=
gnu99
-msse4
.1
-o
lte_dfts_sse4 lte_dfts.c time_meas.c ../../SIMULATION/TOOLS/taus.c
-I
$$
OPENAIR_HOME
-I
$$
OPENAIR1_DIR
-I
$$
OPENAIR_TARGETS
-I
$$
OPENAIR2_DIR
-I
$$
OPENAIR2_DIR/COMMON
-I
$$
OPENAIR_HOME/common/utils
-I
$$
OPENAIR_HOME/common/utils/T
-DMR_MAIN
-DNB_ANTENNAS_RX
=
1
-lm
-lpthread
# -DD256STATS #-DD64STATS
>>>>>>>
origin/develop-nr
lte_dfts_avx2
:
lte_dfts.c
lte_dfts_avx2
:
lte_dfts.c
gcc
-O2
-std
=
gnu99
-mavx2
-g
-ggdb
-o
lte_dfts_avx2 lte_dfts.c time_meas.c ../../SIMULATION/TOOLS/taus.c
$$
OPENAIR_HOME/common/utils/backtrace.c
-I
$$
OPENAIR_HOME
-I
$$
OPENAIR1_DIR
-I
$$
OPENAIR_TARGETS
-I
$$
OPENAIR2_DIR
-I
$$
OPENAIR2_DIR/COMMON
-I
$$
OPENAIR_HOME/common/utils
-I
$$
OPENAIR_HOME/common/utils/T
-DMR_MAIN
-DNB_ANTENNAS_RX
=
1
-lm
-lpthread
# -DD256STATS #-DD64STATS
gcc
-O2
-std
=
gnu99
-mavx2
-g
-ggdb
-o
lte_dfts_avx2 lte_dfts.c time_meas.c ../../SIMULATION/TOOLS/taus.c
$$
OPENAIR_HOME/common/utils/backtrace.c
-I
$$
OPENAIR_HOME
-I
$$
OPENAIR1_DIR
-I
$$
OPENAIR_TARGETS
-I
$$
OPENAIR2_DIR
-I
$$
OPENAIR2_DIR/COMMON
-I
$$
OPENAIR_HOME/common/utils
-I
$$
OPENAIR_HOME/common/utils/T
-DMR_MAIN
-DNB_ANTENNAS_RX
=
1
-lm
-lpthread
# -DD256STATS #-DD64STATS
...
...
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