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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
f3bee8ed
Commit
f3bee8ed
authored
Oct 11, 2024
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
L1 beam allocation for CSI-RS
parent
0993eb4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
openair1/SCHED_NR/phy_procedures_nr_gNB.c
openair1/SCHED_NR/phy_procedures_nr_gNB.c
+12
-2
No files found.
openair1/SCHED_NR/phy_procedures_nr_gNB.c
View file @
f3bee8ed
...
...
@@ -252,7 +252,6 @@ void phy_procedures_gNB_TX(processingData_L1tx_t *msgTx,
for
(
int
i
=
0
;
i
<
NR_SYMBOLS_PER_SLOT
;
i
++
){
NR_gNB_CSIRS_t
*
csirs
=
&
msgTx
->
csirs_pdu
[
i
];
if
(
csirs
->
active
==
1
)
{
AssertFatal
(
gNB
->
common_vars
.
beam_id
==
NULL
,
"Cannot handle CSI in the framework of beamforming yet
\n
"
);
LOG_D
(
PHY
,
"CSI-RS generation started in frame %d.%d
\n
"
,
frame
,
slot
);
nfapi_nr_dl_tti_csi_rs_pdu_rel15_t
*
csi_params
=
&
csirs
->
csirs_pdu
.
csi_rs_pdu_rel15
;
if
(
csi_params
->
csi_type
==
2
)
{
// ZP-CSI
...
...
@@ -263,8 +262,19 @@ void phy_procedures_gNB_TX(processingData_L1tx_t *msgTx,
csi_params
->
freq_domain
,
csi_params
->
symb_l0
,
csi_params
->
symb_l1
);
nfapi_nr_tx_precoding_and_beamforming_t
*
pb
=
&
csi_params
->
precodingAndBeamforming
;
int
csi_bitmap
=
0
;
int
lprime_num
=
mapping_parms
.
lprime
+
1
;
for
(
int
j
=
0
;
j
<
mapping_parms
.
size
;
j
++
)
csi_bitmap
|=
((
1
<<
lprime_num
)
-
1
)
<<
mapping_parms
.
loverline
[
j
];
int
beam_nb
=
beam_index_allocation
(
pb
->
prgs_list
[
0
].
dig_bf_interface_list
[
0
].
beam_idx
,
&
gNB
->
common_vars
,
slot
,
fp
->
symbols_per_slot
,
csi_bitmap
);
nr_generate_csi_rs
(
&
gNB
->
frame_parms
,
(
int32_t
**
)
gNB
->
common_vars
.
txdataF
[
0
],
(
int32_t
**
)
gNB
->
common_vars
.
txdataF
[
beam_nb
],
gNB
->
TX_AMP
,
csi_params
,
slot
,
...
...
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