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
1beffd1e
Commit
1beffd1e
authored
Jul 22, 2021
by
luis_pereira87
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove the MAC and RRC context after UL failure when gNB is not connected to CN5G
parent
67bccd8c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
openair2/RRC/NR/rrc_gNB.c
openair2/RRC/NR/rrc_gNB.c
+5
-1
No files found.
openair2/RRC/NR/rrc_gNB.c
View file @
1beffd1e
...
@@ -3070,7 +3070,10 @@ void nr_rrc_subframe_process(protocol_ctxt_t *const ctxt_pP, const int CC_id) {
...
@@ -3070,7 +3070,10 @@ void nr_rrc_subframe_process(protocol_ctxt_t *const ctxt_pP, const int CC_id) {
ue_context_p
,
ue_context_p
,
NGAP_CAUSE_RADIO_NETWORK
,
NGAP_CAUSE_RADIO_NETWORK
,
30
);
30
);
}
else
{
}
// Remove here the MAC and RRC context when RRC is not connected or gNB is not connected to CN5G
if
(
ue_context_p
->
ue_context
.
StatusRrc
<
NR_RRC_CONNECTED
||
ue_context_p
->
ue_context
.
gNB_ue_ngap_id
==
0
)
{
mac_remove_nr_ue
(
ctxt_pP
->
module_id
,
ctxt_pP
->
rnti
);
mac_remove_nr_ue
(
ctxt_pP
->
module_id
,
ctxt_pP
->
rnti
);
rrc_rlc_remove_ue
(
ctxt_pP
);
rrc_rlc_remove_ue
(
ctxt_pP
);
pdcp_remove_UE
(
ctxt_pP
);
pdcp_remove_UE
(
ctxt_pP
);
...
@@ -3082,6 +3085,7 @@ void nr_rrc_subframe_process(protocol_ctxt_t *const ctxt_pP, const int CC_id) {
...
@@ -3082,6 +3085,7 @@ void nr_rrc_subframe_process(protocol_ctxt_t *const ctxt_pP, const int CC_id) {
LOG_I
(
NR_RRC
,
"remove UE %x
\n
"
,
ctxt_pP
->
rnti
);
LOG_I
(
NR_RRC
,
"remove UE %x
\n
"
,
ctxt_pP
->
rnti
);
}
}
}
}
break
;
// break RB_FOREACH
break
;
// break RB_FOREACH
}
}
}
}
...
...
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