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
cf4fa53f
Commit
cf4fa53f
authored
Feb 16, 2024
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
don't send dummy data
parent
bf9efc69
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
41 deletions
+1
-41
nfapi/open-nFAPI/pnf/src/pnf_p7.c
nfapi/open-nFAPI/pnf/src/pnf_p7.c
+1
-41
No files found.
nfapi/open-nFAPI/pnf/src/pnf_p7.c
View file @
cf4fa53f
...
...
@@ -1008,17 +1008,6 @@ int pnf_p7_slot_ind(pnf_p7_t* pnf_p7, uint16_t phy_id, uint16_t sfn, uint16_t sl
(
pnf_p7
->
_public
.
tx_data_req_fn
)(
&
(
pnf_p7
->
_public
),
tx_slot_buffer
->
tx_data_req
);
}
}
else
{
// send dummy
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_tx
;
pnf_p7
->
_public
.
dummy_slot
.
tx_data_req
->
Slot
=
slot_tx
;
(
pnf_p7
->
_public
.
tx_data_req_fn
)(
&
(
pnf_p7
->
_public
),
pnf_p7
->
_public
.
dummy_slot
.
tx_data_req
);
}
}
if
(
tx_slot_buffer
->
dl_tti_req
!=
0
&&
tx_slot_buffer
->
dl_tti_req
->
SFN
==
sfn_tx
&&
tx_slot_buffer
->
dl_tti_req
->
Slot
==
slot_tx
)
{
...
...
@@ -1028,16 +1017,6 @@ int pnf_p7_slot_ind(pnf_p7_t* pnf_p7, uint16_t phy_id, uint16_t sfn, uint16_t sl
(
pnf_p7
->
_public
.
dl_tti_req_fn
)(
NULL
,
&
(
pnf_p7
->
_public
),
tx_slot_buffer
->
dl_tti_req
);
}
}
else
{
// send dummy
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_tx
;
pnf_p7
->
_public
.
dummy_slot
.
dl_tti_req
->
Slot
=
slot_tx
;
(
pnf_p7
->
_public
.
dl_tti_req_fn
)(
NULL
,
&
(
pnf_p7
->
_public
),
pnf_p7
->
_public
.
dummy_slot
.
dl_tti_req
);
}
}
if
(
tx_slot_buffer
->
ul_dci_req
!=
0
&&
tx_slot_buffer
->
ul_dci_req
->
SFN
==
sfn_tx
&&
tx_slot_buffer
->
ul_dci_req
->
Slot
==
slot_tx
)
...
...
@@ -1049,16 +1028,7 @@ int pnf_p7_slot_ind(pnf_p7_t* pnf_p7, uint16_t phy_id, uint16_t sfn, uint16_t sl
(
pnf_p7
->
_public
.
ul_dci_req_fn
)(
NULL
,
&
(
pnf_p7
->
_public
),
tx_slot_buffer
->
ul_dci_req
);
}
}
else
{
//send dummy
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_tx
;
pnf_p7
->
_public
.
dummy_slot
.
ul_dci_req
->
Slot
=
slot_tx
;
(
pnf_p7
->
_public
.
ul_dci_req_fn
)(
NULL
,
&
(
pnf_p7
->
_public
),
pnf_p7
->
_public
.
dummy_slot
.
ul_dci_req
);
}
}
if
(
tx_slot_buffer
->
ul_tti_req
!=
0
)
{
if
(
pnf_p7
->
_public
.
ul_tti_req_fn
)
...
...
@@ -1066,16 +1036,6 @@ int pnf_p7_slot_ind(pnf_p7_t* pnf_p7, uint16_t phy_id, uint16_t sfn, uint16_t sl
(
pnf_p7
->
_public
.
ul_tti_req_fn
)(
NULL
,
&
(
pnf_p7
->
_public
),
tx_slot_buffer
->
ul_tti_req
);
}
}
else
{
// send dummy
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_tx
;
pnf_p7
->
_public
.
dummy_slot
.
ul_tti_req
->
Slot
=
slot_tx
;
(
pnf_p7
->
_public
.
ul_tti_req_fn
)(
NULL
,
&
(
pnf_p7
->
_public
),
pnf_p7
->
_public
.
dummy_slot
.
ul_tti_req
);
}
}
//deallocate slot buffers after passing down the PDUs to PHY processing
...
...
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