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
e51ca908
Commit
e51ca908
authored
Jul 29, 2022
by
Swetank Srivastava
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
indentation aligned
parent
cb8aad51
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
235 additions
and
235 deletions
+235
-235
nfapi/oai_integration/nfapi_vnf.c
nfapi/oai_integration/nfapi_vnf.c
+50
-50
nfapi/open-nFAPI/vnf/src/vnf_p7_interface.c
nfapi/open-nFAPI/vnf/src/vnf_p7_interface.c
+185
-185
No files found.
nfapi/oai_integration/nfapi_vnf.c
View file @
e51ca908
nfapi/open-nFAPI/vnf/src/vnf_p7_interface.c
View file @
e51ca908
...
@@ -354,7 +354,7 @@ int nfapi_vnf_p7_start(nfapi_vnf_p7_config_t* config)
...
@@ -354,7 +354,7 @@ int nfapi_vnf_p7_start(nfapi_vnf_p7_config_t* config)
}
}
//original_pselect_timeout = pselect_timeout;
//original_pselect_timeout = pselect_timeout;
// detemine how long to sleep in ns before the start of the next 1ms
// detemine how long to sleep in ns before the start of the next 1ms
//pselect_timeout.tv_nsec = 1e6 - (pselect_start.tv_nsec % 1000000);
//pselect_timeout.tv_nsec = 1e6 - (pselect_start.tv_nsec % 1000000);
...
@@ -395,7 +395,7 @@ int nfapi_vnf_p7_start(nfapi_vnf_p7_config_t* config)
...
@@ -395,7 +395,7 @@ int nfapi_vnf_p7_start(nfapi_vnf_p7_config_t* config)
*/
*/
//long wraps = pselect_timeout.tv_nsec % 1e9;
//long wraps = pselect_timeout.tv_nsec % 1e9;
selectRetval
=
pselect
(
maxSock
+
1
,
&
rfds
,
NULL
,
NULL
,
&
pselect_timeout
,
NULL
);
selectRetval
=
pselect
(
maxSock
+
1
,
&
rfds
,
NULL
,
NULL
,
&
pselect_timeout
,
NULL
);
...
@@ -404,13 +404,13 @@ int nfapi_vnf_p7_start(nfapi_vnf_p7_config_t* config)
...
@@ -404,13 +404,13 @@ int nfapi_vnf_p7_start(nfapi_vnf_p7_config_t* config)
nfapi_vnf_p7_connection_info_t
*
phy
=
vnf_p7
->
p7_connections
;
nfapi_vnf_p7_connection_info_t
*
phy
=
vnf_p7
->
p7_connections
;
if
(
selectRetval
==-
1
&&
errno
==
22
)
if
(
selectRetval
==-
1
&&
errno
==
22
)
{
{
NFAPI_TRACE
(
NFAPI_TRACE_ERROR
,
"INVAL: pselect_timeout:%ld.%ld adj[dur:%d adj:%d], sf_dur:%ld.%ld
\n
"
,
NFAPI_TRACE
(
NFAPI_TRACE_ERROR
,
"INVAL: pselect_timeout:%ld.%ld adj[dur:%d adj:%d], sf_dur:%ld.%ld
\n
"
,
pselect_timeout
.
tv_sec
,
pselect_timeout
.
tv_nsec
,
pselect_timeout
.
tv_sec
,
pselect_timeout
.
tv_nsec
,
phy
->
insync_minor_adjustment_duration
,
phy
->
insync_minor_adjustment
,
phy
->
insync_minor_adjustment_duration
,
phy
->
insync_minor_adjustment
,
sf_duration
.
tv_sec
,
sf_duration
.
tv_nsec
);
sf_duration
.
tv_sec
,
sf_duration
.
tv_nsec
);
}
}
if
(
selectRetval
==
0
)
if
(
selectRetval
==
0
)
{
{
// calculate the start of the next subframe
// calculate the start of the next subframe
...
...
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