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
6 months ago
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
Branches unavailable
2025.w14
2025.w13
2025.w12
2025.w11
2025.w10
2025.w09
2025.w08
2025.w07
2025.w06
2025.w05
2025.w04
2025.w03
2025.w02
2024.w51
2024.w50
2024.w49
2024.w48
2024.w47
2024.w46
2024.w45
2024.w44
v2.2.0
No related merge requests found
Changes
2
Show 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 {
...
@@ -243,6 +243,7 @@ typedef struct gNB_RRC_UE_s {
uint64_t
ng_5G_S_TMSI_Part1
;
uint64_t
ng_5G_S_TMSI_Part1
;
NR_EstablishmentCause_t
establishment_cause
;
NR_EstablishmentCause_t
establishment_cause
;
uint64_t
nr_cellid
;
uint32_t
rrc_ue_id
;
uint32_t
rrc_ue_id
;
uint64_t
amf_ue_ngap_id
;
uint64_t
amf_ue_ngap_id
;
nr_rrc_guami_t
ue_guami
;
nr_rrc_guami_t
ue_guami
;
...
...
This diff is collapsed.
Click to expand it.
openair2/RRC/NR/rrc_gNB.c
View file @
14d238ba
...
@@ -1053,6 +1053,7 @@ static void rrc_handle_RRCSetupRequest(gNB_RRC_INST *rrc,
...
@@ -1053,6 +1053,7 @@ static void rrc_handle_RRCSetupRequest(gNB_RRC_INST *rrc,
gNB_RRC_UE_t
*
UE
=
&
ue_context_p
->
ue_context
;
gNB_RRC_UE_t
*
UE
=
&
ue_context_p
->
ue_context
;
UE
=
&
ue_context_p
->
ue_context
;
UE
=
&
ue_context_p
->
ue_context
;
UE
->
establishment_cause
=
rrcSetupRequest
->
establishmentCause
;
UE
->
establishment_cause
=
rrcSetupRequest
->
establishmentCause
;
UE
->
nr_cellid
=
msg
->
nr_cellid
;
UE
->
masterCellGroup
=
cellGroupConfig
;
UE
->
masterCellGroup
=
cellGroupConfig
;
activate_srb
(
UE
,
1
);
activate_srb
(
UE
,
1
);
rrc_gNB_generate_RRCSetup
(
0
,
msg
->
crnti
,
ue_context_p
,
msg
->
du2cu_rrc_container
,
msg
->
du2cu_rrc_container_length
);
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,
...
@@ -1202,6 +1203,7 @@ static void rrc_handle_RRCReestablishmentRequest(gNB_RRC_INST *rrc,
// update with new RNTI, and update secondary UE association
// update with new RNTI, and update secondary UE association
UE
->
rnti
=
msg
->
crnti
;
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
);
f1_ue_data_t
ue_data
=
cu_get_f1_ue_data
(
UE
->
rrc_ue_id
);
ue_data
.
secondary_ue
=
msg
->
gNB_DU_ue_id
;
ue_data
.
secondary_ue
=
msg
->
gNB_DU_ue_id
;
cu_remove_f1_ue_data
(
UE
->
rrc_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
...
@@ -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
;
nr_ho_source_cu_t
*
source_ctx
=
UE
->
ho_context
->
source
;
DevAssert
(
source_ctx
->
old_rnti
==
UE
->
rnti
);
DevAssert
(
source_ctx
->
old_rnti
==
UE
->
rnti
);
UE
->
rnti
=
target_ctx
->
new_rnti
;
UE
->
rnti
=
target_ctx
->
new_rnti
;
UE
->
nr_cellid
=
target_ctx
->
du
->
setup_req
->
cell
[
0
].
info
.
nr_cellid
;
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
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