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
d6fe889a
Commit
d6fe889a
authored
Oct 13, 2023
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/Remove-convert-csirs-pdu-calloc' into integration_2023_w41
parents
7f0dbde1
80a6a3e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
19 deletions
+19
-19
openair1/PHY/NR_UE_TRANSPORT/csi_rx.c
openair1/PHY/NR_UE_TRANSPORT/csi_rx.c
+19
-19
No files found.
openair1/PHY/NR_UE_TRANSPORT/csi_rx.c
View file @
d6fe889a
...
...
@@ -834,23 +834,23 @@ 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
)
static
nfapi_nr_dl_tti_csi_rs_pdu_rel15_t
convert_csirs_pdu
(
const
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
;
nfapi_nr_dl_tti_csi_rs_pdu_rel15_t
dl_tti_csi_rs_pdu
;
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
;
}
...
...
@@ -862,7 +862,7 @@ void nr_ue_csi_rs_procedures(PHY_VARS_NR_UE *ue, UE_nr_rxtx_proc_t *proc, c16_t
return
;
}
const
fapi_nr_dl_config_csirs_pdu_rel15_t
*
csirs_config_pdu
=
(
fapi_nr_dl_config_csirs_pdu_rel15_t
*
)
&
ue
->
csirs_vars
[
gNB_id
]
->
csirs_config_pdu
;
const
fapi_nr_dl_config_csirs_pdu_rel15_t
*
csirs_config_pdu
=
&
ue
->
csirs_vars
[
gNB_id
]
->
csirs_config_pdu
;
#ifdef NR_CSIRS_DEBUG
LOG_I
(
NR_PHY
,
"csirs_config_pdu->subcarrier_spacing = %i
\n
"
,
csirs_config_pdu
->
subcarrier_spacing
);
...
...
@@ -906,12 +906,12 @@ void nr_ue_csi_rs_procedures(PHY_VARS_NR_UE *ue, UE_nr_rxtx_proc_t *proc, c16_t
uint8_t
cqi
=
0
;
uint8_t
i1
[
3
];
uint8_t
i2
[
1
];
nfapi_nr_dl_tti_csi_rs_pdu_rel15_t
csi_params
=
convert_csirs_pdu
(
csirs_config_pdu
);
nr_generate_csi_rs
(
frame_parms
,
ue
->
nr_csi_info
->
csi_rs_generated_signal
,
AMP
,
ue
->
nr_csi_info
,
convert_csirs_pdu
((
fapi_nr_dl_config_csirs_pdu_rel15_t
*
)
&
ue
->
csirs_vars
[
gNB_id
]
->
csirs_config_pdu
)
,
&
csi_params
,
proc
->
nr_slot_rx
,
&
N_cdm_groups
,
&
CDM_group_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