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
zzha zzha
OpenXG-RAN
Commits
f37264e6
Commit
f37264e6
authored
Oct 08, 2021
by
Melissa Elkadi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoiding unnecessary casting and fixed bug in ul_tti handling
parent
b3145dec
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c
+6
-6
No files found.
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c
View file @
f37264e6
...
...
@@ -663,7 +663,7 @@ static void enqueue_nr_nfapi_msg(void *buffer, ssize_t len, nfapi_p7_message_hea
case
NFAPI_NR_PHY_MSG_TYPE_DL_TTI_REQUEST
:
{
nfapi_nr_dl_tti_request_t
*
dl_tti_request
=
MALLOC
(
sizeof
(
*
dl_tti_request
));
if
(
nfapi_nr_p7_message_unpack
(
(
void
*
)
buffer
,
len
,
dl_tti_request
,
if
(
nfapi_nr_p7_message_unpack
(
buffer
,
len
,
dl_tti_request
,
sizeof
(
*
dl_tti_request
),
NULL
)
<
0
)
{
LOG_E
(
NR_PHY
,
"Message dl_tti_request failed to unpack
\n
"
);
...
...
@@ -683,7 +683,7 @@ static void enqueue_nr_nfapi_msg(void *buffer, ssize_t len, nfapi_p7_message_hea
case
NFAPI_NR_PHY_MSG_TYPE_TX_DATA_REQUEST
:
{
nfapi_nr_tx_data_request_t
*
tx_data_request
=
MALLOC
(
sizeof
(
*
tx_data_request
));
if
(
nfapi_nr_p7_message_unpack
(
(
void
*
)
buffer
,
len
,
tx_data_request
,
if
(
nfapi_nr_p7_message_unpack
(
buffer
,
len
,
tx_data_request
,
sizeof
(
*
tx_data_request
),
NULL
)
<
0
)
{
LOG_E
(
NR_PHY
,
"Message tx_data_request failed to unpack
\n
"
);
...
...
@@ -703,7 +703,7 @@ static void enqueue_nr_nfapi_msg(void *buffer, ssize_t len, nfapi_p7_message_hea
case
NFAPI_NR_PHY_MSG_TYPE_UL_DCI_REQUEST
:
{
nfapi_nr_ul_dci_request_t
*
ul_dci_request
=
MALLOC
(
sizeof
(
*
ul_dci_request
));
if
(
nfapi_nr_p7_message_unpack
(
(
void
*
)
buffer
,
len
,
ul_dci_request
,
if
(
nfapi_nr_p7_message_unpack
(
buffer
,
len
,
ul_dci_request
,
sizeof
(
*
ul_dci_request
),
NULL
)
<
0
)
{
LOG_E
(
NR_PHY
,
"Message ul_dci_request failed to unpack
\n
"
);
...
...
@@ -723,8 +723,8 @@ static void enqueue_nr_nfapi_msg(void *buffer, ssize_t len, nfapi_p7_message_hea
case
NFAPI_NR_PHY_MSG_TYPE_UL_TTI_REQUEST
:
{
nfapi_nr_ul_tti_request_t
*
ul_tti_request
=
MALLOC
(
sizeof
(
*
ul_tti_request
));
if
(
nfapi_nr_p7_message_unpack
(
(
void
*
)
buffer
,
len
,
&
ul_tti_request
,
sizeof
(
ul_tti_request
),
NULL
)
<
0
)
if
(
nfapi_nr_p7_message_unpack
(
buffer
,
len
,
ul_tti_request
,
sizeof
(
*
ul_tti_request
),
NULL
)
<
0
)
{
LOG_E
(
NR_PHY
,
"Message ul_tti_request failed to unpack
\n
"
);
break
;
...
...
@@ -829,7 +829,7 @@ void *nrue_standalone_pnf_task(void *context)
else
{
nfapi_p7_message_header_t
header
;
if
(
nfapi_p7_message_header_unpack
(
(
void
*
)
buffer
,
len
,
&
header
,
sizeof
(
header
),
NULL
)
<
0
)
if
(
nfapi_p7_message_header_unpack
(
buffer
,
len
,
&
header
,
sizeof
(
header
),
NULL
)
<
0
)
{
LOG_E
(
NR_PHY
,
"Header unpack failed for nrue_standalone pnf
\n
"
);
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