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
lizhongxiao
OpenXG-RAN
Commits
169a9be8
Commit
169a9be8
authored
Sep 28, 2023
by
rmagueta
Committed by
luis_pereira87
Oct 04, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Msg3 MAC CE C-RNTI
Reset Msg4_ACKed to not schedule ULSCH and DLSCH before RRC Reconfiguration
parent
0be397b2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
+1
-3
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
+2
-0
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
+3
-0
No files found.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
View file @
169a9be8
...
...
@@ -1879,16 +1879,14 @@ static void nr_check_Msg4_Ack(module_id_t module_id, int CC_id, frame_t frame, s
NR_UE_sched_ctrl_t
*
sched_ctrl
=
&
UE
->
UE_sched_ctrl
;
NR_UE_harq_t
*
harq
=
&
sched_ctrl
->
harq_processes
[
current_harq_pid
];
NR_mac_stats_t
*
stats
=
&
UE
->
mac_stats
;
LOG_D
(
NR_MAC
,
"ue rnti 0x%04x, harq is waiting %d, round %d, frame %d %d, harq id %d
\n
"
,
ra
->
rnti
,
harq
->
is_waiting
,
harq
->
round
,
frame
,
slot
,
current_harq_pid
);
if
(
harq
->
is_waiting
==
0
)
{
if
(
harq
->
round
==
0
)
{
if
(
stats
->
dl
.
errors
==
0
)
{
if
(
UE
->
Msg4_ACKed
)
{
LOG_A
(
NR_MAC
,
"(UE RNTI 0x%04x) Received Ack of RA-Msg4. CBRA procedure succeeded!
\n
"
,
ra
->
rnti
);
UE
->
Msg4_ACKed
=
true
;
UE
->
ra_timer
=
0
;
// Pause scheduling according to:
...
...
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
View file @
169a9be8
...
...
@@ -1011,6 +1011,8 @@ void handle_nr_uci_pucch_0_1(module_id_t mod_id,
remove_front_nr_list
(
&
sched_ctrl
->
feedback_dl_harq
);
LOG_D
(
NR_MAC
,
"%4d.%2d bit %d pid %d ack/nack %d
\n
"
,
frame
,
slot
,
harq_bit
,
pid
,
harq_value
);
handle_dl_harq
(
UE
,
pid
,
harq_value
==
0
&&
harq_confidence
==
0
,
nrmac
->
dl_bler
.
harq_round_max
);
if
(
!
UE
->
Msg4_ACKed
&&
harq_value
==
0
&&
harq_confidence
==
0
)
UE
->
Msg4_ACKed
=
true
;
if
(
harq_confidence
==
1
)
UE
->
mac_stats
.
pucch0_DTX
++
;
}
...
...
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
View file @
169a9be8
...
...
@@ -795,6 +795,9 @@ static void _nr_rx_sdu(const module_id_t gnb_mod_idP,
LOG_W
(
NR_MAC
,
"No UE found with C-RNTI %04x, ignoring Msg.3 to have UE come back with new RA attempt
\n
"
,
ra
->
rnti
);
return
;
}
else
{
// Reset Msg4_ACKed to not schedule ULSCH and DLSCH before RRC Reconfiguration
UE_C
->
Msg4_ACKed
=
false
;
// The UE identified by C-RNTI still exists at the gNB
nr_mac_reset_ul_failure
(
&
UE_C
->
UE_sched_ctrl
);
...
...
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