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
55075923
Commit
55075923
authored
Jan 18, 2017
by
Florian Kaltenberger
Browse files
change loop limit to NB_ANTENNA_PORTS_ENB
parent
a5e6690d
Changes
1
Hide whitespace changes
Inline
Side-by-side
openair1/PHY/MODULATION/beamforming.c
View file @
55075923
...
...
@@ -63,7 +63,7 @@ int beam_precoding(int32_t **txdataF,
// clear txdata_BF[aa][re] for each call of ue_spec_beamforming
memset
(
txdataF_BF
[
aa
],
0
,
sizeof
(
int32_t
)
*
(
frame_parms
->
ofdm_symbol_size
));
for
(
p
=
0
;
p
<
14
;
p
++
)
{
for
(
p
=
0
;
p
<
NB_ANTENNA_PORTS_ENB
;
p
++
)
{
if
(
p
==
0
||
p
==
1
||
p
==
5
)
{
multadd_cpx_vector
((
int16_t
*
)
&
txdataF
[
p
][
slot_offset_F
+
symbol
*
frame_parms
->
ofdm_symbol_size
],(
int16_t
*
)
beam_weights
[
p
][
aa
],
(
int16_t
*
)
txdataF_BF
[
aa
],
0
,
frame_parms
->
ofdm_symbol_size
,
15
);
//mult_cpx_conj_vector((int16_t*)beam_weights[p][aa], (int16_t*)&txdataF[p][slot_offset_F+symbol*frame_parms->ofdm_symbol_size], (int16_t*)txdataF_BF[aa], frame_parms->ofdm_symbol_size, 15, 1);
...
...
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