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
a962ba8d
Commit
a962ba8d
authored
Sep 28, 2022
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
replacing call to RRC processing timers for msg3 dcch
parent
a1de5e3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
+10
-2
No files found.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
View file @
a962ba8d
...
...
@@ -1781,8 +1781,16 @@ void nr_generate_Msg4(module_id_t module_idP, int CC_id, frame_t frameP, sub_fra
harq
->
round
=
0
;
harq
->
ndi
^=
1
;
sched_ctrl
->
rrc_processing_timer
=
1
;
// No need to wait at this point in time, setting it to 1 just to enter in function nr_mac_update_timers
LOG_I
(
NR_MAC
,
"(%d.%d) Activating RRC processing timer for UE %04x with %d ms
\n
"
,
frameP
,
slotP
,
UE
->
rnti
,
1
);
if
(
!
UE
->
CellGroup
)
// In the specific scenario where UE correctly received MSG4 (assuming it decoded RRCsetup with CellGroup) and gNB didn't correctly received an ACK,
// the UE would already have CG but the UE-dedicated gNB structure wouldn't (because RA didn't complete on gNB side).
uper_decode
(
NULL
,
&
asn_DEF_NR_CellGroupConfig
,
//might be added prefix later
(
void
**
)
&
UE
->
CellGroup
,
(
uint8_t
*
)
UE
->
cg_buf
,
(
UE
->
enc_rval
.
encoded
+
7
)
/
8
,
0
,
0
);
process_CellGroup
(
UE
->
CellGroup
,
sched_ctrl
);
configure_UE_BWP
(
nr_mac
,
scc
,
sched_ctrl
,
NULL
,
UE
);
// Reset uplink failure flags/counters/timers at MAC so gNB will resume again scheduling resources for this UE
UE
->
UE_sched_ctrl
.
pusch_consecutive_dtx_cnt
=
0
;
...
...
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