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
14d238ba
Commit
14d238ba
authored
Oct 29, 2024
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RRC: keep track of UE's CellID
It will be used in the next commit
parent
a0a4096f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
openair2/RRC/NR/nr_rrc_defs.h
openair2/RRC/NR/nr_rrc_defs.h
+1
-0
openair2/RRC/NR/rrc_gNB.c
openair2/RRC/NR/rrc_gNB.c
+3
-0
No files found.
openair2/RRC/NR/nr_rrc_defs.h
View file @
14d238ba
...
...
@@ -243,6 +243,7 @@ typedef struct gNB_RRC_UE_s {
uint64_t
ng_5G_S_TMSI_Part1
;
NR_EstablishmentCause_t
establishment_cause
;
uint64_t
nr_cellid
;
uint32_t
rrc_ue_id
;
uint64_t
amf_ue_ngap_id
;
nr_rrc_guami_t
ue_guami
;
...
...
openair2/RRC/NR/rrc_gNB.c
View file @
14d238ba
...
...
@@ -1053,6 +1053,7 @@ static void rrc_handle_RRCSetupRequest(gNB_RRC_INST *rrc,
gNB_RRC_UE_t
*
UE
=
&
ue_context_p
->
ue_context
;
UE
=
&
ue_context_p
->
ue_context
;
UE
->
establishment_cause
=
rrcSetupRequest
->
establishmentCause
;
UE
->
nr_cellid
=
msg
->
nr_cellid
;
UE
->
masterCellGroup
=
cellGroupConfig
;
activate_srb
(
UE
,
1
);
rrc_gNB_generate_RRCSetup
(
0
,
msg
->
crnti
,
ue_context_p
,
msg
->
du2cu_rrc_container
,
msg
->
du2cu_rrc_container_length
);
...
...
@@ -1202,6 +1203,7 @@ static void rrc_handle_RRCReestablishmentRequest(gNB_RRC_INST *rrc,
// update with new RNTI, and update secondary UE association
UE
->
rnti
=
msg
->
crnti
;
UE
->
nr_cellid
=
msg
->
nr_cellid
;
f1_ue_data_t
ue_data
=
cu_get_f1_ue_data
(
UE
->
rrc_ue_id
);
ue_data
.
secondary_ue
=
msg
->
gNB_DU_ue_id
;
cu_remove_f1_ue_data
(
UE
->
rrc_ue_id
);
...
...
@@ -2107,6 +2109,7 @@ static void rrc_CU_process_ue_context_modification_response(MessageDef *msg_p, i
nr_ho_source_cu_t
*
source_ctx
=
UE
->
ho_context
->
source
;
DevAssert
(
source_ctx
->
old_rnti
==
UE
->
rnti
);
UE
->
rnti
=
target_ctx
->
new_rnti
;
UE
->
nr_cellid
=
target_ctx
->
du
->
setup_req
->
cell
[
0
].
info
.
nr_cellid
;
}
}
...
...
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