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
lizhongxiao
OpenXG-RAN
Commits
fc0673bd
Commit
fc0673bd
authored
Sep 17, 2020
by
Andrew Burger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allocating memory for new oai unpack rx_ind func
parent
7045166f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
nfapi/open-nFAPI/nfapi/src/nfapi_p7.c
nfapi/open-nFAPI/nfapi/src/nfapi_p7.c
+1
-0
No files found.
nfapi/open-nFAPI/nfapi/src/nfapi_p7.c
View file @
fc0673bd
...
@@ -5091,6 +5091,7 @@ static uint8_t unpack_rx_indication_body_value(void *tlv, uint8_t **ppReadPacked
...
@@ -5091,6 +5091,7 @@ static uint8_t unpack_rx_indication_body_value(void *tlv, uint8_t **ppReadPacked
if
(
pdu
->
rx_indication_rel8
.
tl
.
tag
==
NFAPI_RX_INDICATION_REL8_TAG
)
if
(
pdu
->
rx_indication_rel8
.
tl
.
tag
==
NFAPI_RX_INDICATION_REL8_TAG
)
{
{
uint32_t
length
=
pdu
->
rx_indication_rel8
.
length
;
uint32_t
length
=
pdu
->
rx_indication_rel8
.
length
;
value
->
rx_pdu_list
[
i
].
data
=
nfapi_p7_allocate
(
length
,
config
);
// NFAPI_TRACE(NFAPI_TRACE_ERROR, "%s:%d: %s\n", __FUNCTION__,
// NFAPI_TRACE(NFAPI_TRACE_ERROR, "%s:%d: %s\n", __FUNCTION__,
// __LINE__, hexdump(*ppReadPackedMsg, end - *ppReadPackedMsg, foo, sizeof(foo)));
// __LINE__, hexdump(*ppReadPackedMsg, end - *ppReadPackedMsg, foo, sizeof(foo)));
if
(
pullarray8
(
ppReadPackedMsg
,
pdu
->
data
,
length
,
length
,
end
)
==
0
)
if
(
pullarray8
(
ppReadPackedMsg
,
pdu
->
data
,
length
,
length
,
end
)
==
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