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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
850efd19
Commit
850efd19
authored
Dec 27, 2021
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: mark rach_ind PDUs as handled in L1 mode
parent
1ebcd1ed
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
+4
-3
openair2/NR_PHY_INTERFACE/NR_IF_Module.c
openair2/NR_PHY_INTERFACE/NR_IF_Module.c
+1
-0
No files found.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
View file @
850efd19
...
@@ -642,16 +642,17 @@ void nr_initiate_ra_proc(module_id_t module_idP,
...
@@ -642,16 +642,17 @@ void nr_initiate_ra_proc(module_id_t module_idP,
ra
->
preamble_index
=
preamble_index
;
ra
->
preamble_index
=
preamble_index
;
ra
->
beam_id
=
beam_index
;
ra
->
beam_id
=
beam_index
;
LOG_
D
(
NR_MAC
,
LOG_
I
(
NR_MAC
,
"[gNB %d][RAPROC] CC_id %d Frame %d Activating Msg2 generation in frame %d, slot %d using RA rnti %x SSB "
"[gNB %d][RAPROC] CC_id %d Frame %d Activating Msg2 generation in frame %d, slot %d using RA rnti %x SSB "
"index %u
\n
"
,
"index %u
RA index %d
\n
"
,
module_idP
,
module_idP
,
CC_id
,
CC_id
,
frameP
,
frameP
,
ra
->
Msg2_frame
,
ra
->
Msg2_frame
,
ra
->
Msg2_slot
,
ra
->
Msg2_slot
,
ra
->
RA_rnti
,
ra
->
RA_rnti
,
cc
->
ssb_index
[
beam_index
]);
cc
->
ssb_index
[
beam_index
],
i
);
return
;
return
;
}
}
...
...
openair2/NR_PHY_INTERFACE/NR_IF_Module.c
View file @
850efd19
...
@@ -104,6 +104,7 @@ void handle_nr_rach(NR_UL_IND_t *UL_info)
...
@@ -104,6 +104,7 @@ void handle_nr_rach(NR_UL_IND_t *UL_info)
int
npdus
=
UL_INFO
.
rach_ind
.
number_of_pdus
;
int
npdus
=
UL_INFO
.
rach_ind
.
number_of_pdus
;
for
(
int
i
=
0
;
i
<
npdus
;
i
++
)
{
for
(
int
i
=
0
;
i
<
npdus
;
i
++
)
{
UL_INFO
.
rach_ind
.
number_of_pdus
--
;
UL_INFO
.
rach_ind
.
number_of_pdus
--
;
UL_info
->
rach_ind
.
number_of_pdus
--
;
if
(
UL_INFO
.
rach_ind
.
pdu_list
[
i
].
num_preamble
>
0
)
if
(
UL_INFO
.
rach_ind
.
pdu_list
[
i
].
num_preamble
>
0
)
AssertFatal
(
UL_INFO
.
rach_ind
.
pdu_list
[
i
].
num_preamble
==
1
,
AssertFatal
(
UL_INFO
.
rach_ind
.
pdu_list
[
i
].
num_preamble
==
1
,
"More than 1 preamble not supported
\n
"
);
"More than 1 preamble not supported
\n
"
);
...
...
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