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
0d865eea
Commit
0d865eea
authored
Nov 16, 2020
by
Andrew Burger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merging
parent
4ad7d7b5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
2 deletions
+24
-2
openair2/PHY_INTERFACE/phy_stub_UE.c
openair2/PHY_INTERFACE/phy_stub_UE.c
+23
-1
targets/RT/USER/lte-ue.c
targets/RT/USER/lte-ue.c
+1
-1
No files found.
openair2/PHY_INTERFACE/phy_stub_UE.c
View file @
0d865eea
...
@@ -1253,13 +1253,35 @@ int memcpy_tx_req(nfapi_pnf_p7_config_t *pnf_p7, nfapi_tx_request_t *req) {
...
@@ -1253,13 +1253,35 @@ int memcpy_tx_req(nfapi_pnf_p7_config_t *pnf_p7, nfapi_tx_request_t *req) {
return
0
;
return
0
;
}
}
static
bool
is_my_hi_dci0_req
(
nfapi_hi_dci0_request_t
*
hi_dci0_req
)
{
bool
is_my_rnti
=
false
;
const
rnti_t
rnti
=
UE_mac_inst
[
0
].
crnti
;
nfapi_hi_dci0_request_body_t
*
hi_dci0_body
=
&
hi_dci0_req
->
hi_dci0_request_body
;
for
(
int
i
=
0
;
i
<
hi_dci0_body
->
number_of_dci
+
hi_dci0_body
->
number_of_hi
;
i
++
)
{
nfapi_hi_dci0_request_pdu_t
*
hi_dci0
=
&
hi_dci0_body
->
hi_dci0_pdu_list
[
i
];
if
(
hi_dci0
->
pdu_type
!=
NFAPI_HI_DCI0_DCI_PDU_TYPE
||
hi_dci0
->
dci_pdu
.
dci_pdu_rel8
.
cqi_csi_request
)
{
continue
;
}
if
(
hi_dci0
->
dci_pdu
.
dci_pdu_rel8
.
rnti
==
rnti
)
{
is_my_rnti
=
true
;
break
;
}
}
return
is_my_rnti
;
}
int
memcpy_hi_dci0_req
(
L1_rxtx_proc_t
*
proc
,
int
memcpy_hi_dci0_req
(
L1_rxtx_proc_t
*
proc
,
nfapi_pnf_p7_config_t
*
pnf_p7
,
nfapi_pnf_p7_config_t
*
pnf_p7
,
nfapi_hi_dci0_request_t
*
req
)
{
nfapi_hi_dci0_request_t
*
req
)
{
if
(
!
is_my_hi_dci0_req
(
req
))
return
0
;
nfapi_hi_dci0_request_t
*
p
=
(
nfapi_hi_dci0_request_t
*
)
malloc
(
sizeof
(
nfapi_hi_dci0_request_t
));
nfapi_hi_dci0_request_t
*
p
=
(
nfapi_hi_dci0_request_t
*
)
malloc
(
sizeof
(
nfapi_hi_dci0_request_t
));
//if(req!=0){
//if(req!=0){
p
->
sfn_sf
=
req
->
sfn_sf
;
p
->
sfn_sf
=
req
->
sfn_sf
;
p
->
vendor_extension
=
req
->
vendor_extension
;
p
->
vendor_extension
=
req
->
vendor_extension
;
...
...
targets/RT/USER/lte-ue.c
View file @
0d865eea
...
@@ -1197,7 +1197,7 @@ static void *UE_phy_stub_standalone_pnf_task(void *arg)
...
@@ -1197,7 +1197,7 @@ static void *UE_phy_stub_standalone_pnf_task(void *arg)
hi_dci0_req_UE_MAC
(
NFAPI_SFNSF2SFN
(
hi_dci0_req
->
sfn_sf
),
hi_dci0_req_UE_MAC
(
NFAPI_SFNSF2SFN
(
hi_dci0_req
->
sfn_sf
),
NFAPI_SFNSF2SF
(
hi_dci0_req
->
sfn_sf
),
NFAPI_SFNSF2SF
(
hi_dci0_req
->
sfn_sf
),
pdu
,
pdu
,
ue_num
);
ue_num
);
// This function doesnt do anything? - Andrew
}
}
}
}
...
...
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