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
cafd21ab
Commit
cafd21ab
authored
Mar 18, 2020
by
wujing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix rrc_inactivity_timer in fairRR
parent
5a4c08dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
openair2/LAYER2/MAC/eNB_scheduler_fairRR.c
openair2/LAYER2/MAC/eNB_scheduler_fairRR.c
+24
-0
No files found.
openair2/LAYER2/MAC/eNB_scheduler_fairRR.c
View file @
cafd21ab
...
...
@@ -1362,6 +1362,14 @@ schedule_ue_spec_fairRR(module_id_t module_idP,
num_sdus
++
;
UE_list
->
UE_sched_ctrl
[
UE_id
].
uplane_inactivity_timer
=
0
;
rrc_eNB_ue_context_t
*
ue_contextP
=
NULL
;
ue_contextP
=
rrc_eNB_get_ue_context
(
RC
.
rrc
[
module_idP
],
rnti
);
if
(
ue_contextP
!=
NULL
)
{
ue_contextP
->
ue_context
.
ue_rrc_inactivity_timer
=
1
;
}
else
{
LOG_E
(
MAC
,
"[eNB %d] CC_id %d Couldn't find the context associated to UE (RNTI %d) and reset RRC inactivity timer
\n
"
,
module_idP
,
CC_id
,
rnti
);
}
}
// no data for this LCID
else
{
header_len_dtch
-=
3
;
...
...
@@ -2117,6 +2125,14 @@ schedule_ue_spec_fairRR(module_id_t module_idP,
num_sdus
++
;
UE_list
->
UE_sched_ctrl
[
UE_id
].
uplane_inactivity_timer
=
0
;
rrc_eNB_ue_context_t
*
ue_contextP
=
NULL
;
ue_contextP
=
rrc_eNB_get_ue_context
(
RC
.
rrc
[
module_idP
],
rnti
);
if
(
ue_contextP
!=
NULL
)
{
ue_contextP
->
ue_context
.
ue_rrc_inactivity_timer
=
1
;
}
else
{
LOG_E
(
MAC
,
"[eNB %d] CC_id %d Couldn't find the context associated to UE (RNTI %d) and reset RRC inactivity timer
\n
"
,
module_idP
,
CC_id
,
rnti
);
}
}
else
{
// no data for this LCID
header_len_dtch
-=
3
;
}
...
...
@@ -2548,6 +2564,14 @@ schedule_ue_spec_fairRR(module_id_t module_idP,
num_sdus
++
;
UE_list
->
UE_sched_ctrl
[
UE_id
].
uplane_inactivity_timer
=
0
;
rrc_eNB_ue_context_t
*
ue_contextP
=
NULL
;
ue_contextP
=
rrc_eNB_get_ue_context
(
RC
.
rrc
[
module_idP
],
rnti
);
if
(
ue_contextP
!=
NULL
)
{
ue_contextP
->
ue_context
.
ue_rrc_inactivity_timer
=
1
;
}
else
{
LOG_E
(
MAC
,
"[eNB %d] CC_id %d Couldn't find the context associated to UE (RNTI %d) and reset RRC inactivity timer
\n
"
,
module_idP
,
CC_id
,
rnti
);
}
}
// no data for this LCID
else
{
header_len_dtch
-=
3
;
...
...
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