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
Michael Black
OpenXG-RAN
Commits
4fbf754d
Commit
4fbf754d
authored
Aug 09, 2019
by
Wang Tsu-Han
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding condition for multi L1 and TDD slot select in nr_feptx_prec
parent
1d3023a5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
23 deletions
+32
-23
openair1/SCHED_NR/nr_ru_procedures.c
openair1/SCHED_NR/nr_ru_procedures.c
+32
-23
No files found.
openair1/SCHED_NR/nr_ru_procedures.c
View file @
4fbf754d
...
@@ -243,24 +243,32 @@ void nr_feptx_ofdm(RU_t *ru,int frame_tx,int tti_tx) {
...
@@ -243,24 +243,32 @@ void nr_feptx_ofdm(RU_t *ru,int frame_tx,int tti_tx) {
void
nr_feptx_prec
(
RU_t
*
ru
,
int
frame
,
int
tti_tx
)
{
void
nr_feptx_prec
(
RU_t
*
ru
,
int
frame
,
int
tti_tx
)
{
int
l
,
aa
;
int
l
,
aa
;
NR_DL_FRAME_PARMS
*
fp
=
ru
->
nr_frame_parms
;
PHY_VARS_gNB
**
gNB_list
=
ru
->
gNB_list
,
*
gNB
;
NR_DL_FRAME_PARMS
*
fp
=
ru
->
nr_frame_parms
;
nfapi_nr_config_request_t
*
cfg
;
int32_t
***
bw
;
int32_t
***
bw
;
if
(
ru
->
num_gNB
==
1
){
gNB
=
gNB_list
[
0
];
cfg
=
&
gNB
->
gNB_config
;
if
(
nr_slot_select
(
cfg
,
tti_tx
)
==
SF_UL
)
return
;
if
(
ru
->
nb_tx
==
1
)
{
if
(
ru
->
nb_tx
==
1
)
{
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_PHY_PROCEDURES_RU_FEPTX_PREC
,
1
);
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_PHY_PROCEDURES_RU_FEPTX_PREC
,
1
);
memcpy
((
void
*
)
ru
->
common
.
txdataF_BF
[
0
],
memcpy
((
void
*
)
ru
->
common
.
txdataF_BF
[
0
],
(
void
*
)
ru
->
gNB_list
[
0
]
->
common_vars
.
txdataF
[
0
][
tti_tx
*
fp
->
symbols_per_slot
*
fp
->
ofdm_symbol_size
],
(
void
*
)
&
gNB
->
common_vars
.
txdataF
[
0
][
tti_tx
*
fp
->
symbols_per_slot
*
fp
->
ofdm_symbol_size
],
fp
->
samples_per_slot_wCP
*
sizeof
(
int32_t
));
fp
->
samples_per_slot_wCP
*
sizeof
(
int32_t
));
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_PHY_PROCEDURES_RU_FEPTX_PREC
,
0
);
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_PHY_PROCEDURES_RU_FEPTX_PREC
,
0
);
}
}
// if (ru->nb_tx == 1)
else
{
else
{
bw
=
ru
->
beam_weights
[
0
];
bw
=
ru
->
beam_weights
[
0
];
for
(
l
=
0
;
l
<
fp
->
symbols_per_slot
;
l
++
)
{
for
(
l
=
0
;
l
<
fp
->
symbols_per_slot
;
l
++
)
{
for
(
aa
=
0
;
aa
<
ru
->
nb_tx
;
aa
++
)
{
for
(
aa
=
0
;
aa
<
ru
->
nb_tx
;
aa
++
)
{
nr_beam_precoding
(
ru
->
gNB_list
[
0
]
->
common_vars
.
txdataF
,
nr_beam_precoding
(
gNB
->
common_vars
.
txdataF
,
ru
->
common
.
txdataF_BF
,
ru
->
common
.
txdataF_BF
,
fp
,
fp
,
bw
,
bw
,
...
@@ -268,8 +276,9 @@ void nr_feptx_prec(RU_t *ru,int frame,int tti_tx) {
...
@@ -268,8 +276,9 @@ void nr_feptx_prec(RU_t *ru,int frame,int tti_tx) {
l
,
l
,
aa
);
aa
);
}
}
// for (aa=0;aa<ru->nb_tx;aa++)
}
}
// for (l=0;l<fp->symbols_per_slot;l++)
}
}
// if (ru->nb_tx == 1)
}
// if (ru->num_gNB == 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