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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
1b587ec8
Commit
1b587ec8
authored
Feb 05, 2024
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
request timing every slot
parent
c150cf54
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
nfapi/oai_integration/nfapi_vnf.c
nfapi/oai_integration/nfapi_vnf.c
+1
-1
nfapi/open-nFAPI/vnf/src/vnf_p7.c
nfapi/open-nFAPI/vnf/src/vnf_p7.c
+2
-2
No files found.
nfapi/oai_integration/nfapi_vnf.c
View file @
1b587ec8
...
...
@@ -1767,7 +1767,7 @@ void configure_nr_nfapi_vnf(char *vnf_addr, int vnf_p5_port, char *pnf_ip_addr,
vnf
.
p7_vnfs
[
0
].
timing_window
=
30
;
vnf
.
p7_vnfs
[
0
].
periodic_timing_enabled
=
0
;
vnf
.
p7_vnfs
[
0
].
aperiodic_timing_enabled
=
0
;
vnf
.
p7_vnfs
[
0
].
periodic_timing_period
=
1
0
;
vnf
.
p7_vnfs
[
0
].
periodic_timing_period
=
1
;
vnf
.
p7_vnfs
[
0
].
config
=
nfapi_vnf_p7_config_create
();
NFAPI_TRACE
(
NFAPI_TRACE_INFO
,
"[VNF] %s() vnf.p7_vnfs[0].config:%p VNF ADDRESS:%s:%d
\n
"
,
__FUNCTION__
,
vnf
.
p7_vnfs
[
0
].
config
,
vnf_addr
,
vnf_p5_port
);
strcpy
(
vnf
.
p7_vnfs
[
0
].
local_addr
,
vnf_addr
);
...
...
nfapi/open-nFAPI/vnf/src/vnf_p7.c
View file @
1b587ec8
...
...
@@ -2054,9 +2054,9 @@ void vnf_nr_handle_timing_info(void *pRecvMsg, int recvMsgLen, vnf_p7_t* vnf_p7)
// Panos: Careful here!!! Modification of the original nfapi-code
//if (vnf_pnf_sfnsf_delta>1 || vnf_pnf_sfnsf_delta < -1)
//printf("VNF-PNF delta - %d", vnf_pnf_sfnslot_delta);
if
(
vnf_pnf_sfnslot_delta
!=
0
)
if
(
vnf_pnf_sfnslot_delta
>
1
)
// we need to have a small delta, otherwise it would mean we don't advance
{
NFAPI_TRACE
(
NFAPI_TRACE_
INFO
,
"%s() LARGE SFN/SLOT DELTA between PNF and VNF. Delta %d
. PNF:%d.%d VNF:%d.%d
\n
"
,
NFAPI_TRACE
(
NFAPI_TRACE_
WARN
,
"%s() LARGE SFN/SLOT DELTA between PNF and VNF. Delta %d slots
. PNF:%d.%d VNF:%d.%d
\n
"
,
__FUNCTION__
,
vnf_pnf_sfnslot_delta
,
ind
.
last_sfn
,
ind
.
last_slot
,
vnf_p7
->
p7_connections
[
0
].
sfn
,
vnf_p7
->
p7_connections
[
0
].
slot
);
...
...
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