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
wangjie
OpenXG-RAN
Commits
132d139c
Commit
132d139c
authored
Sep 07, 2020
by
r.karey
Committed by
guhan
Feb 26, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed periodicity calculation according to CSI_Reporting branch
parent
bece5400
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
openair2/LAYER2/NR_MAC_gNB/config.c
openair2/LAYER2/NR_MAC_gNB/config.c
+0
-2
openair2/LAYER2/NR_MAC_gNB/nr_mac_gNB.h
openair2/LAYER2/NR_MAC_gNB/nr_mac_gNB.h
+1
-0
openair2/NR_PHY_INTERFACE/NR_IF_Module.c
openair2/NR_PHY_INTERFACE/NR_IF_Module.c
+3
-2
No files found.
openair2/LAYER2/NR_MAC_gNB/config.c
View file @
132d139c
...
...
@@ -341,8 +341,6 @@ void update_csi_bitlen (NR_CSI_MeasConfig_t *csi_MeasConfig, NR_UE_list_t *UE_li
csi_ResourceConfigId
=
csi_MeasConfig
->
csi_ReportConfigToAddModList
->
list
.
array
[
csi_report_id
]
->
resourcesForChannelMeasurement
;
reportQuantity_type
=
csi_MeasConfig
->
csi_ReportConfigToAddModList
->
list
.
array
[
csi_report_id
]
->
reportQuantity
.
present
;
UE_list
->
csi_report_template
[
UE_id
][
csi_report_id
].
reportQuantity_type
=
reportQuantity_type
;
p_and_o
=
csi_MeasConfig
->
csi_ReportConfigToAddModList
->
list
.
array
[
csi_report_id
]
->
reportConfigType
.
choice
.
periodic
->
reportSlotConfig
.
present
;
switch
(
p_and_o
){
case
NR_CSI_ReportPeriodicityAndOffset_PR_slots4
:
period
=
4
;
...
...
openair2/LAYER2/NR_MAC_gNB/nr_mac_gNB.h
View file @
132d139c
...
...
@@ -474,6 +474,7 @@ typedef struct {
typedef
struct
nr_csi_report
{
NR_CSI_ReportConfig__reportQuantity_PR
reportQuantity_type
;
long
periodicity
;
uint16_t
offset
;
NR_CSI_ResourceConfig__csi_RS_ResourceSetList_PR
CSI_Resource_type
;
uint8_t
nb_of_nzp_csi_report
;
uint8_t
nb_of_csi_ssb_report
;
...
...
openair2/NR_PHY_INTERFACE/NR_IF_Module.c
View file @
132d139c
...
...
@@ -304,8 +304,9 @@ void extract_pucch_csi_report ( NR_CSI_MeasConfig_t *csi_MeasConfig,
//Has to implement according to reportSlotConfig type
periodicity
=
UE_list
->
csi_report_template
[
UE_id
][
csi_report_id
].
periodicity
;
LOG_I
(
PHY
,
"SFN/SF:%d%d
\n
"
,
frame
,
slot
);
if
(((
NR_SubcarrierSpacing_kHz30
==
scs
)
&&
(((((
frame
&
0xf
)
+
1
)
*
20
+
slot
)
&
periodicity
)
==
periodicity
))
||
((
NR_SubcarrierSpacing_kHz120
==
scs
)
&&
(((((
frame
&
0xf
)
+
1
)
*
80
+
slot
)
&
periodicity
)
==
periodicity
)))
{
/* if (((NR_SubcarrierSpacing_kHz30 == scs) && (((((frame & 0xf)+1)*20 + slot) & periodicity) == periodicity))
||((NR_SubcarrierSpacing_kHz120 == scs)&&(((((frame & 0xf)+1)*80 + slot) & periodicity) == periodicity))) {*/
if
(((
slots_per_frame
[
scs
]
*
frame
+
slot
-
UE_list
->
csi_report_template
[
UE_id
][
csi_report_id
].
offset
)
%
periodicity
)
==
0
)
{
reportQuantity_type
=
UE_list
->
csi_report_template
[
UE_id
][
csi_report_id
].
reportQuantity_type
;
LOG_I
(
PHY
,
"SFN/SF:%d%d reportQuantity type = %d
\n
"
,
frame
,
slot
,
reportQuantity_type
);
...
...
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