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
spbro
OpenXG-RAN
Commits
5effa740
Commit
5effa740
authored
Jul 18, 2024
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set FAPI CSI type as TRS when necessary in UE MAC
parent
909fd5a9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
openair1/PHY/NR_UE_TRANSPORT/csi_rx.c
openair1/PHY/NR_UE_TRANSPORT/csi_rx.c
+1
-1
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
+5
-2
No files found.
openair1/PHY/NR_UE_TRANSPORT/csi_rx.c
View file @
5effa740
...
...
@@ -877,7 +877,7 @@ void nr_ue_csi_rs_procedures(PHY_VARS_NR_UE *ue,
LOG_I
(
NR_PHY
,
"csirs_config_pdu->power_control_offset_ss = %i
\n
"
,
csirs_config_pdu
->
power_control_offset_ss
);
#endif
if
(
csirs_config_pdu
->
measurement_bitmap
==
0
)
{
if
(
csirs_config_pdu
->
csi_type
==
0
)
{
LOG_E
(
NR_PHY
,
"Handling of CSI-RS for tracking not handled yet at PHY
\n
"
);
return
;
}
...
...
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
View file @
5effa740
...
...
@@ -2628,7 +2628,7 @@ void nr_schedule_csirs_reception(NR_UE_MAC_INST_t *mac, int frame, int slot)
uint16_t
bwp_size
=
current_DL_BWP
->
BWPSize
;
uint16_t
bwp_start
=
current_DL_BWP
->
BWPStart
;
for
(
int
id
=
0
;
id
<
csi_measconfig
->
nzp_CSI_RS_ResourceToAddModList
->
list
.
count
;
id
++
){
for
(
int
id
=
0
;
id
<
csi_measconfig
->
nzp_CSI_RS_ResourceToAddModList
->
list
.
count
;
id
++
)
{
NR_NZP_CSI_RS_Resource_t
*
nzpcsi
=
csi_measconfig
->
nzp_CSI_RS_ResourceToAddModList
->
list
.
array
[
id
];
int
period
,
offset
;
csi_period_offset
(
NULL
,
nzpcsi
->
periodicityAndOffset
,
&
period
,
&
offset
);
...
...
@@ -2644,7 +2644,10 @@ void nr_schedule_csirs_reception(NR_UE_MAC_INST_t *mac, int frame, int slot)
csirs_config_pdu
->
subcarrier_spacing
=
mu
;
csirs_config_pdu
->
cyclic_prefix
=
current_DL_BWP
->
cyclicprefix
?
*
current_DL_BWP
->
cyclicprefix
:
0
;
csirs_config_pdu
->
csi_type
=
1
;
// NZP-CSI-RS
if
(
csi_res_id
>
NR_maxNrofCSI_ResourceConfigurations
)
csirs_config_pdu
->
csi_type
=
0
;
// TRS
else
csirs_config_pdu
->
csi_type
=
1
;
// NZP-CSI-RS
csirs_config_pdu
->
scramb_id
=
nzpcsi
->
scramblingID
;
csirs_config_pdu
->
power_control_offset
=
nzpcsi
->
powerControlOffset
+
8
;
...
...
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