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
f8beeb47
Commit
f8beeb47
authored
Mar 27, 2024
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove useless function
parent
f289c229
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
49 deletions
+0
-49
nfapi/open-nFAPI/pnf/src/pnf_p7.c
nfapi/open-nFAPI/pnf/src/pnf_p7.c
+0
-49
No files found.
nfapi/open-nFAPI/pnf/src/pnf_p7.c
View file @
f8beeb47
...
...
@@ -821,55 +821,6 @@ void pnf_nr_pack_and_send_timing_info(pnf_p7_t* pnf_p7)
pnf_p7
->
timing_info_ms_counter
=
0
;
}
void
send_dummy_slot
(
pnf_p7_t
*
pnf_p7
,
uint16_t
sfn
,
uint16_t
slot
)
{
struct
timespec
t
;
clock_gettime
(
CLOCK_MONOTONIC
,
&
t
);
//NFAPI_TRACE(NFAPI_TRACE_INFO, "%s(sfn_sf:%d) t:%ld.%09ld\n", __FUNCTION__, NFAPI_SFNSF2DEC(sfn_sf), t.tv_sec, t.tv_nsec);
if
(
pnf_p7
->
_public
.
tx_data_req_fn
&&
pnf_p7
->
_public
.
dummy_slot
.
tx_data_req
)
{
pnf_p7
->
_public
.
dummy_slot
.
tx_data_req
->
SFN
=
sfn
;
pnf_p7
->
_public
.
dummy_slot
.
tx_data_req
->
Slot
=
slot
;
//NFAPI_TRACE(NFAPI_TRACE_INFO, "Dummy tx_req - enter\n");
(
pnf_p7
->
_public
.
tx_data_req_fn
)(
&
pnf_p7
->
_public
,
pnf_p7
->
_public
.
dummy_slot
.
tx_data_req
);
//NFAPI_TRACE(NFAPI_TRACE_INFO, "Dummy tx_req - exit\n");
}
if
(
pnf_p7
->
_public
.
dl_tti_req_fn
&&
pnf_p7
->
_public
.
dummy_slot
.
dl_tti_req
)
{
pnf_p7
->
_public
.
dummy_slot
.
dl_tti_req
->
SFN
=
sfn
;
pnf_p7
->
_public
.
dummy_slot
.
dl_tti_req
->
Slot
=
slot
;
//NFAPI_TRACE(NFAPI_TRACE_INFO, "Dummy dl_config_req - enter\n");
(
pnf_p7
->
_public
.
dl_tti_req_fn
)(
NULL
,
&
(
pnf_p7
->
_public
),
pnf_p7
->
_public
.
dummy_slot
.
dl_tti_req
);
//NFAPI_TRACE(NFAPI_TRACE_INFO, "Dummy dl_config_req - exit\n");
}
if
(
pnf_p7
->
_public
.
ul_tti_req_fn
&&
pnf_p7
->
_public
.
dummy_slot
.
ul_tti_req
)
{
pnf_p7
->
_public
.
dummy_slot
.
ul_tti_req
->
SFN
=
sfn
;
pnf_p7
->
_public
.
dummy_slot
.
ul_tti_req
->
Slot
=
slot
;
NFAPI_TRACE
(
NFAPI_TRACE_INFO
,
"Dummy ul_config_req - enter
\n
"
);
(
pnf_p7
->
_public
.
ul_tti_req_fn
)(
NULL
,
&
pnf_p7
->
_public
,
pnf_p7
->
_public
.
dummy_slot
.
ul_tti_req
);
}
if
(
pnf_p7
->
_public
.
ul_dci_req_fn
&&
pnf_p7
->
_public
.
dummy_slot
.
ul_dci_req
)
{
pnf_p7
->
_public
.
dummy_slot
.
ul_dci_req
->
SFN
=
sfn
;
pnf_p7
->
_public
.
dummy_slot
.
ul_dci_req
->
Slot
=
slot
;
NFAPI_TRACE
(
NFAPI_TRACE_INFO
,
"Dummy hi_dci0 - enter
\n
"
);
(
pnf_p7
->
_public
.
ul_dci_req_fn
)(
NULL
,
&
pnf_p7
->
_public
,
pnf_p7
->
_public
.
dummy_slot
.
ul_dci_req
);
}
#if 0
if(pnf_p7->_public.lbt_dl_config_req && pnf_p7->_public.dummy_subframe.lbt_dl_config_req) // TODO: Change later
{
pnf_p7->_public.dummy_slot.lbt_dl_config_req->sfn_sf = sfn;
NFAPI_TRACE(NFAPI_TRACE_INFO, "Dummy lbt - enter\n");
(pnf_p7->_public.lbt_dl_config_req)(&pnf_p7->_public, pnf_p7->_public.dummy_slot.lbt_dl_config_req);
}
#endif
}
void
send_dummy_subframe
(
pnf_p7_t
*
pnf_p7
,
uint16_t
sfn_sf
)
{
struct
timespec
t
;
...
...
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