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
lizhongxiao
OpenXG-RAN
Commits
26251a1b
Commit
26251a1b
authored
Aug 30, 2018
by
Florian Kaltenberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
disabling T TRACER for NR-UE. bugfix for eNB on exit
parent
cc002b82
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
+10
-6
targets/RT/USER/lte-enb.c
targets/RT/USER/lte-enb.c
+7
-3
targets/RT/USER/nr-uesoftmodem.c
targets/RT/USER/nr-uesoftmodem.c
+3
-3
No files found.
targets/RT/USER/lte-enb.c
View file @
26251a1b
...
...
@@ -1031,9 +1031,13 @@ void kill_eNB_proc(int inst) {
proc
=
&
eNB
->
proc
;
proc_rxtx
=
&
proc
->
proc_rxtx
[
0
];
kill_td_thread
(
eNB
);
kill_te_thread
(
eNB
);
LOG_I
(
PHY
,
"Killing TX CC_id %d inst %d
\n
"
,
CC_id
,
inst
);
if
(
get_nprocs
()
>
2
&&
codingw
)
{
kill_td_thread
(
eNB
);
kill_te_thread
(
eNB
);
LOG_I
(
PHY
,
"Killing TX CC_id %d inst %d
\n
"
,
CC_id
,
inst
);
}
for
(
i
=
0
;
i
<
2
;
i
++
)
{
pthread_mutex_lock
(
&
proc_rxtx
[
i
].
mutex_rxtx
);
proc_rxtx
[
i
].
instance_cnt_rxtx
=
0
;
...
...
targets/RT/USER/nr-uesoftmodem.c
View file @
26251a1b
...
...
@@ -375,7 +375,7 @@ void help (void) {
printf
(
" -V Enable VCD (generated file will be located atopenair_dump_eNB.vcd, read it with target/RT/USER/eNB.gtkw
\n
"
);
printf
(
" -x Set the transmission mode, valid options: 1
\n
"
);
printf
(
" -E Apply three-quarter of sampling frequency, 23.04 Msps to reduce the data rate on USB/PCIe transfers (only valid for 20 MHz)
\n
"
);
#if T_TRACER
#if
0 //
T_TRACER
printf(" --T_port [port] use given port\n");
printf(" --T_nowait don't wait for tracer, start immediately\n");
printf(" --T_dont_fork to ease debugging with gdb\n");
...
...
@@ -619,7 +619,7 @@ static void get_options (int argc, char **argv) {
}
#if T_TRACER
#if
0 //
T_TRACER
int T_wait = 1; /* by default we wait for the tracer */
int T_port = 2021; /* default port to listen to to wait for the tracer */
int T_dont_fork = 0; /* default is to fork, see 'T_init' to understand */
...
...
@@ -903,7 +903,7 @@ int main( int argc, char **argv ) {
// get options and fill parameters from configuration file
get_options
(
argc
,
argv
);
//Command-line options, enb_properties
#if T_TRACER
#if
0 //
T_TRACER
T_init(T_port, T_wait, T_dont_fork);
#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