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
edd710f6
Commit
edd710f6
authored
Nov 03, 2021
by
Melissa Elkadi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removing bad log and changing RA state when we get prach
parent
54a894e5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
10 deletions
+1
-10
executables/nr-ue.c
executables/nr-ue.c
+1
-0
openair2/LAYER2/NR_MAC_UE/nr_ra_procedures.c
openair2/LAYER2/NR_MAC_UE/nr_ra_procedures.c
+0
-10
No files found.
executables/nr-ue.c
View file @
edd710f6
...
...
@@ -366,6 +366,7 @@ static void check_nr_prach(NR_UE_MAC_INST_t *mac, nr_uplink_indication_t *ul_inf
ul_info
->
slot_tx
);
if
(
nr_prach
==
1
)
{
mac
->
ra
.
ra_state
=
GENERATE_PREAMBLE
;
L1_nsa_prach_procedures
(
ul_info
->
frame_tx
,
ul_info
->
slot_tx
,
prach_pdu
);
ul_config
->
number_pdus
=
0
;
ul_info
->
ue_sched_mode
=
SCHED_ALL
;
...
...
openair2/LAYER2/NR_MAC_UE/nr_ra_procedures.c
View file @
edd710f6
...
...
@@ -680,16 +680,6 @@ uint8_t nr_ue_get_rach(NR_PRACH_RESOURCES_t *prach_resources,
((
MAX_FRAME_NUMBER
+
frame
-
prach_resources
->
sync_frame
)
%
MAX_FRAME_NUMBER
)
>
150
){
prach_resources
->
init_msg1
=
1
;
}
else
{
LOG_I
(
NR_MAC
,
"Melissa: mac->common_configuration_complete = %d
\n
"
" MAX_FRAME_NUMBER (%d) + frame (%d) - prach_resources->sync_frame (%d)"
" = (%d) mod MAX_FRAME_NUMBER (%d) = %d ??? >150
\n
"
,
mac
->
common_configuration_complete
,
MAX_FRAME_NUMBER
,
frame
,
prach_resources
->
sync_frame
,
MAX_FRAME_NUMBER
+
frame
-
prach_resources
->
sync_frame
,
MAX_FRAME_NUMBER
,
MAX_FRAME_NUMBER
+
frame
-
prach_resources
->
sync_frame
%
MAX_FRAME_NUMBER
);
LOG_D
(
NR_MAC
,
"PRACH Condition not met: frame %d, prach_resources->sync_frame %d
\n
"
,
frame
,
prach_resources
->
sync_frame
);
return
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