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
68a82e0b
Commit
68a82e0b
authored
Oct 05, 2023
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
F1 Initial UL RRC message: fill PLMN and Cell ID
parent
84ffd14a
Changes
1
Hide 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_primitives.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
+4
-1
No files found.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
View file @
68a82e0b
...
@@ -2916,8 +2916,11 @@ void send_initial_ul_rrc_message(gNB_MAC_INST *mac, int rnti, const uint8_t *sdu
...
@@ -2916,8 +2916,11 @@ void send_initial_ul_rrc_message(gNB_MAC_INST *mac, int rnti, const uint8_t *sdu
uint8_t
du2cu
[
1024
];
uint8_t
du2cu
[
1024
];
int
encoded
=
encode_cellGroupConfig
(
UE
->
CellGroup
,
du2cu
,
sizeof
(
du2cu
));
int
encoded
=
encode_cellGroupConfig
(
UE
->
CellGroup
,
du2cu
,
sizeof
(
du2cu
));
DevAssert
(
mac
->
f1_config
.
setup_req
!=
NULL
);
AssertFatal
(
mac
->
f1_config
.
setup_req
->
num_cells_available
==
1
,
"can handle only one cell
\n
"
);
const
f1ap_initial_ul_rrc_message_t
ul_rrc_msg
=
{
const
f1ap_initial_ul_rrc_message_t
ul_rrc_msg
=
{
/* TODO: add mcc, mnc, cell_id, ..., is not available at MAC yet */
.
plmn
=
mac
->
f1_config
.
setup_req
->
cell
[
0
].
info
.
plmn
,
.
nr_cellid
=
mac
->
f1_config
.
setup_req
->
cell
[
0
].
info
.
nr_cellid
,
.
gNB_DU_ue_id
=
rnti
,
.
gNB_DU_ue_id
=
rnti
,
.
crnti
=
rnti
,
.
crnti
=
rnti
,
.
rrc_container
=
(
uint8_t
*
)
sdu
,
.
rrc_container
=
(
uint8_t
*
)
sdu
,
...
...
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