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
ZhouShuya
OpenXG-RAN
Commits
3a5b5ffe
Commit
3a5b5ffe
authored
Jul 22, 2020
by
Aniq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added unpack_dl_tti_req
parent
a7feca12
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
443 additions
and
8 deletions
+443
-8
nfapi/README.md
nfapi/README.md
+4
-0
nfapi/oai_integration/nfapi_vnf.c
nfapi/oai_integration/nfapi_vnf.c
+1
-1
nfapi/open-nFAPI/nfapi/public_inc/nfapi_nr_interface_scf.h
nfapi/open-nFAPI/nfapi/public_inc/nfapi_nr_interface_scf.h
+4
-1
nfapi/open-nFAPI/nfapi/src/nfapi_p7.c
nfapi/open-nFAPI/nfapi/src/nfapi_p7.c
+429
-6
openair1/SCHED_NR/fapi_nr_l1.c
openair1/SCHED_NR/fapi_nr_l1.c
+5
-0
No files found.
nfapi/README.md
View file @
3a5b5ffe
...
@@ -33,6 +33,10 @@ sudo <oai_codebase>/cmake_targets/ran_build/build/nr-softmodem -O <oai_codebase>
...
@@ -33,6 +33,10 @@ sudo <oai_codebase>/cmake_targets/ran_build/build/nr-softmodem -O <oai_codebase>
### Task-B [unpacking]
### Task-B [unpacking]
*
Modify
`nfapi_p7_message_unpack()`
in
`nfapi_p7.c`
*
Modify
`nfapi_p7_message_unpack()`
in
`nfapi_p7.c`
*
`unpack_dl_tti_request`
*
`unpack_ul_tti_request`
*
`unpack_ul_dci_request`
*
`unpack_tx_data_request`
*
Similarly change all the
`unpack`
functions within the switch-case block.
*
Similarly change all the
`unpack`
functions within the switch-case block.
*
Modify the behaviour of
`check_unpack_length()`
for the new
`TAGS`
*
Modify the behaviour of
`check_unpack_length()`
for the new
`TAGS`
...
...
nfapi/oai_integration/nfapi_vnf.c
View file @
3a5b5ffe
...
@@ -1305,7 +1305,7 @@ int oai_nfapi_dl_config_req(nfapi_dl_config_request_t *dl_config_req) {
...
@@ -1305,7 +1305,7 @@ int oai_nfapi_dl_config_req(nfapi_dl_config_request_t *dl_config_req) {
int
oai_nfapi_nr_dl_config_req
(
nfapi_nr_dl_tti_request_t
*
dl_config_req
)
int
oai_nfapi_nr_dl_config_req
(
nfapi_nr_dl_tti_request_t
*
dl_config_req
)
{
{
nfapi_vnf_p7_config_t
*
p7_config
=
vnf
.
p7_vnfs
[
0
].
config
;
nfapi_vnf_p7_config_t
*
p7_config
=
vnf
.
p7_vnfs
[
0
].
config
;
dl_config_req
->
header
.
message_id
=
NFAPI_NR_PHY_MSG_TYPE_DL_TTI_REQUEST
;
dl_config_req
->
header
.
phy_id
=
1
;
// DJP HACK TODO FIXME - need to pass this around!!!!
dl_config_req
->
header
.
phy_id
=
1
;
// DJP HACK TODO FIXME - need to pass this around!!!!
int
retval
=
nfapi_vnf_p7_nr_dl_config_req
(
p7_config
,
dl_config_req
);
int
retval
=
nfapi_vnf_p7_nr_dl_config_req
(
p7_config
,
dl_config_req
);
...
...
nfapi/open-nFAPI/nfapi/public_inc/nfapi_nr_interface_scf.h
View file @
3a5b5ffe
...
@@ -24,7 +24,10 @@
...
@@ -24,7 +24,10 @@
#define NFAPI_MAX_NUM_GROUPS 8
#define NFAPI_MAX_NUM_GROUPS 8
#define NFAPI_MAX_NUM_CB 8
#define NFAPI_MAX_NUM_CB 8
#define DUMMY_TAG 0x55555
#define NFAPI_NR_DL_TTI_CSI_RS_REL_IISC 0x5551
#define NFAPI_NR_DL_TTI_PDCCH_REL_IISC 0x5552
#define NFAPI_NR_DL_TTI_PDSCH_REL_IISC 0x5553
#define NFAPI_NR_DL_TTI_SSB_REL_IISC 0x5554
// Extension to the generic structures for single tlv values
// Extension to the generic structures for single tlv values
...
...
nfapi/open-nFAPI/nfapi/src/nfapi_p7.c
View file @
3a5b5ffe
This diff is collapsed.
Click to expand it.
openair1/SCHED_NR/fapi_nr_l1.c
View file @
3a5b5ffe
...
@@ -33,7 +33,9 @@
...
@@ -33,7 +33,9 @@
#include "PHY/NR_TRANSPORT/nr_transport_proto.h"
#include "PHY/NR_TRANSPORT/nr_transport_proto.h"
#include "PHY/NR_TRANSPORT/nr_dlsch.h"
#include "PHY/NR_TRANSPORT/nr_dlsch.h"
#include "PHY/NR_TRANSPORT/nr_dci.h"
#include "PHY/NR_TRANSPORT/nr_dci.h"
#include "nfapi/oai_integration/vendor_ext.h"
int
oai_nfapi_nr_dl_config_req
(
nfapi_nr_dl_tti_request_t
*
dl_config_req
);
extern
uint8_t
nfapi_mode
;
extern
uint8_t
nfapi_mode
;
...
@@ -202,5 +204,8 @@ void nr_schedule_response(NR_Sched_Rsp_t *Sched_INFO){
...
@@ -202,5 +204,8 @@ void nr_schedule_response(NR_Sched_Rsp_t *Sched_INFO){
&
UL_dci_req
->
ul_dci_pdu_list
[
i
]);
&
UL_dci_req
->
ul_dci_pdu_list
[
i
]);
}
}
if
(
NFAPI_MODE
!=
NFAPI_MONOLITHIC
)
{
oai_nfapi_nr_dl_config_req
(
Sched_INFO
->
DL_req
);
}
}
}
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