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
canghaiwuhen
OpenXG-RAN
Commits
18449cb8
Commit
18449cb8
authored
Feb 27, 2019
by
wujing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix the number of attached ues is not correct issue
parent
ba5ee3a9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
openair2/RRC/LTE/rrc_eNB.c
openair2/RRC/LTE/rrc_eNB.c
+9
-1
No files found.
openair2/RRC/LTE/rrc_eNB.c
View file @
18449cb8
...
...
@@ -3221,6 +3221,10 @@ rrc_eNB_generate_defaultRRCConnectionReconfiguration(const protocol_ctxt_t *cons
size
,
buffer
,
PDCP_TRANSMISSION_MODE_CONTROL
);
// activate release timer, if RRCReconfComplete not received after 100 frames, remove UE
ue_context_pP
->
ue_context
.
ue_reestablishment_timer
=
1
;
// remove UE after 100 frames after LTE_RRCConnectionRelease is triggered
ue_context_pP
->
ue_context
.
ue_reestablishment_timer_thres
=
1000
;
}
//-----------------------------------------------------------------------------
...
...
@@ -6361,6 +6365,10 @@ rrc_eNB_decode_dcch(
}
ue_context_p
->
ue_context
.
ue_release_timer
=
0
;
// activate release timer, if RRCReconfComplete not received after 100 frames, remove UE
ue_context_p
->
ue_context
.
ue_reestablishment_timer
=
1
;
// remove UE after 100 frames after LTE_RRCConnectionRelease is triggered
ue_context_p
->
ue_context
.
ue_reestablishment_timer_thres
=
1000
;
break
;
case
LTE_UL_DCCH_MessageType__c1_PR_securityModeComplete
:
...
...
@@ -7238,7 +7246,7 @@ rrc_rx_tx(
ue_context_p
->
ue_context
.
rnti
,
ue_context_p
->
ue_context
.
ul_failure_timer
);
}
if
(
ue_context_p
->
ue_context
.
Status
==
RRC_RECONFIGURED
&&
ue_context_p
->
ue_context
.
ul_failure_timer
<=
0
)
{
if
(
ue_context_p
->
ue_context
.
Status
==
RRC_RECONFIGURED
&&
ue_context_p
->
ue_context
.
ul_failure_timer
<=
0
&&
ue_context_p
->
ue_context
.
ue_reestablishment_timer
==
0
)
{
++
reconf_ue_num
;
}
}
...
...
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