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
5c2c6068
Commit
5c2c6068
authored
Dec 20, 2019
by
WANG Tsu-Han
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
index fix for number of logical antenna port
parent
1085e562
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
openair1/SCHED_NR/nr_ru_procedures.c
openair1/SCHED_NR/nr_ru_procedures.c
+5
-4
No files found.
openair1/SCHED_NR/nr_ru_procedures.c
View file @
5c2c6068
...
...
@@ -123,11 +123,12 @@ void nr_feptx_ofdm_2thread(RU_t *ru,int frame_tx,int tti_tx) {
int
j
=
0
;
int
p
=
0
;
int
ret
=
0
;
int
nb_logical_ports
=
fp
->
N_ssb
;
int
nb_logical_ports
=
fp
->
Lmax
;
int
ofdm_mask_full
=
(
1
<<
(
ru
->
nb_tx
*
2
))
-
1
;
int
txdataF_offset
=
(
tti_tx
%
2
)
*
fp
->
samples_per_slot_wCP
;
if
(
nr_slot_select
(
cfg
,
slot
)
==
SF_UL
)
return
;
for
(
p
=
0
;
p
<
fp
->
Lmax
;
p
++
)
{
for
(
p
=
0
;
p
<
nb_logical_ports
;
p
++
)
{
memset
(
ru
->
common
.
txdataF
[
p
],
0
,
fp
->
samples_per_slot_wCP
*
sizeof
(
int32_t
));
}
...
...
@@ -141,7 +142,7 @@ void nr_feptx_ofdm_2thread(RU_t *ru,int frame_tx,int tti_tx) {
for
(
i
=
0
;
i
<
nb_logical_ports
;
++
i
){
memcpy
((
void
*
)
&
ru
->
common
.
txdataF
[
i
][
j
*
fp
->
ofdm_symbol_size
],
(
void
*
)
&
gNB
->
common_vars
.
txdataF
[
i
][
j
*
fp
->
ofdm_symbol_size
+
((
tti_tx
%
2
)
*
fp
->
samples_per_slot_wCP
)
],
(
void
*
)
&
gNB
->
common_vars
.
txdataF
[
i
][
j
*
fp
->
ofdm_symbol_size
+
txdataF_offset
],
fp
->
ofdm_symbol_size
*
sizeof
(
int32_t
));
}
...
...
@@ -241,7 +242,7 @@ static void *nr_feptx_thread(void *param) {
start_meas
(
&
ru
->
precoding_stats
);
if
(
ru
->
nb_tx
==
1
)
{
AssertFatal
(
fp
->
N_ssb
==
ru
->
nb_tx
,
"Attempting to transmit %d SSB while Nb_tx = %d"
,
fp
->
N_ssb
,
ru
->
nb_tx
);
for
(
int
p
=
0
;
p
<
fp
->
Lmax
;
p
++
)
{
for
(
int
p
=
0
;
p
<
nb_logical_ports
;
p
++
)
{
if
((
fp
->
L_ssb
>>
p
)
&
0x01
){
memcpy
((
void
*
)
&
ru
->
common
.
txdataF_BF
[
0
][
l
*
fp
->
ofdm_symbol_size
],
(
void
*
)
&
ru
->
common
.
txdataF
[
p
][
l
*
fp
->
ofdm_symbol_size
],
...
...
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