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
zzha zzha
OpenXG-RAN
Commits
1d042eab
Commit
1d042eab
authored
Oct 07, 2023
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
T311 expiry
parent
fbc15ea7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
4 deletions
+12
-4
openair2/RRC/NR_UE/rrc_UE.c
openair2/RRC/NR_UE/rrc_UE.c
+1
-2
openair2/RRC/NR_UE/rrc_proto.h
openair2/RRC/NR_UE/rrc_proto.h
+1
-1
openair2/RRC/NR_UE/rrc_timers_and_constants.c
openair2/RRC/NR_UE/rrc_timers_and_constants.c
+10
-1
No files found.
openair2/RRC/NR_UE/rrc_UE.c
View file @
1d042eab
...
...
@@ -1470,8 +1470,7 @@ void *rrc_nrue(void *notUsed)
case
NRRRC_FRAME_PROCESS
:
LOG_D
(
NR_RRC
,
"Received %s: frame %d
\n
"
,
ITTI_MSG_NAME
(
msg_p
),
NRRRC_FRAME_PROCESS
(
msg_p
).
frame
);
// increase the timers every 10ms (every new frame)
NR_UE_Timers_Constants_t
*
timers
=
&
NR_UE_rrc_inst
[
instance
].
timers_and_constants
;
nr_rrc_handle_timers
(
timers
);
nr_rrc_handle_timers
(
rrc
,
instance
);
NR_UE_RRC_SI_INFO
*
SInfo
=
&
NR_UE_rrc_inst
[
instance
].
perNB
[
NRRRC_FRAME_PROCESS
(
msg_p
).
gnb_id
].
SInfo
;
nr_rrc_SI_timers
(
SInfo
);
break
;
...
...
openair2/RRC/NR_UE/rrc_proto.h
View file @
1d042eab
...
...
@@ -105,7 +105,7 @@ void nr_mac_rrc_msg3_ind(const module_id_t mod_id, int rnti);
void
*
rrc_nrue_task
(
void
*
args_p
);
void
*
rrc_nrue
(
void
*
args_p
);
void
nr_rrc_handle_timers
(
NR_UE_
Timers_Constants_t
*
timers
);
void
nr_rrc_handle_timers
(
NR_UE_
RRC_INST_t
*
rrc
,
instance_t
instance
);
/**\brief RRC NSA UE task.
\param void *args_p Pointer on arguments to start the task. */
...
...
openair2/RRC/NR_UE/rrc_timers_and_constants.c
View file @
1d042eab
...
...
@@ -98,8 +98,9 @@ void nr_rrc_SI_timers(NR_UE_RRC_SI_INFO *SInfo)
}
}
void
nr_rrc_handle_timers
(
NR_UE_
Timers_Constants_t
*
timers
)
void
nr_rrc_handle_timers
(
NR_UE_
RRC_INST_t
*
rrc
,
instance_t
instance
)
{
NR_UE_Timers_Constants_t
*
timers
=
&
rrc
->
timers_and_constants
;
// T304
if
(
timers
->
T304_active
==
true
)
{
timers
->
T304_cnt
+=
10
;
...
...
@@ -120,6 +121,14 @@ void nr_rrc_handle_timers(NR_UE_Timers_Constants_t *timers)
AssertFatal
(
false
,
"Radio link failure! Not handled yet!
\n
"
);
}
}
if
(
timers
->
T311_active
==
true
)
{
timers
->
T311_cnt
+=
10
;
if
(
timers
->
T311_cnt
>=
timers
->
T311_k
)
{
// 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
(
instance
,
RRC_CONNECTION_FAILURE
,
NULL
);
}
}
}
void
nr_rrc_set_T304
(
NR_UE_Timers_Constants_t
*
tac
,
NR_ReconfigurationWithSync_t
*
reconfigurationWithSync
)
...
...
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