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
0f1f7687
Commit
0f1f7687
authored
Mar 28, 2024
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NRUE: print RA RNTI when receiving RAPID
parent
08748008
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
+3
-2
No files found.
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
View file @
0f1f7687
...
...
@@ -3800,6 +3800,7 @@ static void nr_ue_process_rar(NR_UE_MAC_INST_t *mac, nr_downlink_indication_t *d
NR_RA_HEADER_RAPID
*
rarh
=
(
NR_RA_HEADER_RAPID
*
)
dlsch_buffer
;
// RAR subheader pointer
NR_MAC_RAR
*
rar
=
(
NR_MAC_RAR
*
)
(
dlsch_buffer
+
1
);
// RAR subPDU pointer
uint8_t
preamble_index
=
ra
->
ra_PreambleIndex
;
uint16_t
rnti
=
mac
->
ra
.
ra_rnti
;
LOG_D
(
NR_MAC
,
"[%d.%d]: [UE %d][RAPROC] invoking MAC for received RAR (current preamble %d)
\n
"
,
frame
,
slot
,
mac
->
ue_id
,
preamble_index
);
...
...
@@ -3807,11 +3808,11 @@ static void nr_ue_process_rar(NR_UE_MAC_INST_t *mac, nr_downlink_indication_t *d
n_subheaders
++
;
if
(
rarh
->
T
==
1
)
{
n_subPDUs
++
;
LOG_I
(
NR_MAC
,
"[UE %d][RAPROC]
Got RAPID RAR subPDU
\n
"
,
mac
->
ue_id
);
LOG_I
(
NR_MAC
,
"[UE %d][RAPROC]
[RA-RNTI %04x] Got RAPID RAR subPDU
\n
"
,
mac
->
ue_id
,
rnti
);
}
else
{
ra
->
RA_backoff_indicator
=
table_7_2_1
[((
NR_RA_HEADER_BI
*
)
rarh
)
->
BI
];
ra
->
RA_BI_found
=
1
;
LOG_I
(
NR_MAC
,
"[UE %d][RAPROC]
Got BI RAR subPDU %d ms
\n
"
,
mac
->
ue_id
,
ra
->
RA_backoff_indicator
);
LOG_I
(
NR_MAC
,
"[UE %d][RAPROC]
[RA-RNTI %04x] Got BI RAR subPDU %d ms
\n
"
,
mac
->
ue_id
,
ra
->
RA_backoff_indicator
,
rnti
);
if
(
((
NR_RA_HEADER_BI
*
)
rarh
)
->
E
==
1
)
{
rarh
+=
sizeof
(
NR_RA_HEADER_BI
);
continue
;
...
...
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