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
spbro
OpenXG-RAN
Commits
f5e9c4ec
Commit
f5e9c4ec
authored
Jun 09, 2022
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
applying Robert's patch
parent
85b48193
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
143 additions
and
148 deletions
+143
-148
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
+143
-148
No files found.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
View file @
f5e9c4ec
...
...
@@ -537,17 +537,13 @@ void nr_initiate_ra_proc(module_id_t module_idP,
}
for
(
int
i
=
0
;
i
<
NR_NB_RA_PROC_MAX
;
i
++
)
{
NR_RA_t
*
ra
=
&
cc
->
ra
[
i
];
pr_found
=
0
;
NR_UE_info_t
*
UE
=
NULL
;
if
(
ra
->
rnti
!=
0
)
// calling the function only for a valid RNTI
UE
=
find_nr_UE
(
&
nr_mac
->
UE_info
,
ra
->
rnti
);
if
(
UE
)
{
// the UE is already registered
LOG_W
(
NR_MAC
,
"Received RA for existing RNTI %04x
\n
"
,
ra
->
rnti
);
if
(
ra
->
state
!=
RA_IDLE
)
continue
;
}
if
(
ra
->
state
==
RA_IDLE
)
{
pr_found
=
0
;
for
(
int
j
=
0
;
j
<
ra
->
preambles
.
num_preambles
;
j
++
)
{
//check if the preamble received correspond to one of the listed or configured preambles
if
(
preamble_index
==
ra
->
preambles
.
preamble_list
[
j
])
{
...
...
@@ -700,7 +696,6 @@ void nr_initiate_ra_proc(module_id_t module_idP,
return
;
}
}
LOG_E
(
NR_MAC
,
"[gNB %d][RAPROC] FAILURE: CC_id %d Frame %d initiating RA procedure for preamble index %d
\n
"
,
module_idP
,
CC_id
,
frameP
,
preamble_index
);
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_INITIATE_RA_PROC
,
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