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
9a080ade
Commit
9a080ade
authored
Nov 13, 2018
by
Louis Adrien Dufrene
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RRC inactivity timer: first commit to DRX_master
parent
961a70a0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
28 deletions
+4
-28
openair2/LAYER2/MAC/eNB_scheduler_dlsch.c
openair2/LAYER2/MAC/eNB_scheduler_dlsch.c
+1
-12
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
+2
-14
openair2/RRC/LTE/rrc_eNB_S1AP.c
openair2/RRC/LTE/rrc_eNB_S1AP.c
+1
-2
No files found.
openair2/LAYER2/MAC/eNB_scheduler_dlsch.c
View file @
9a080ade
...
...
@@ -43,10 +43,6 @@
#include "RRC/LTE/rrc_extern.h"
#include "RRC/L2_INTERFACE/openair_rrc_L2_interface.h"
/************************************************/
//#include "RRC/LTE/rrc_eNB_UE_context.h"
//#include "RRC/LTE/rrc_defs.h"
/************************************************/
//#include "LAYER2/MAC/pre_processor.c"
#include "pdcp.h"
...
...
@@ -470,7 +466,7 @@ schedule_ue_spec(module_id_t module_idP, int slice_idxP,
int
header_length_last
;
int
header_length_total
;
rrc_eNB_ue_context_t
*
ue_contextP
;
// added by LA
rrc_eNB_ue_context_t
*
ue_contextP
=
NULL
;
start_meas
(
&
eNB
->
schedule_dlsch
);
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_SCHEDULE_DLSCH
,
VCD_FUNCTION_IN
);
...
...
@@ -1116,13 +1112,6 @@ schedule_ue_spec(module_id_t module_idP, int slice_idxP,
ue_contextP
=
rrc_eNB_get_ue_context
(
RC
.
rrc
[
module_idP
],
rnti
);
ue_contextP
->
ue_context
.
ue_rrc_inactivity_timer
=
1
;
LOG_W
(
RRC
,
"After reset, rrc_inactivity_timer is %d, of UE rntiP %d, ue_context_rnti %d, UE_id %d, ue_initial_id %d
\n
"
,
ue_contextP
->
ue_context
.
ue_rrc_inactivity_timer
,
rnti
,
ue_contextP
->
ue_id_rnti
,
UE_id
,
ue_contextP
->
ue_context
.
ue_initial_id
);
}
// end if (rlc_status.bytes_in_buffer > 0)
}
else
{
// no TBS left
break
;
// break for (lcid = NB_RB_MAX - 1; lcid >= DTCH; lcid--)
...
...
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
View file @
9a080ade
...
...
@@ -45,10 +45,6 @@
#include "RRC/LTE/rrc_extern.h"
#include "RRC/L2_INTERFACE/openair_rrc_L2_interface.h"
/************************************************/
//#include "RRC/LTE/rrc_eNB_UE_context.h"
//#include "RRC/LTE/rrc_defs.h"
/************************************************/
#include "assertions.h"
//#include "LAYER2/MAC/pre_processor.c"
...
...
@@ -115,7 +111,7 @@ rx_sdu(const module_id_t enb_mod_idP,
(
RA_t
*
)
&
RC
.
mac
[
enb_mod_idP
]
->
common_channels
[
CC_idP
].
ra
[
0
];
int
first_rb
=
0
;
rrc_eNB_ue_context_t
*
ue_contextP
;
// added by LA
rrc_eNB_ue_context_t
*
ue_contextP
=
NULL
;
start_meas
(
&
mac
->
rx_ulsch_sdu
);
...
...
@@ -743,15 +739,7 @@ rx_sdu(const module_id_t enb_mod_idP,
// reset RRC inactivity timer after uplane activity
ue_contextP
=
rrc_eNB_get_ue_context
(
RC
.
rrc
[
enb_mod_idP
],
rntiP
);
ue_contextP
->
ue_context
.
ue_rrc_inactivity_timer
=
1
;
LOG_W
(
RRC
,
"After reset, rrc_inactivity_timer is %d, of UE rntiP %d, ue_context_rnti %d, UE_id %d, ue_initial_id %d
\n
"
,
ue_contextP
->
ue_context
.
ue_rrc_inactivity_timer
,
rntiP
,
ue_contextP
->
ue_id_rnti
,
UE_id
,
ue_contextP
->
ue_context
.
ue_initial_id
);
ue_contextP
->
ue_context
.
ue_rrc_inactivity_timer
=
1
;
}
else
{
/* rx_length[i] */
UE_list
->
eNB_UE_stats
[
CC_idP
][
UE_id
].
num_errors_rx
+=
1
;
...
...
openair2/RRC/LTE/rrc_eNB_S1AP.c
View file @
9a080ade
...
...
@@ -36,11 +36,10 @@
# include "rrc_eNB_S1AP.h"
# include "enb_config.h"
# include "common/ran_context.h"
/****************************************/
# include "s1ap_eNB_defs.h"
# include "s1ap_eNB_management_procedures.h"
# include "s1ap_eNB_ue_context.h"
/****************************************/
# if defined(ENABLE_ITTI)
# include "asn1_conversions.h"
...
...
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