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
Michael Black
OpenXG-RAN
Commits
81d44c64
Commit
81d44c64
authored
Oct 24, 2022
by
Roberto Louro Magueta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stop timer T304 when RA is succeeded
parent
889a5007
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
2 deletions
+14
-2
openair2/LAYER2/NR_MAC_UE/mac_proto.h
openair2/LAYER2/NR_MAC_UE/mac_proto.h
+1
-1
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
+1
-1
openair2/RRC/NR_UE/L2_interface_ue.c
openair2/RRC/NR_UE/L2_interface_ue.c
+10
-0
openair2/RRC/NR_UE/rrc_proto.h
openair2/RRC/NR_UE/rrc_proto.h
+2
-0
No files found.
openair2/LAYER2/NR_MAC_UE/mac_proto.h
View file @
81d44c64
...
...
@@ -371,7 +371,7 @@ void nr_ue_contention_resolution(module_id_t module_id, int cc_id, frame_t frame
void
nr_ra_failed
(
uint8_t
mod_id
,
uint8_t
CC_id
,
NR_PRACH_RESOURCES_t
*
prach_resources
,
frame_t
frame
,
int
slot
);
void
nr_ra_succeeded
(
module_id_t
mod_id
,
frame_t
frame
,
int
slot
);
void
nr_ra_succeeded
(
const
module_id_t
mod_id
,
const
uint8_t
gNB_index
,
const
frame_t
frame
,
const
int
slot
);
void
nr_get_RA_window
(
NR_UE_MAC_INST_t
*
mac
);
...
...
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
View file @
81d44c64
...
...
@@ -3257,7 +3257,7 @@ void nr_ue_process_mac_pdu(nr_downlink_indication_t *dl_info,
}
if
(
(
ra
->
RA_active
==
1
)
&&
ra_success
)
{
nr_ra_succeeded
(
module_idP
,
frameP
,
slot
);
nr_ra_succeeded
(
module_idP
,
gNB_index
,
frameP
,
slot
);
}
else
if
(
!
ra_success
){
// TODO: Handle failure of RA procedure @ MAC layer
// nr_ra_failed(module_idP, CC_id, prach_resources, frameP, slot); // prach_resources is a PHY structure
...
...
openair2/RRC/NR_UE/L2_interface_ue.c
View file @
81d44c64
...
...
@@ -185,3 +185,13 @@ rrc_data_req_nr_ue(
return
true
;
// TODO should be changed to a CNF message later, currently RRC lite does not used the returned value anyway.
}
int8_t
nr_rrc_RA_succeeded
(
const
module_id_t
mod_id
,
const
uint8_t
gNB_index
)
{
if
(
NR_UE_rrc_inst
[
mod_id
].
Info
[
gNB_index
].
T304_active
==
1
)
{
LOG_W
(
NR_RRC
,
"T304 was stoped with value %i
\n
"
,
NR_UE_rrc_inst
[
mod_id
].
Info
[
gNB_index
].
T304_cnt
);
NR_UE_rrc_inst
[
mod_id
].
Info
[
gNB_index
].
T304_active
=
0
;
NR_UE_rrc_inst
[
mod_id
].
Info
[
gNB_index
].
T304_cnt
=
0
;
}
return
0
;
}
\ No newline at end of file
openair2/RRC/NR_UE/rrc_proto.h
View file @
81d44c64
...
...
@@ -156,6 +156,8 @@ rrc_data_req_nr_ue(
const
pdcp_transmission_mode_t
modeP
);
int8_t
nr_rrc_RA_succeeded
(
const
module_id_t
mod_id
,
const
uint8_t
gNB_index
);
/**\brief RRC UE task.
\param void *args_p Pointer on arguments to start the task. */
void
*
rrc_nrue_task
(
void
*
args_p
);
...
...
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