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
wangwenhui
OpenXG-RAN
Commits
f12350ce
Commit
f12350ce
authored
May 15, 2017
by
Cedric Roux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
integration fix: remove warnings in dlsim
parent
9cd3e2e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
openair1/SIMULATION/LTE_PHY/dlsim.c
openair1/SIMULATION/LTE_PHY/dlsim.c
+10
-10
No files found.
openair1/SIMULATION/LTE_PHY/dlsim.c
View file @
f12350ce
...
@@ -1341,7 +1341,7 @@ int main(int argc, char **argv)
...
@@ -1341,7 +1341,7 @@ int main(int argc, char **argv)
//int iii;
//int iii;
int
ch_realization
;
int
ch_realization
;
int
pmi_feedback
=
0
;
//
int pmi_feedback=0;
int
hold_channel
=
0
;
int
hold_channel
=
0
;
// void *data;
// void *data;
...
@@ -1391,7 +1391,7 @@ int main(int argc, char **argv)
...
@@ -1391,7 +1391,7 @@ int main(int argc, char **argv)
FILE
*
csv_fd
=
NULL
;
FILE
*
csv_fd
=
NULL
;
char
csv_fname
[
32
];
char
csv_fname
[
32
];
int
dci_flag
=
1
;
//
int dci_flag=1;
int
two_thread_flag
=
0
;
int
two_thread_flag
=
0
;
int
DLSCH_RB_ALLOC
=
0
;
int
DLSCH_RB_ALLOC
=
0
;
...
@@ -1453,9 +1453,9 @@ int main(int argc, char **argv)
...
@@ -1453,9 +1453,9 @@ int main(int argc, char **argv)
Nid_cell
=
atoi
(
optarg
);
Nid_cell
=
atoi
(
optarg
);
break
;
break
;
case
'd'
:
//
case 'd':
dci_flag
=
1
;
//
dci_flag = 1;
break
;
//
break;
case
'D'
:
case
'D'
:
frame_type
=
TDD
;
frame_type
=
TDD
;
...
@@ -1482,7 +1482,7 @@ int main(int argc, char **argv)
...
@@ -1482,7 +1482,7 @@ int main(int argc, char **argv)
case
'i'
:
case
'i'
:
input_fd
=
fopen
(
optarg
,
"r"
);
input_fd
=
fopen
(
optarg
,
"r"
);
input_file
=
1
;
input_file
=
1
;
dci_flag
=
1
;
//
dci_flag = 1;
break
;
break
;
case
'I'
:
case
'I'
:
...
@@ -2325,10 +2325,10 @@ int main(int argc, char **argv)
...
@@ -2325,10 +2325,10 @@ int main(int argc, char **argv)
// printf("Trial %d, round %d\n",trials,round);
// printf("Trial %d, round %d\n",trials,round);
round_trials
[
round
]
++
;
round_trials
[
round
]
++
;
if
(
transmission_mode
>=
5
)
//
if(transmission_mode>=5)
pmi_feedback
=
1
;
//
pmi_feedback=1;
else
//
else
pmi_feedback
=
0
;
//
pmi_feedback=0;
if
(
abstx
)
{
if
(
abstx
)
{
if
(
trials
==
0
&&
round
==
0
&&
SNR
==
snr0
)
//generate a new channel
if
(
trials
==
0
&&
round
==
0
&&
SNR
==
snr0
)
//generate a new channel
...
...
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