Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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
Michael Black
OpenXG UE
Commits
c3eb8211
Commit
c3eb8211
authored
Sep 23, 2015
by
Xiwen JIANG
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pass physical antenna number as an dlsim option
parent
f6e31e26
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
14 deletions
+16
-14
openair1/SIMULATION/LTE_PHY/dlsim.c
openair1/SIMULATION/LTE_PHY/dlsim.c
+16
-14
No files found.
openair1/SIMULATION/LTE_PHY/dlsim.c
View file @
c3eb8211
...
@@ -374,7 +374,7 @@ int main(int argc, char **argv)
...
@@ -374,7 +374,7 @@ int main(int argc, char **argv)
num_layers
=
1
;
num_layers
=
1
;
perfect_ce
=
0
;
perfect_ce
=
0
;
while
((
c
=
getopt
(
argc
,
argv
,
"ahdpZDe:m: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:PLl:Y"
))
!=
-
1
)
{
while
((
c
=
getopt
(
argc
,
argv
,
"ahdpZDe:m:n:o:s:f:t:c:g:r:F:x:y:
q:
z:AM:N:I:i:O:R:S:C:T:b:u:v:w:B:PLl:Y"
))
!=
-
1
)
{
switch
(
c
)
{
switch
(
c
)
{
case
'a'
:
case
'a'
:
awgn_flag
=
1
;
awgn_flag
=
1
;
...
@@ -539,28 +539,29 @@ int main(int argc, char **argv)
...
@@ -539,28 +539,29 @@ int main(int argc, char **argv)
exit
(
-
1
);
exit
(
-
1
);
}
}
if
(
transmission_mode
>
1
&&
transmission_mode
<
7
)
{
if
(
transmission_mode
>
1
&&
transmission_mode
<
7
){
n_tx
=
2
;
n_tx
=
2
;
n_tx_phy
=
n_tx
;
n_tx_phy
=
n_tx
;
}
}
if
(
transmission_mode
>=
7
){
n_tx
=
1
;
n_tx_phy
=
1
;
n_rx
=
1
;
}
break
;
break
;
case
'y'
:
case
'y'
:
n_tx
=
atoi
(
optarg
);
n_tx
=
atoi
(
optarg
);
if
(
transmission_mode
<
7
){
if
((
n_tx
==
0
)
||
((
n_tx
>
2
)))
{
n_tx_phy
=
n_tx
;
msg
(
"Unsupported number of tx antennas ports %d
\n
"
,
n_tx
);
exit
(
-
1
);
}
break
;
if
((
n_tx
==
0
)
||
((
n_tx
>
2
)))
{
case
'q'
:
msg
(
"Unsupported number of tx antennas %d
\n
"
,
n_tx
);
n_tx_phy
=
atoi
(
optarg
);
exit
(
-
1
);
}
if
(
transmission_mode
<
7
&&
n_tx_phy
!=
n_tx
)
{
msg
(
"For transmission mode below TM7, physical antenna number should be the same as antenna port number.
\n
"
);
exit
(
-
1
);
}
}
break
;
break
;
...
@@ -668,7 +669,8 @@ int main(int argc, char **argv)
...
@@ -668,7 +669,8 @@ int main(int argc, char **argv)
printf
(
"-g [A:M] Use 3GPP 25.814 SCM-A/B/C/D('A','B','C','D') or 36-101 EPA('E'), EVA ('F'),ETU('G') models (ignores delay spread and Ricean factor), Rayghleigh8 ('H'), Rayleigh1('I'), Rayleigh1_corr('J'), Rayleigh1_anticorr ('K'), Rice8('L'), Rice1('M')
\n
"
);
printf
(
"-g [A:M] Use 3GPP 25.814 SCM-A/B/C/D('A','B','C','D') or 36-101 EPA('E'), EVA ('F'),ETU('G') models (ignores delay spread and Ricean factor), Rayghleigh8 ('H'), Rayleigh1('I'), Rayleigh1_corr('J'), Rayleigh1_anticorr ('K'), Rice8('L'), Rice1('M')
\n
"
);
printf
(
"-F forgetting factor (0 new channel every trial, 1 channel constant
\n
"
);
printf
(
"-F forgetting factor (0 new channel every trial, 1 channel constant
\n
"
);
printf
(
"-x Transmission mode (1,2,6,7 for the moment)
\n
"
);
printf
(
"-x Transmission mode (1,2,6,7 for the moment)
\n
"
);
printf
(
"-y Number of TX antennas used in eNB
\n
"
);
printf
(
"-y Number of TX antennas ports used in eNB
\n
"
);
printf
(
"-q Number of physical TX antennas used in eNB
\n
"
);
printf
(
"-z Number of RX antennas used in UE
\n
"
);
printf
(
"-z Number of RX antennas used in UE
\n
"
);
printf
(
"-t MCS of interfering UE
\n
"
);
printf
(
"-t MCS of interfering UE
\n
"
);
printf
(
"-R Number of HARQ rounds (fixed)
\n
"
);
printf
(
"-R Number of HARQ rounds (fixed)
\n
"
);
...
...
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