Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
openairinterface5G
Commits
e5013e53
Commit
e5013e53
authored
Sep 29, 2015
by
Xiwen JIANG
Browse files
move DL beamforming channel estimation to dlsim top level file
parent
1a1d843f
Changes
2
Hide whitespace changes
Inline
Side-by-side
openair1/PHY/MODULATION/slot_fep.c
View file @
e5013e53
...
...
@@ -247,17 +247,6 @@ int slot_fep(PHY_VARS_UE *phy_vars_ue,
}
}
if
(
phy_vars_ue
->
transmission_mode
[
eNB_id
]
==
7
)
{
if
(
frame_parms
->
Ncp
==
0
&&
((
symbol
==
3
)
||
(
symbol
==
6
)
||
(
symbol
==
9
)
||
(
symbol
==
12
)))
lte_dl_bf_channel_estimation
(
phy_vars_ue
,
eNB_id
,
0
,
Ns
,
5
,
symbol
);
else
if
(
frame_parms
->
Ncp
==
1
&&
((
symbol
==
4
)
||
(
symbol
==
7
)
||
(
symbol
==
10
)))
msg
(
"slot_fep(slot_fep.c):channel estimation not supported yet for TM7 extented CP.
\n
"
);
}
else
if
(
phy_vars_ue
->
transmission_mode
[
eNB_id
]
>
7
)
{
msg
(
"slot_fep(slot_fep.c):transmission mode not supported yet.
\n
"
);
}
}
#ifdef DEBUG_FEP
...
...
openair1/SIMULATION/LTE_PHY/dlsim.c
View file @
e5013e53
...
...
@@ -564,7 +564,7 @@ int main(int argc, char **argv)
exit
(
-
1
);
}
if
(
transmission_mode
==
7
&&
(
n_tx_phy
!=
2
&&
n_tx_phy
!=
4
&&
n_tx_phy
!=
8
&&
n_tx_phy
!=
16
&&
n_tx_phy
!=
64
))
{
if
(
transmission_mode
==
7
&&
(
n_tx_phy
!=
1
&&
n_tx_phy
!=
2
&&
n_tx_phy
!=
4
&&
n_tx_phy
!=
8
&&
n_tx_phy
!=
16
&&
n_tx_phy
!=
64
))
{
msg
(
"For TM7, physical antenna number should be an exponent of 2, maximum 64 antennas supported.
\n
"
);
exit
(
-
1
);
}
...
...
@@ -3360,6 +3360,18 @@ PMI_FEEDBACK:
}
if
(
dlsch_active
==
1
)
{
if
(
transmission_mode
==
7
)
{
if
(
PHY_vars_UE
->
lte_frame_parms
.
Ncp
==
0
)
{
if
((
Ns
==
(
2
*
subframe
)
&&
((
l
==
3
)
||
(
l
==
6
)))
||
Ns
==
(
1
+
(
2
*
subframe
))
&&
((
l
==
3
)
||
(
l
==
6
)))
{
lte_dl_bf_channel_estimation
(
PHY_vars_UE
,
eNB_id
,
0
,
Ns
,
5
,
l
+
7
*
(
Ns
%
2
==
1
));
}
}
else
{
msg
(
"Beamforming channel estimation not supported yet for TM7 extented CP.
\n
"
);
}
}
if
((
Ns
==
(
1
+
(
2
*
subframe
)))
&&
(
l
==
0
))
{
// process PDSCH symbols 1,2,3,4,5,(6 Normal Prefix)
if
((
transmission_mode
==
5
)
&&
...
...
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