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
542e8adf
Commit
542e8adf
authored
Dec 21, 2020
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor nr_write_ce_dlsch_pdu(): SP ZP CSI-RS Resource Set Activation/Deactivation MAC CE
parent
30bb4699
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
+4
-1
No files found.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
View file @
542e8adf
...
...
@@ -198,7 +198,11 @@ int nr_write_ce_dlsch_pdu(module_id_t module_idP,
mac_pdu_ptr
+=
(
unsigned
char
)
mac_ce_size
;
}
// TS 38.321 Sec. 6.1.3.19 SP ZP CSI-RS Resource Set Activation/Deactivation MAC CE
if
(
ue_sched_ctl
->
UE_mac_ce_ctrl
.
sp_zp_csi_rs
.
is_scheduled
)
{
const
int
mac_ce_size
=
sizeof
(
NR_MAC_CE_SP_ZP_CSI_RS_RES_SET
);
if
(
size
<
mac_ce_size
+
1
)
return
(
unsigned
char
*
)
mac_pdu_ptr
-
mac_pdu
;
((
NR_MAC_SUBHEADER_FIXED
*
)
mac_pdu_ptr
)
->
R
=
0
;
((
NR_MAC_SUBHEADER_FIXED
*
)
mac_pdu_ptr
)
->
LCID
=
DL_SCH_LCID_SP_ZP_CSI_RS_RES_SET_ACT
;
mac_pdu_ptr
++
;
...
...
@@ -209,7 +213,6 @@ int nr_write_ce_dlsch_pdu(module_id_t module_idP,
((
NR_MAC_CE_SP_ZP_CSI_RS_RES_SET
*
)
mac_pdu_ptr
)
->
R
=
0
;
LOG_D
(
MAC
,
"NR MAC CE of ZP CSIRS Serv cell ID = %d BWPID= %d Rsc set ID = %d
\n
"
,
ue_sched_ctl
->
UE_mac_ce_ctrl
.
sp_zp_csi_rs
.
serv_cell_id
,
ue_sched_ctl
->
UE_mac_ce_ctrl
.
sp_zp_csi_rs
.
bwpid
,
ue_sched_ctl
->
UE_mac_ce_ctrl
.
sp_zp_csi_rs
.
rsc_id
);
mac_ce_size
=
sizeof
(
NR_MAC_CE_SP_ZP_CSI_RS_RES_SET
);
mac_pdu_ptr
+=
(
unsigned
char
)
mac_ce_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