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
alex037yang
OpenXG-RAN
Commits
8a1428dc
Commit
8a1428dc
authored
Sep 07, 2018
by
Y_Tomita
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
To be enable NFAPI logging function.
parent
3231ef89
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
nfapi/open-nFAPI/pnf/src/pnf.c
nfapi/open-nFAPI/pnf/src/pnf.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/open-nFAPI/pnf/src/pnf.c
View file @
8a1428dc
...
@@ -1260,7 +1260,7 @@ int pnf_connect(pnf_t* pnf)
...
@@ -1260,7 +1260,7 @@ int pnf_connect(pnf_t* pnf)
address
=
inet_ntoa
(
addr
->
sin_addr
);
address
=
inet_ntoa
(
addr
->
sin_addr
);
}
}
//
NFAPI_TRACE(NFAPI_TRACE_NOTE, "Host address info %d Family:%s Address:%s\n", i++, family, address);
NFAPI_TRACE
(
NFAPI_TRACE_NOTE
,
"Host address info %d Family:%s Address:%s
\n
"
,
i
++
,
family
,
address
);
if
(
pnf
->
sctp
)
if
(
pnf
->
sctp
)
{
{
...
...
nfapi/open-nFAPI/vnf/src/vnf_p7.c
View file @
8a1428dc
...
@@ -1203,13 +1203,13 @@ void vnf_handle_ul_node_sync(void *pRecvMsg, int recvMsgLen, vnf_p7_t* vnf_p7)
...
@@ -1203,13 +1203,13 @@ void vnf_handle_ul_node_sync(void *pRecvMsg, int recvMsgLen, vnf_p7_t* vnf_p7)
if
(
phy
->
in_sync
==
0
)
if
(
phy
->
in_sync
==
0
)
{
{
/* NFAPI_TRACE(NFAPI_TRACE_NOTE, "***** Adjusting VNF phy_id:%d SFN/SF (%s) from %d to %d (%d) mode:%s zeroCount:%u sync:%s\n",
NFAPI_TRACE
(
NFAPI_TRACE_NOTE
,
"***** Adjusting VNF phy_id:%d SFN/SF (%s) from %d to %d (%d) mode:%s zeroCount:%u sync:%s
\n
"
,
ind
.
header
.
phy_id
,
(
phy
->
in_sync
?
"via sfn"
:
"now"
),
ind
.
header
.
phy_id
,
(
phy
->
in_sync
?
"via sfn"
:
"now"
),
NFAPI_SFNSF2DEC
(
curr_sfn_sf
),
NFAPI_SFNSF2DEC
(
new_sfn_sf
),
phy
->
adjustment
,
NFAPI_SFNSF2DEC
(
curr_sfn_sf
),
NFAPI_SFNSF2DEC
(
new_sfn_sf
),
phy
->
adjustment
,
phy
->
filtered_adjust
?
"FILTERED"
:
"ABSOLUTE"
,
phy
->
filtered_adjust
?
"FILTERED"
:
"ABSOLUTE"
,
phy
->
zero_count
,
phy
->
zero_count
,
phy
->
in_sync
?
"IN_SYNC"
:
"OUT_OF_SYNC"
);
phy
->
in_sync
?
"IN_SYNC"
:
"OUT_OF_SYNC"
);
*/
phy
->
sfn_sf
=
new_sfn_sf
;
phy
->
sfn_sf
=
new_sfn_sf
;
}
}
}
}
...
...
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