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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
ceca56f3
Commit
ceca56f3
authored
Mar 28, 2024
by
chenyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Comment out allocate/deallocate_nfapi_tx_data_request
parent
f121c546
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
18 deletions
+18
-18
nfapi/open-nFAPI/pnf/src/pnf_p7.c
nfapi/open-nFAPI/pnf/src/pnf_p7.c
+18
-18
No files found.
nfapi/open-nFAPI/pnf/src/pnf_p7.c
View file @
ceca56f3
...
...
@@ -273,10 +273,10 @@ void deallocate_nfapi_hi_dci0_request(nfapi_hi_dci0_request_t* req, pnf_p7_t* pn
pnf_p7_free
(
pnf_p7
,
req
);
}
nfapi_nr_tx_data_request_t
*
allocate_nfapi_tx_data_request
(
pnf_p7_t
*
pnf_p7
)
{
return
pnf_p7_malloc
(
pnf_p7
,
sizeof
(
nfapi_nr_tx_data_request_t
));
}
//
nfapi_nr_tx_data_request_t* allocate_nfapi_tx_data_request(pnf_p7_t* pnf_p7)
//
{
//
return pnf_p7_malloc(pnf_p7, sizeof(nfapi_nr_tx_data_request_t));
//
}
nfapi_tx_request_t
*
allocate_nfapi_tx_request
(
pnf_p7_t
*
pnf_p7
)
{
...
...
@@ -284,20 +284,20 @@ nfapi_tx_request_t* allocate_nfapi_tx_request(pnf_p7_t* pnf_p7)
}
//TODO: Check if deallocate_nfapi_tx_data_request defn is proper
void
deallocate_nfapi_tx_data_request
(
nfapi_nr_tx_data_request_t
*
req
,
pnf_p7_t
*
pnf_p7
)
{
/*
if(pnf_p7->_public.codec_config.deallocate)
{
(pnf_p7->_public.codec_config.deallocate)(req->pdu_list);
}
else
{
free(req->pdu_list);
}
*/
pnf_p7_free
(
pnf_p7
,
req
);
}
// void deallocate_nfapi_tx_data_request(nfapi_nr_tx_data_request_t
req, pnf_p7_t* pnf_p7)
//
{
/
/ /
*
//
if(pnf_p7->_public.codec_config.deallocate)
//
{
//
(pnf_p7->_public.codec_config.deallocate)(req->pdu_list);
//
}
//
else
//
{
//
free(req->pdu_list);
//
}
//
*/
//
pnf_p7_free(pnf_p7, req);
//
}
void
deallocate_nfapi_tx_request
(
nfapi_tx_request_t
*
req
,
pnf_p7_t
*
pnf_p7
)
{
...
...
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