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
wangwenhui
OpenXG-RAN
Commits
142d96fd
Commit
142d96fd
authored
Sep 28, 2017
by
David Price
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Store a complete list of DLSCH PDUs because it is possible they might get written over otherwise
parent
3cb04fc3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
nfapi/nfapi_pnf.c
nfapi/nfapi_pnf.c
+6
-8
No files found.
nfapi/nfapi_pnf.c
View file @
142d96fd
...
...
@@ -882,7 +882,7 @@ int pnf_phy_hi_dci0_req(nfapi_pnf_p7_config_t* pnf_p7, nfapi_hi_dci0_request_t*
return
0
;
}
nfapi_dl_config_request_pdu_t
*
dlsch_pdu
=
0
;
nfapi_dl_config_request_pdu_t
*
dlsch_pdu
[
1023
][
10
]
;
int
pnf_phy_dl_config_req
(
nfapi_pnf_p7_config_t
*
pnf_p7
,
nfapi_dl_config_request_t
*
req
)
{
...
...
@@ -919,7 +919,7 @@ int pnf_phy_dl_config_req(nfapi_pnf_p7_config_t* pnf_p7, nfapi_dl_config_request
return
-
3
;
}
//
int sfn = NFAPI_SFNSF2SFN(req->sfn_sf);
int
sfn
=
NFAPI_SFNSF2SFN
(
req
->
sfn_sf
);
int
sf
=
NFAPI_SFNSF2SF
(
req
->
sfn_sf
);
struct
PHY_VARS_eNB_s
*
eNB
=
RC
.
eNB
[
0
][
0
];
...
...
@@ -957,9 +957,7 @@ int pnf_phy_dl_config_req(nfapi_pnf_p7_config_t* pnf_p7, nfapi_dl_config_request
NFAPI_TRACE
(
NFAPI_TRACE_INFO
,
"%s() DLSCH:
\n
"
,
__FUNCTION__
);
dlsch_pdu
=
&
dl_config_pdu_list
[
i
];
//handle_nfapi_dlsch_pdu(eNB,proc,dl_config_pdu, dl_config_pdu->dlsch_pdu.dlsch_pdu_rel8.transport_blocks-1, TX_req->tx_request_body.tx_pdu_list[dl_config_pdu->dlsch_pdu.dlsch_pdu_rel8.pdu_index].segments[0].segment_data);
dlsch_pdu
[
sfn
][
sf
]
=
&
dl_config_pdu_list
[
i
];
}
else
{
...
...
@@ -1069,9 +1067,9 @@ int pnf_phy_tx_req(nfapi_pnf_p7_config_t* pnf_p7, nfapi_tx_request_t* req)
handle_nfapi_dlsch_pdu
(
eNB
,
&
eNB
->
proc
.
proc_rxtx
[
0
],
dlsch_pdu
,
dlsch_pdu
->
dlsch_pdu
.
dlsch_pdu_rel8
.
transport_blocks
-
1
,
req
->
tx_request_body
.
tx_pdu_list
[
dlsch_pdu
->
dlsch_pdu
.
dlsch_pdu_rel8
.
pdu_index
].
segments
[
0
].
segment_data
dlsch_pdu
[
sfn
][
sf
]
,
dlsch_pdu
[
sfn
][
sf
]
->
dlsch_pdu
.
dlsch_pdu_rel8
.
transport_blocks
-
1
,
req
->
tx_request_body
.
tx_pdu_list
[
dlsch_pdu
[
sfn
][
sf
]
->
dlsch_pdu
.
dlsch_pdu_rel8
.
pdu_index
].
segments
[
0
].
segment_data
);
}
}
...
...
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