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
wangjie
OpenXG-RAN
Commits
fd51a5bd
Commit
fd51a5bd
authored
Jun 04, 2020
by
MaheshK1995
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PARAM message exchange DONE
parent
776a7440
Changes
11
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
219 additions
and
49 deletions
+219
-49
nfapi/oai_integration/nfapi_pnf.c
nfapi/oai_integration/nfapi_pnf.c
+3
-3
nfapi/oai_integration/nfapi_vnf.c
nfapi/oai_integration/nfapi_vnf.c
+5
-5
nfapi/open-nFAPI/nfapi/public_inc/nfapi_nr_interface_scf.h
nfapi/open-nFAPI/nfapi/public_inc/nfapi_nr_interface_scf.h
+1
-1
nfapi/open-nFAPI/nfapi/src/nfapi_p5.c
nfapi/open-nFAPI/nfapi/src/nfapi_p5.c
+193
-23
nfapi/open-nFAPI/pnf/public_inc/nfapi_pnf_interface.h
nfapi/open-nFAPI/pnf/public_inc/nfapi_pnf_interface.h
+1
-1
nfapi/open-nFAPI/pnf/src/pnf_interface.c
nfapi/open-nFAPI/pnf/src/pnf_interface.c
+2
-2
nfapi/open-nFAPI/vnf/public_inc/nfapi_vnf_interface.h
nfapi/open-nFAPI/vnf/public_inc/nfapi_vnf_interface.h
+1
-1
nfapi/open-nFAPI/vnf/src/vnf.c
nfapi/open-nFAPI/vnf/src/vnf.c
+1
-1
nfapi/open-nFAPI/vnf/src/vnf_interface.c
nfapi/open-nFAPI/vnf/src/vnf_interface.c
+6
-6
targets/PROJECTS/GENERIC-LTE-EPC/CONF/oaiL1.nfapi.usrpx300.conf
...s/PROJECTS/GENERIC-LTE-EPC/CONF/oaiL1.nfapi.usrpx300.conf
+3
-3
targets/PROJECTS/GENERIC-LTE-EPC/CONF/rcc.band78.tm1.106PRB.nfapi.conf
...CTS/GENERIC-LTE-EPC/CONF/rcc.band78.tm1.106PRB.nfapi.conf
+3
-3
No files found.
nfapi/oai_integration/nfapi_pnf.c
View file @
fd51a5bd
...
@@ -459,7 +459,7 @@ int pnf_stop_request(nfapi_pnf_config_t *config, nfapi_pnf_stop_request_t *req)
...
@@ -459,7 +459,7 @@ int pnf_stop_request(nfapi_pnf_config_t *config, nfapi_pnf_stop_request_t *req)
int
param_request
(
nfapi_pnf_config_t
*
config
,
nfapi_pnf_phy_config_t
*
phy
,
nfapi_nr_param_request_scf_t
*
req
)
{
int
param_request
(
nfapi_pnf_config_t
*
config
,
nfapi_pnf_phy_config_t
*
phy
,
nfapi_nr_param_request_scf_t
*
req
)
{
printf
(
"[PNF] Received NFAPI_PARAM_REQUEST phy_id:%d
\n
"
,
req
->
header
.
phy_id
);
printf
(
"[PNF] Received NFAPI_PARAM_REQUEST phy_id:%d
\n
"
,
req
->
header
.
phy_id
);
//pnf_info* pnf = (pnf_info*)(config->user_data);
//pnf_info* pnf = (pnf_info*)(config->user_data);
nfapi_
param_response
_t
nfapi_resp
;
nfapi_
nr_param_response_scf
_t
nfapi_resp
;
pnf_info
*
pnf
=
(
pnf_info
*
)(
config
->
user_data
);
pnf_info
*
pnf
=
(
pnf_info
*
)(
config
->
user_data
);
memset
(
&
nfapi_resp
,
0
,
sizeof
(
nfapi_resp
));
memset
(
&
nfapi_resp
,
0
,
sizeof
(
nfapi_resp
));
nfapi_resp
.
header
.
message_id
=
NFAPI_PARAM_RESPONSE
;
nfapi_resp
.
header
.
message_id
=
NFAPI_PARAM_RESPONSE
;
...
@@ -475,7 +475,7 @@ int param_request(nfapi_pnf_config_t *config, nfapi_pnf_phy_config_t *phy, nfapi
...
@@ -475,7 +475,7 @@ int param_request(nfapi_pnf_config_t *config, nfapi_pnf_phy_config_t *phy, nfapi
nfapi_resp
.
nfapi_config
.
p7_pnf_port
.
value
=
pnf
->
phys
[
0
].
local_port
;
// 32123; // DJP - hard code alert!!!! FIXME TODO
nfapi_resp
.
nfapi_config
.
p7_pnf_port
.
value
=
pnf
->
phys
[
0
].
local_port
;
// 32123; // DJP - hard code alert!!!! FIXME TODO
nfapi_resp
.
num_tlv
++
;
nfapi_resp
.
num_tlv
++
;
nfapi_pnf_param_resp
(
config
,
&
nfapi_resp
);
nfapi_pnf_param_resp
(
config
,
&
nfapi_resp
);
printf
(
"[PNF] Sent NFAPI_PARAM_RESPONSE phy_id:%d number_of_tlvs:%u
\n
"
,
req
->
header
.
phy_id
,
nfapi_resp
.
num_tlv
);
printf
(
"[PNF] Sent NFAPI_P
NF_P
ARAM_RESPONSE phy_id:%d number_of_tlvs:%u
\n
"
,
req
->
header
.
phy_id
,
nfapi_resp
.
num_tlv
);
printf
(
"[PNF] param request .. exit
\n
"
);
printf
(
"[PNF] param request .. exit
\n
"
);
return
0
;
return
0
;
}
}
...
@@ -676,7 +676,7 @@ int config_request(nfapi_pnf_config_t *config, nfapi_pnf_phy_config_t *phy, nfap
...
@@ -676,7 +676,7 @@ int config_request(nfapi_pnf_config_t *config, nfapi_pnf_phy_config_t *phy, nfap
nfapi_resp
.
header
.
phy_id
=
phy_info
->
id
;
nfapi_resp
.
header
.
phy_id
=
phy_info
->
id
;
nfapi_resp
.
error_code
=
0
;
// DJP - some value resp->error_code;
nfapi_resp
.
error_code
=
0
;
// DJP - some value resp->error_code;
nfapi_pnf_config_resp
(
config
,
&
nfapi_resp
);
nfapi_pnf_config_resp
(
config
,
&
nfapi_resp
);
printf
(
"[PNF] Sent NFAPI_CONFIG_RESPONSE phy_id:%d
\n
"
,
phy_info
->
id
);
printf
(
"[PNF] Sent NFAPI_
PNF_
CONFIG_RESPONSE phy_id:%d
\n
"
,
phy_info
->
id
);
if
(
NFAPI_MODE
==
NFAPI_UE_STUB_PNF
)
if
(
NFAPI_MODE
==
NFAPI_UE_STUB_PNF
)
free
(
fp
);
free
(
fp
);
...
...
nfapi/oai_integration/nfapi_vnf.c
View file @
fd51a5bd
...
@@ -981,7 +981,7 @@ void *vnf_p7_thread_start(void *ptr) {
...
@@ -981,7 +981,7 @@ void *vnf_p7_thread_start(void *ptr) {
p7_vnf
->
config
->
codec_config
.
deallocate
=
&
vnf_deallocate
;
p7_vnf
->
config
->
codec_config
.
deallocate
=
&
vnf_deallocate
;
p7_vnf
->
config
->
allocate_p7_vendor_ext
=
&
phy_allocate_p7_vendor_ext
;
p7_vnf
->
config
->
allocate_p7_vendor_ext
=
&
phy_allocate_p7_vendor_ext
;
p7_vnf
->
config
->
deallocate_p7_vendor_ext
=
&
phy_deallocate_p7_vendor_ext
;
p7_vnf
->
config
->
deallocate_p7_vendor_ext
=
&
phy_deallocate_p7_vendor_ext
;
NFAPI_TRACE
(
NFAPI_TRACE_INFO
,
"[VNF] Creating VNF NFAPI start thread %s
\n
"
,
__FUNCTION__
);
NFAPI_TRACE
(
NFAPI_TRACE_INFO
,
"[VNF] Creating VNF NFAPI
P7
start thread %s
\n
"
,
__FUNCTION__
);
pthread_create
(
&
vnf_p7_start_pthread
,
NULL
,
&
vnf_p7_start_thread
,
p7_vnf
->
config
);
pthread_create
(
&
vnf_p7_start_pthread
,
NULL
,
&
vnf_p7_start_thread
,
p7_vnf
->
config
);
return
0
;
return
0
;
}
}
...
@@ -1002,7 +1002,7 @@ int pnf_start_resp_cb(nfapi_vnf_config_t *config, int p5_idx, nfapi_pnf_start_re
...
@@ -1002,7 +1002,7 @@ int pnf_start_resp_cb(nfapi_vnf_config_t *config, int p5_idx, nfapi_pnf_start_re
}
}
// start all the phys in the pnf.
// start all the phys in the pnf.
printf
(
"[VNF] Sending NFAPI_PARAM_REQUEST phy_id:%d
\n
"
,
pnf
->
phys
[
0
].
id
);
printf
(
"[VNF] Sending NFAPI_
VNF_
PARAM_REQUEST phy_id:%d
\n
"
,
pnf
->
phys
[
0
].
id
);
memset
(
&
req
,
0
,
sizeof
(
req
));
memset
(
&
req
,
0
,
sizeof
(
req
));
req
.
header
.
message_id
=
NFAPI_PARAM_REQUEST
;
req
.
header
.
message_id
=
NFAPI_PARAM_REQUEST
;
req
.
header
.
phy_id
=
pnf
->
phys
[
0
].
id
;
req
.
header
.
phy_id
=
pnf
->
phys
[
0
].
id
;
...
@@ -1019,7 +1019,7 @@ int param_resp_cb(nfapi_vnf_config_t *config, int p5_idx, nfapi_nr_param_respons
...
@@ -1019,7 +1019,7 @@ int param_resp_cb(nfapi_vnf_config_t *config, int p5_idx, nfapi_nr_param_respons
pnf_info
*
pnf
=
vnf
->
pnfs
;
pnf_info
*
pnf
=
vnf
->
pnfs
;
phy_info
*
phy
=
pnf
->
phys
;
phy_info
*
phy
=
pnf
->
phys
;
struct
sockaddr_in
pnf_p7_sockaddr
;
struct
sockaddr_in
pnf_p7_sockaddr
;
nfapi_nr_config_request_t
*
req
=
&
RC
.
nrmac
[
0
]
->
config
[
0
];
nfapi_nr_config_request_
scf_
t
*
req
=
&
RC
.
nrmac
[
0
]
->
config
[
0
];
phy
->
remote_port
=
resp
->
nfapi_config
.
p7_pnf_port
.
value
;
phy
->
remote_port
=
resp
->
nfapi_config
.
p7_pnf_port
.
value
;
memcpy
(
&
pnf_p7_sockaddr
.
sin_addr
.
s_addr
,
&
(
resp
->
nfapi_config
.
p7_pnf_address_ipv4
.
address
[
0
]),
4
);
memcpy
(
&
pnf_p7_sockaddr
.
sin_addr
.
s_addr
,
&
(
resp
->
nfapi_config
.
p7_pnf_address_ipv4
.
address
[
0
]),
4
);
phy
->
remote_addr
=
inet_ntoa
(
pnf_p7_sockaddr
.
sin_addr
);
phy
->
remote_addr
=
inet_ntoa
(
pnf_p7_sockaddr
.
sin_addr
);
...
@@ -1062,7 +1062,7 @@ int param_resp_cb(nfapi_vnf_config_t *config, int p5_idx, nfapi_nr_param_respons
...
@@ -1062,7 +1062,7 @@ int param_resp_cb(nfapi_vnf_config_t *config, int p5_idx, nfapi_nr_param_respons
ve2
.
dummy
=
2016
;
ve2
.
dummy
=
2016
;
req
->
vendor_extension
=
&
ve2
.
tl
;
req
->
vendor_extension
=
&
ve2
.
tl
;
nfapi_vnf_config_req
(
config
,
p5_idx
,
req
);
nfapi_vnf_config_req
(
config
,
p5_idx
,
req
);
printf
(
"[VNF] Sent NFAPI_CONFIG_REQ num_tlv:%u
\n
"
,
req
->
num_tlv
);
printf
(
"[VNF] Sent NFAPI_
VNF_
CONFIG_REQ num_tlv:%u
\n
"
,
req
->
num_tlv
);
return
0
;
return
0
;
}
}
...
@@ -1075,7 +1075,7 @@ int config_resp_cb(nfapi_vnf_config_t *config, int p5_idx, nfapi_config_response
...
@@ -1075,7 +1075,7 @@ int config_resp_cb(nfapi_vnf_config_t *config, int p5_idx, nfapi_config_response
req
.
header
.
message_id
=
NFAPI_START_REQUEST
;
req
.
header
.
message_id
=
NFAPI_START_REQUEST
;
req
.
header
.
phy_id
=
resp
->
header
.
phy_id
;
req
.
header
.
phy_id
=
resp
->
header
.
phy_id
;
nfapi_vnf_start_req
(
config
,
p5_idx
,
&
req
);
nfapi_vnf_start_req
(
config
,
p5_idx
,
&
req
);
printf
(
"[VNF] Send NFAPI_START_REQUEST idx:%d phy_id:%d
\n
"
,
p5_idx
,
resp
->
header
.
phy_id
);
printf
(
"[VNF] Send NFAPI_
VNF_
START_REQUEST idx:%d phy_id:%d
\n
"
,
p5_idx
,
resp
->
header
.
phy_id
);
return
0
;
return
0
;
}
}
...
...
nfapi/open-nFAPI/nfapi/public_inc/nfapi_nr_interface_scf.h
View file @
fd51a5bd
...
@@ -459,7 +459,7 @@ typedef struct {
...
@@ -459,7 +459,7 @@ typedef struct {
nfapi_p4_p5_message_header_t
header
;
nfapi_p4_p5_message_header_t
header
;
nfapi_nr_param_errors_e
error_code
;
nfapi_nr_param_errors_e
error_code
;
uint8_t
num
ber_of_tlvs
;
uint8_t
num
_tlv
;
nfapi_vendor_extension_tlv_t
vendor_extension
;
nfapi_vendor_extension_tlv_t
vendor_extension
;
nfapi_nr_cell_param_t
cell_param
;
nfapi_nr_cell_param_t
cell_param
;
...
...
nfapi/open-nFAPI/nfapi/src/nfapi_p5.c
View file @
fd51a5bd
This diff is collapsed.
Click to expand it.
nfapi/open-nFAPI/pnf/public_inc/nfapi_pnf_interface.h
View file @
fd51a5bd
...
@@ -405,7 +405,7 @@ int nfapi_pnf_pnf_stop_resp(nfapi_pnf_config_t* config, nfapi_pnf_stop_response_
...
@@ -405,7 +405,7 @@ int nfapi_pnf_pnf_stop_resp(nfapi_pnf_config_t* config, nfapi_pnf_stop_response_
* \return 0 for success, -1 for failure
* \return 0 for success, -1 for failure
*
*
*/
*/
int
nfapi_pnf_param_resp
(
nfapi_pnf_config_t
*
config
,
nfapi_
param_response
_t
*
resp
);
int
nfapi_pnf_param_resp
(
nfapi_pnf_config_t
*
config
,
nfapi_
nr_param_response_scf
_t
*
resp
);
/*! Send the CONFIG.response
/*! Send the CONFIG.response
* \param config A pointer to a pnf configuraiton
* \param config A pointer to a pnf configuraiton
...
...
nfapi/open-nFAPI/pnf/src/pnf_interface.c
View file @
fd51a5bd
...
@@ -169,7 +169,7 @@ int nfapi_pnf_pnf_stop_resp(nfapi_pnf_config_t* config, nfapi_pnf_stop_response_
...
@@ -169,7 +169,7 @@ int nfapi_pnf_pnf_stop_resp(nfapi_pnf_config_t* config, nfapi_pnf_stop_response_
return
pnf_pack_and_send_p5_message
(
_this
,
&
(
resp
->
header
),
sizeof
(
nfapi_pnf_stop_response_t
));
return
pnf_pack_and_send_p5_message
(
_this
,
&
(
resp
->
header
),
sizeof
(
nfapi_pnf_stop_response_t
));
}
}
int
nfapi_pnf_param_resp
(
nfapi_pnf_config_t
*
config
,
nfapi_
param_response
_t
*
resp
)
int
nfapi_pnf_param_resp
(
nfapi_pnf_config_t
*
config
,
nfapi_
nr_param_response_scf
_t
*
resp
)
{
{
if
(
config
==
NULL
||
resp
==
NULL
)
if
(
config
==
NULL
||
resp
==
NULL
)
{
{
...
@@ -179,7 +179,7 @@ int nfapi_pnf_param_resp(nfapi_pnf_config_t* config, nfapi_param_response_t* res
...
@@ -179,7 +179,7 @@ int nfapi_pnf_param_resp(nfapi_pnf_config_t* config, nfapi_param_response_t* res
pnf_t
*
_this
=
(
pnf_t
*
)(
config
);
pnf_t
*
_this
=
(
pnf_t
*
)(
config
);
return
pnf_pack_and_send_p5_message
(
_this
,
&
(
resp
->
header
),
sizeof
(
nfapi_
param_response
_t
));
return
pnf_pack_and_send_p5_message
(
_this
,
&
(
resp
->
header
),
sizeof
(
nfapi_
nr_param_response_scf
_t
));
}
}
int
nfapi_pnf_config_resp
(
nfapi_pnf_config_t
*
config
,
nfapi_config_response_t
*
resp
)
int
nfapi_pnf_config_resp
(
nfapi_pnf_config_t
*
config
,
nfapi_config_response_t
*
resp
)
...
...
nfapi/open-nFAPI/vnf/public_inc/nfapi_vnf_interface.h
View file @
fd51a5bd
...
@@ -541,7 +541,7 @@ int nfapi_vnf_param_req(nfapi_vnf_config_t* config, int p5_idx, nfapi_param_requ
...
@@ -541,7 +541,7 @@ int nfapi_vnf_param_req(nfapi_vnf_config_t* config, int p5_idx, nfapi_param_requ
* \param req A pointer to a CONFIG.request message structure
* \param req A pointer to a CONFIG.request message structure
* \return 0 means success, -1 failure
* \return 0 means success, -1 failure
*/
*/
int
nfapi_vnf_config_req
(
nfapi_vnf_config_t
*
config
,
int
p5_idx
,
nfapi_
config_request
_t
*
req
);
int
nfapi_vnf_config_req
(
nfapi_vnf_config_t
*
config
,
int
p5_idx
,
nfapi_
nr_config_request_scf
_t
*
req
);
/*! Send the START.request
/*! Send the START.request
* \param config A pointer to a vnf config
* \param config A pointer to a vnf config
...
...
nfapi/open-nFAPI/vnf/src/vnf.c
View file @
fd51a5bd
...
@@ -246,7 +246,7 @@ void vnf_handle_param_response(void *pRecvMsg, int recvMsgLen, nfapi_vnf_config_
...
@@ -246,7 +246,7 @@ void vnf_handle_param_response(void *pRecvMsg, int recvMsgLen, nfapi_vnf_config_
{
{
NFAPI_TRACE
(
NFAPI_TRACE_INFO
,
"Received PARAM_RESPONSE
\n
"
);
NFAPI_TRACE
(
NFAPI_TRACE_INFO
,
"Received PARAM_RESPONSE
\n
"
);
nfapi_
param_response
_t
msg
;
nfapi_
nr_param_response_scf
_t
msg
;
// unpack the message
// unpack the message
if
(
nfapi_p5_message_unpack
(
pRecvMsg
,
recvMsgLen
,
&
msg
,
sizeof
(
msg
),
&
config
->
codec_config
)
>=
0
)
if
(
nfapi_p5_message_unpack
(
pRecvMsg
,
recvMsgLen
,
&
msg
,
sizeof
(
msg
),
&
config
->
codec_config
)
>=
0
)
...
...
nfapi/open-nFAPI/vnf/src/vnf_interface.c
View file @
fd51a5bd
...
@@ -487,7 +487,7 @@ int nfapi_vnf_stop(nfapi_vnf_config_t* config)
...
@@ -487,7 +487,7 @@ int nfapi_vnf_stop(nfapi_vnf_config_t* config)
}
}
int
nfapi_vnf_pnf_param_req
(
nfapi_vnf_config_t
*
config
,
int
p5_idx
,
nfapi_pnf_param_request_t
*
req
)
int
nfapi_vnf_pnf_param_req
(
nfapi_vnf_config_t
*
config
,
int
p5_idx
,
nfapi_pnf_param_request_t
*
req
)
{
{
printf
(
"nfapi_vnf_pnf_param_req
\n
"
);
if
(
config
==
0
||
req
==
0
)
if
(
config
==
0
||
req
==
0
)
return
-
1
;
return
-
1
;
...
@@ -535,7 +535,7 @@ int nfapi_vnf_param_req(nfapi_vnf_config_t* config, int p5_idx, nfapi_param_requ
...
@@ -535,7 +535,7 @@ int nfapi_vnf_param_req(nfapi_vnf_config_t* config, int p5_idx, nfapi_param_requ
return
vnf_pack_and_send_p5_message
(
_this
,
p5_idx
,
&
req
->
header
,
sizeof
(
nfapi_param_request_t
));
return
vnf_pack_and_send_p5_message
(
_this
,
p5_idx
,
&
req
->
header
,
sizeof
(
nfapi_param_request_t
));
}
}
int
nfapi_vnf_config_req
(
nfapi_vnf_config_t
*
config
,
int
p5_idx
,
nfapi_
config_request
_t
*
req
)
int
nfapi_vnf_config_req
(
nfapi_vnf_config_t
*
config
,
int
p5_idx
,
nfapi_
nr_config_request_scf
_t
*
req
)
{
{
if
(
config
==
0
||
req
==
0
)
if
(
config
==
0
||
req
==
0
)
return
-
1
;
return
-
1
;
...
@@ -551,19 +551,19 @@ int nfapi_vnf_config_req(nfapi_vnf_config_t* config, int p5_idx, nfapi_config_re
...
@@ -551,19 +551,19 @@ int nfapi_vnf_config_req(nfapi_vnf_config_t* config, int p5_idx, nfapi_config_re
}
}
// set the timing parameters
// set the timing parameters
req
->
nfapi_config
.
timing_window
.
tl
.
tag
=
NFAPI_NFAPI_TIMING_WINDOW_TAG
;
req
->
nfapi_config
.
timing_window
.
tl
.
tag
=
NFAPI_N
R_N
FAPI_TIMING_WINDOW_TAG
;
req
->
nfapi_config
.
timing_window
.
value
=
phy
->
timing_window
;
req
->
nfapi_config
.
timing_window
.
value
=
phy
->
timing_window
;
req
->
num_tlv
++
;
req
->
num_tlv
++
;
req
->
nfapi_config
.
timing_info_mode
.
tl
.
tag
=
NFAPI_NFAPI_TIMING_INFO_MODE_TAG
;
req
->
nfapi_config
.
timing_info_mode
.
tl
.
tag
=
NFAPI_N
R_N
FAPI_TIMING_INFO_MODE_TAG
;
req
->
nfapi_config
.
timing_info_mode
.
value
=
phy
->
timing_info_mode
;
req
->
nfapi_config
.
timing_info_mode
.
value
=
phy
->
timing_info_mode
;
req
->
num_tlv
++
;
req
->
num_tlv
++
;
req
->
nfapi_config
.
timing_info_period
.
tl
.
tag
=
NFAPI_NFAPI_TIMING_INFO_PERIOD_TAG
;
req
->
nfapi_config
.
timing_info_period
.
tl
.
tag
=
NFAPI_N
R_N
FAPI_TIMING_INFO_PERIOD_TAG
;
req
->
nfapi_config
.
timing_info_period
.
value
=
phy
->
timing_info_period
;
req
->
nfapi_config
.
timing_info_period
.
value
=
phy
->
timing_info_period
;
req
->
num_tlv
++
;
req
->
num_tlv
++
;
return
vnf_pack_and_send_p5_message
(
_this
,
p5_idx
,
&
req
->
header
,
sizeof
(
nfapi_
config_request
_t
));
return
vnf_pack_and_send_p5_message
(
_this
,
p5_idx
,
&
req
->
header
,
sizeof
(
nfapi_
nr_config_request_scf
_t
));
}
}
int
nfapi_vnf_start_req
(
nfapi_vnf_config_t
*
config
,
int
p5_idx
,
nfapi_start_request_t
*
req
)
int
nfapi_vnf_start_req
(
nfapi_vnf_config_t
*
config
,
int
p5_idx
,
nfapi_start_request_t
*
req
)
{
{
...
...
targets/PROJECTS/GENERIC-LTE-EPC/CONF/oaiL1.nfapi.usrpx300.conf
View file @
fd51a5bd
...
@@ -25,9 +25,9 @@ L1s = (
...
@@ -25,9 +25,9 @@ L1s = (
remote_n_address
=
"127.0.0.1"
; //
vnf
addr
remote_n_address
=
"127.0.0.1"
; //
vnf
addr
local_n_address
=
"127.0.0.1"
; //
pnf
addr
local_n_address
=
"127.0.0.1"
; //
pnf
addr
local_n_portc
=
50000
; //
pnf
p5
port
[!]
local_n_portc
=
50000
; //
pnf
p5
port
[!]
remote_n_portc
=
5000
0
; //
vnf
p5
port
remote_n_portc
=
5000
1
; //
vnf
p5
port
local_n_portd
=
5000
1
; //
pnf
p7
port
local_n_portd
=
5000
2
; //
pnf
p7
port
remote_n_portd
=
5000
1
; //
vnf
p7
port
remote_n_portd
=
5000
3
; //
vnf
p7
port
}
}
);
);
...
...
targets/PROJECTS/GENERIC-LTE-EPC/CONF/rcc.band78.tm1.106PRB.nfapi.conf
View file @
fd51a5bd
...
@@ -240,10 +240,10 @@ MACRLCs = (
...
@@ -240,10 +240,10 @@ MACRLCs = (
local_s_if_name
=
"lo:"
;
local_s_if_name
=
"lo:"
;
remote_s_address
=
"127.0.0.1"
; //
pnf
addr
[!]
remote_s_address
=
"127.0.0.1"
; //
pnf
addr
[!]
local_s_address
=
"127.0.0.1"
; //
vnf
addr
local_s_address
=
"127.0.0.1"
; //
vnf
addr
local_s_portc
=
5000
0
; //
vnf
p5
port
local_s_portc
=
5000
1
; //
vnf
p5
port
remote_s_portc
=
50000
; //
pnf
p5
port
[!]
remote_s_portc
=
50000
; //
pnf
p5
port
[!]
local_s_portd
=
5000
1
; //
vnf
p7
port
[!]
local_s_portd
=
5000
3
; //
vnf
p7
port
[!]
remote_s_portd
=
5000
1
; //
pnf
p7
port
[!]
remote_s_portd
=
5000
2
; //
pnf
p7
port
[!]
tr_s_preference
=
"nfapi"
;
tr_s_preference
=
"nfapi"
;
tr_n_preference
=
"local_RRC"
;
tr_n_preference
=
"local_RRC"
;
}
}
...
...
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