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
8cd775c0
Commit
8cd775c0
authored
Jul 20, 2022
by
Swetank Srivastava
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
VNF and Multi Proxy Changes for Multi Cell
parent
8a76f69c
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
348 additions
and
317 deletions
+348
-317
nfapi/oai_integration/nfapi_vnf.c
nfapi/oai_integration/nfapi_vnf.c
+153
-131
nfapi/open-nFAPI/vnf/src/vnf.c
nfapi/open-nFAPI/vnf/src/vnf.c
+9
-0
nfapi/open-nFAPI/vnf/src/vnf_p7_interface.c
nfapi/open-nFAPI/vnf/src/vnf_p7_interface.c
+185
-185
nfapi/open-nFAPI/vnf_sim/src/mac.cpp
nfapi/open-nFAPI/vnf_sim/src/mac.cpp
+1
-1
No files found.
nfapi/oai_integration/nfapi_vnf.c
View file @
8cd775c0
This diff is collapsed.
Click to expand it.
nfapi/open-nFAPI/vnf/src/vnf.c
View file @
8cd775c0
...
...
@@ -1145,30 +1145,37 @@ void vnf_handle_p4_p5_message(void *pRecvMsg, int recvMsgLen, int p5_idx, nfapi_
switch
(
messageHeader
.
message_id
)
{
case
NFAPI_PNF_PARAM_RESPONSE
:
fprintf
(
stdout
,
"swetank: NFAPI_PNF_PARAM_RESPONSE
\n
"
);
vnf_handle_pnf_param_response
(
pRecvMsg
,
recvMsgLen
,
config
,
p5_idx
);
break
;
case
NFAPI_PNF_CONFIG_RESPONSE
:
fprintf
(
stdout
,
"swetank: NFAPI_PNF_CONFIG_RESPONSE
\n
"
);
vnf_handle_pnf_config_response
(
pRecvMsg
,
recvMsgLen
,
config
,
p5_idx
);
break
;
case
NFAPI_PNF_START_RESPONSE
:
fprintf
(
stdout
,
"swetank: NFAPI_PNF_START_RESPONSE
\n
"
);
vnf_handle_pnf_start_response
(
pRecvMsg
,
recvMsgLen
,
config
,
p5_idx
);
break
;
case
NFAPI_PNF_STOP_RESPONSE
:
fprintf
(
stdout
,
"swetank: NFAPI_PNF_STOP_RESPONSE
\n
"
);
vnf_handle_pnf_stop_response
(
pRecvMsg
,
recvMsgLen
,
config
,
p5_idx
);
break
;
case
NFAPI_PARAM_RESPONSE
:
fprintf
(
stdout
,
"swetank: NFAPI_PARAM_RESPONSE
\n
"
);
vnf_handle_param_response
(
pRecvMsg
,
recvMsgLen
,
config
,
p5_idx
);
break
;
case
NFAPI_CONFIG_RESPONSE
:
fprintf
(
stdout
,
"swetank: NFAPI_CONFIG_RESPONSE
\n
"
);
vnf_handle_config_response
(
pRecvMsg
,
recvMsgLen
,
config
,
p5_idx
);
break
;
case
NFAPI_START_RESPONSE
:
fprintf
(
stdout
,
"swetank: NFAPI_START_RESPONSE
\n
"
);
vnf_handle_start_response
(
pRecvMsg
,
recvMsgLen
,
config
,
p5_idx
);
break
;
...
...
@@ -1189,10 +1196,12 @@ void vnf_handle_p4_p5_message(void *pRecvMsg, int recvMsgLen, int p5_idx, nfapi_
break
;
case
NFAPI_CELL_SEARCH_RESPONSE
:
fprintf
(
stdout
,
"swetank: NFAPI_CELL_SEARCH_RESPONSE
\n
"
);
vnf_handle_cell_search_response
(
pRecvMsg
,
recvMsgLen
,
config
,
p5_idx
);
break
;
case
NFAPI_CELL_SEARCH_INDICATION
:
fprintf
(
stdout
,
"swetank: NFAPI_CELL_SEARCH_INDICATION
\n
"
);
vnf_handle_cell_search_indication
(
pRecvMsg
,
recvMsgLen
,
config
,
p5_idx
);
break
;
...
...
nfapi/open-nFAPI/vnf/src/vnf_p7_interface.c
View file @
8cd775c0
This diff is collapsed.
Click to expand it.
nfapi/open-nFAPI/vnf_sim/src/mac.cpp
View file @
8cd775c0
...
...
@@ -204,7 +204,7 @@ extern "C"
dl_config_req
.
dl_config_request_body
.
tl
.
tag
=
NFAPI_DL_CONFIG_REQUEST_BODY_TAG
;
dl_config_req
.
dl_config_request_body
.
number_pdu
=
rand_range
(
4
,
max_num_dl_pdus
);
uint16_t
i
=
0
;
fprintf
(
stdout
,
"swetank: file:%s fxn:%s line:%d
\n
"
,
__FILE__
,
__FUNCTION__
,
__LINE__
);
for
(
i
=
0
;
i
<
dl_config_req
.
dl_config_request_body
.
number_pdu
;
++
i
)
{
dl_config_pdus
[
i
].
pdu_type
=
rand_range
(
0
,
11
);
...
...
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