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
spbro
OpenXG-RAN
Commits
12c25af2
Commit
12c25af2
authored
Feb 02, 2024
by
Jaroslava Fiedlerova
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/NR_UE_RRC_timers_improvements' into integration_2024_w05
parents
e85baab6
7086c583
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
openair2/RRC/NR_UE/rrc_UE.c
openair2/RRC/NR_UE/rrc_UE.c
+1
-0
openair2/RRC/NR_UE/rrc_timers_and_constants.c
openair2/RRC/NR_UE/rrc_timers_and_constants.c
+7
-2
No files found.
openair2/RRC/NR_UE/rrc_UE.c
View file @
12c25af2
...
...
@@ -311,6 +311,7 @@ NR_UE_RRC_INST_t* nr_rrc_init_ue(char* uecap_file, int nb_inst)
rrc
->
uecap_file
=
uecap_file
;
memset
(
&
rrc
->
timers_and_constants
,
0
,
sizeof
(
rrc
->
timers_and_constants
));
set_default_timers_and_constants
(
&
rrc
->
timers_and_constants
);
for
(
int
i
=
0
;
i
<
NB_CNX_UE
;
i
++
)
{
rrcPerNB_t
*
ptr
=
&
rrc
->
perNB
[
i
];
...
...
openair2/RRC/NR_UE/rrc_timers_and_constants.c
View file @
12c25af2
...
...
@@ -120,11 +120,14 @@ void nr_rrc_handle_timers(NR_UE_RRC_INST_t *rrc)
NR_UE_Timers_Constants_t
*
timers
=
&
rrc
->
timers_and_constants
;
bool
t300_expired
=
nr_timer_tick
(
&
timers
->
T300
);
if
(
t300_expired
)
if
(
t300_expired
)
{
LOG_W
(
NR_RRC
,
"Timer T300 expired
\n
"
);
handle_t300_expiry
(
rrc
);
}
bool
t304_expired
=
nr_timer_tick
(
&
timers
->
T304
);
if
(
t304_expired
)
{
LOG_W
(
NR_RRC
,
"Timer T304 expired
\n
"
);
// TODO
// For T304 of MCG, in case of the handover from NR or intra-NR
// handover, initiate the RRC re-establishment procedure;
...
...
@@ -134,6 +137,7 @@ void nr_rrc_handle_timers(NR_UE_RRC_INST_t *rrc)
bool
t310_expired
=
nr_timer_tick
(
&
timers
->
T310
);
if
(
t310_expired
)
{
LOG_W
(
NR_RRC
,
"Timer T310 expired
\n
"
);
// TODO
// handle detection of radio link failure
// as described in 5.3.10.3 of 38.331
...
...
@@ -142,6 +146,7 @@ void nr_rrc_handle_timers(NR_UE_RRC_INST_t *rrc)
bool
t311_expired
=
nr_timer_tick
(
&
timers
->
T311
);
if
(
t311_expired
)
{
LOG_W
(
NR_RRC
,
"Timer T311 expired
\n
"
);
// Upon T311 expiry, the UE shall perform the actions upon going to RRC_IDLE
// with release cause 'RRC connection failure'
nr_rrc_going_to_IDLE
(
rrc
,
RRC_CONNECTION_FAILURE
,
NULL
);
...
...
@@ -577,7 +582,7 @@ void set_default_timers_and_constants(NR_UE_Timers_Constants_t *tac)
{
// 38.331 9.2.3 Default values timers and constants
nr_timer_setup
(
&
tac
->
T310
,
1000
,
10
);
// 10ms step
nr_timer_setup
(
&
tac
->
T31
0
,
30000
,
10
);
// 10ms step
nr_timer_setup
(
&
tac
->
T31
1
,
30000
,
10
);
// 10ms step
tac
->
N310_k
=
1
;
tac
->
N311_k
=
1
;
}
...
...
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