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
bcbb0d59
Commit
bcbb0d59
authored
Oct 08, 2023
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/Fix-CSI_RS-PDU-at-UE' into integration_2023_w40
parents
806842a0
9bee85db
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
2 deletions
+23
-2
openair1/PHY/NR_UE_TRANSPORT/csi_rx.c
openair1/PHY/NR_UE_TRANSPORT/csi_rx.c
+21
-1
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
+2
-1
No files found.
openair1/PHY/NR_UE_TRANSPORT/csi_rx.c
View file @
bcbb0d59
...
...
@@ -834,6 +834,26 @@ int nr_ue_csi_im_procedures(PHY_VARS_NR_UE *ue, UE_nr_rxtx_proc_t *proc, c16_t r
return
0
;
}
nfapi_nr_dl_tti_csi_rs_pdu_rel15_t
*
convert_csirs_pdu
(
fapi_nr_dl_config_csirs_pdu_rel15_t
*
csirs_config_pdu
)
{
nfapi_nr_dl_tti_csi_rs_pdu_rel15_t
*
dl_tti_csi_rs_pdu
=
calloc
(
1
,
sizeof
(
nfapi_nr_dl_tti_csi_rs_pdu_rel15_t
));
dl_tti_csi_rs_pdu
->
subcarrier_spacing
=
csirs_config_pdu
->
subcarrier_spacing
;
dl_tti_csi_rs_pdu
->
cyclic_prefix
=
csirs_config_pdu
->
cyclic_prefix
;
dl_tti_csi_rs_pdu
->
start_rb
=
csirs_config_pdu
->
start_rb
;
dl_tti_csi_rs_pdu
->
nr_of_rbs
=
csirs_config_pdu
->
nr_of_rbs
;
dl_tti_csi_rs_pdu
->
csi_type
=
csirs_config_pdu
->
csi_type
;
dl_tti_csi_rs_pdu
->
row
=
csirs_config_pdu
->
row
;
dl_tti_csi_rs_pdu
->
freq_domain
=
csirs_config_pdu
->
freq_domain
;
dl_tti_csi_rs_pdu
->
symb_l0
=
csirs_config_pdu
->
symb_l0
;
dl_tti_csi_rs_pdu
->
symb_l1
=
csirs_config_pdu
->
symb_l1
;
dl_tti_csi_rs_pdu
->
cdm_type
=
csirs_config_pdu
->
cdm_type
;
dl_tti_csi_rs_pdu
->
freq_density
=
csirs_config_pdu
->
freq_density
;
dl_tti_csi_rs_pdu
->
scramb_id
=
csirs_config_pdu
->
scramb_id
;
dl_tti_csi_rs_pdu
->
power_control_offset
=
csirs_config_pdu
->
power_control_offset
;
dl_tti_csi_rs_pdu
->
power_control_offset_ss
=
csirs_config_pdu
->
power_control_offset_ss
;
return
dl_tti_csi_rs_pdu
;
}
void
nr_ue_csi_rs_procedures
(
PHY_VARS_NR_UE
*
ue
,
UE_nr_rxtx_proc_t
*
proc
,
c16_t
rxdataF
[][
ue
->
frame_parms
.
samples_per_slot_wCP
])
{
...
...
@@ -891,7 +911,7 @@ void nr_ue_csi_rs_procedures(PHY_VARS_NR_UE *ue, UE_nr_rxtx_proc_t *proc, c16_t
ue
->
nr_csi_info
->
csi_rs_generated_signal
,
AMP
,
ue
->
nr_csi_info
,
(
nfapi_nr_dl_tti_csi_rs_pdu_rel15_t
*
)
csirs_config_pdu
,
convert_csirs_pdu
((
fapi_nr_dl_config_csirs_pdu_rel15_t
*
)
&
ue
->
csirs_vars
[
gNB_id
]
->
csirs_config_pdu
)
,
proc
->
nr_slot_rx
,
&
N_cdm_groups
,
&
CDM_group_size
,
...
...
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
View file @
bcbb0d59
...
...
@@ -2570,7 +2570,8 @@ void nr_csirs_scheduling(int Mod_idP, frame_t frame, sub_frame_t slot, int n_slo
dl_tti_csirs_pdu
->
PDUSize
=
(
uint8_t
)(
2
+
sizeof
(
nfapi_nr_dl_tti_csi_rs_pdu
));
nfapi_nr_dl_tti_csi_rs_pdu_rel15_t
*
csirs_pdu_rel15
=
&
dl_tti_csirs_pdu
->
csi_rs_pdu
.
csi_rs_pdu_rel15
;
csirs_pdu_rel15
->
bwp_size
=
dl_bwp
->
BWPSize
;
csirs_pdu_rel15
->
bwp_start
=
dl_bwp
->
BWPStart
;
csirs_pdu_rel15
->
subcarrier_spacing
=
dl_bwp
->
scs
;
if
(
dl_bwp
->
cyclicprefix
)
csirs_pdu_rel15
->
cyclic_prefix
=
*
dl_bwp
->
cyclicprefix
;
...
...
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