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
be9b9760
Commit
be9b9760
authored
Jul 11, 2024
by
Rúben Soares Silva
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update references of sdu_lenP to uint32_t in _nr_rx_sdu
parent
04e6828c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
+7
-7
No files found.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
View file @
be9b9760
...
...
@@ -725,10 +725,10 @@ static void _nr_rx_sdu(const module_id_t gnb_mod_idP,
#if defined(ENABLE_MAC_PAYLOAD_DEBUG)
LOG_I
(
NR_MAC
,
"Printing received UL MAC payload at gNB side: %d
\n
"
);
for
(
int
i
=
0
;
i
<
sdu_lenP
;
i
++
)
{
//harq_process_ul_ue->a[i] = (unsigned char) rand();
//printf("a[%d]=0x%02x\n",i,harq_process_ul_ue->a[i]);
printf
(
"%02x "
,(
unsigned
char
)
sduP
[
i
]);
for
(
uint32_t
i
=
0
;
i
<
sdu_lenP
;
i
++
)
{
//
harq_process_ul_ue->a[i] = (unsigned char) rand();
//
printf("a[%d]=0x%02x\n",i,harq_process_ul_ue->a[i]);
printf
(
"%02x "
,
(
unsigned
char
)
sduP
[
i
]);
}
printf
(
"
\n
"
);
...
...
@@ -770,8 +770,8 @@ static void _nr_rx_sdu(const module_id_t gnb_mod_idP,
}
else
if
(
sduP
)
{
bool
no_sig
=
true
;
for
(
in
t
k
=
0
;
k
<
sdu_lenP
;
k
++
)
{
if
(
sduP
[
k
]
!=
0
)
{
for
(
uint32_
t
k
=
0
;
k
<
sdu_lenP
;
k
++
)
{
if
(
sduP
[
k
]
!=
0
)
{
no_sig
=
false
;
break
;
}
...
...
@@ -856,7 +856,7 @@ static void _nr_rx_sdu(const module_id_t gnb_mod_idP,
}
else
{
LOG_A
(
NR_MAC
,
"[RAPROC] RA-Msg3 received (sdu_lenP %d)
\n
"
,
sdu_lenP
);
LOG_D
(
NR_MAC
,
"[RAPROC] Received Msg3:
\n
"
);
for
(
in
t
k
=
0
;
k
<
sdu_lenP
;
k
++
)
{
for
(
uint32_
t
k
=
0
;
k
<
sdu_lenP
;
k
++
)
{
LOG_D
(
NR_MAC
,
"(%i): 0x%x
\n
"
,
k
,
sduP
[
k
]);
}
...
...
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