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
fadb9b83
Commit
fadb9b83
authored
Jun 12, 2017
by
Elena_Lukashova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add debugging level to dlsim_tm4.
parent
b7b13de3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
8 deletions
+14
-8
openair1/SIMULATION/LTE_PHY/dlsim_tm4.c
openair1/SIMULATION/LTE_PHY/dlsim_tm4.c
+14
-8
No files found.
openair1/SIMULATION/LTE_PHY/dlsim_tm4.c
View file @
fadb9b83
...
...
@@ -257,6 +257,7 @@ int main(int argc, char **argv)
FD_lte_phy_scope_ue
*
form_ue
=
NULL
;
char
title
[
255
];
uint32_t
DLSCH_RB_ALLOC
=
0x1fff
;
int
log_level
=
LOG_ERR
;
int
numCCE
=
0
;
int
dci_length_bytes
=
0
,
dci_length
=
0
;
int
common_flag
=
0
,
TPC
=
0
;
...
...
@@ -331,9 +332,6 @@ int main(int argc, char **argv)
//signal(SIGSEGV, handler);
//signal(SIGABRT, handler);
logInit
();
set_glog
(
LOG_INFO
,
LOG_MED
);
// default parameters
n_frames
=
1000
;
snr0
=
0
;
...
...
@@ -341,7 +339,7 @@ int main(int argc, char **argv)
perfect_ce
=
0
;
while
((
c
=
getopt
(
argc
,
argv
,
"ahdpZDe:Em:n:o:s:f:t:c:g:r:F:x:y:z:AM:N:I:i:O:R:S:C:T:b:u:v:w:B:P
Ll:XYWv:V:J:K:U
"
))
!=
-
1
)
{
while
((
c
=
getopt
(
argc
,
argv
,
"ahdpZDe:Em:n:o:s:f:t:c:g:r:F:x:y:z:AM:N:I:i:O:R:S:C:T:b:u:v:w:B:P
l:XYWv:V:J:K:UL:
"
))
!=
-
1
)
{
switch
(
c
)
{
case
'a'
:
...
...
@@ -406,10 +404,6 @@ int main(int argc, char **argv)
input_trch_file
=
1
;
break
;
case
'L'
:
llr8_flag
=
1
;
break
;
case
'l'
:
offset_mumimo_llr_drange_fix
=
atoi
(
optarg
);
break
;
...
...
@@ -640,6 +634,9 @@ int main(int argc, char **argv)
case
'U'
:
updated_csi
=
1
;
break
;
case
'L'
:
log_level
=
atoi
(
optarg
);
break
;
case
'h'
:
default:
printf
(
"%s -h(elp) -a(wgn on) -d(ci decoding on) -p(extended prefix on) -m mcs1 -M mcs2 -n n_frames -s snr0 -x transmission mode (1,2,3,5,6) -y TXant -z RXant -I trch_file
\n
"
,
argv
[
0
]);
...
...
@@ -673,6 +670,15 @@ int main(int argc, char **argv)
}
}
logInit
();
// enable these lines if you need debug info
set_comp_log
(
PHY
,
LOG_DEBUG
,
LOG_HIGH
,
1
);
set_glog
(
log_level
,
LOG_HIGH
);
// moreover you need to init itti with the following line
// however itti will catch all signals, so ctrl-c won't work anymore
// alternatively you can disable ITTI completely in CMakeLists.txt
//itti_init(TASK_MAX, THREAD_MAX, MESSAGES_ID_MAX, tasks_info, messages_info, messages_definition_xml, NULL);
if
(
common_flag
==
0
)
{
switch
(
N_RB_DL
)
{
case
6
:
...
...
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