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
canghaiwuhen
OpenXG-RAN
Commits
e16fc8a0
Commit
e16fc8a0
authored
Mar 06, 2019
by
wujing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change timing_info period from 128subframe to 1subframe
parent
1112dec9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
nfapi/open-nFAPI/pnf/src/pnf_p7.c
nfapi/open-nFAPI/pnf/src/pnf_p7.c
+2
-1
nfapi/open-nFAPI/pnf/src/pnf_p7_interface.c
nfapi/open-nFAPI/pnf/src/pnf_p7_interface.c
+1
-1
nfapi/open-nFAPI/vnf/src/vnf_interface.c
nfapi/open-nFAPI/vnf/src/vnf_interface.c
+1
-1
No files found.
nfapi/open-nFAPI/pnf/src/pnf_p7.c
View file @
e16fc8a0
...
...
@@ -838,7 +838,8 @@ int pnf_p7_subframe_ind(pnf_p7_t* pnf_p7, uint16_t phy_id, uint16_t sfn_sf)
//printf("pnf_p7->timing_info_ms_counter:%d\n", pnf_p7->timing_info_ms_counter);
// send the periodic timing info if configured
if
(
pnf_p7
->
_public
.
timing_info_mode_periodic
&&
(
pnf_p7
->
timing_info_period_counter
++
)
==
pnf_p7
->
_public
.
timing_info_period
)
if
(
pnf_p7
->
_public
.
timing_info_mode_periodic
&&
(
++
pnf_p7
->
timing_info_period_counter
)
==
pnf_p7
->
_public
.
timing_info_period
)
{
pnf_pack_and_send_timing_info
(
pnf_p7
);
...
...
nfapi/open-nFAPI/pnf/src/pnf_p7_interface.c
View file @
e16fc8a0
...
...
@@ -33,7 +33,7 @@ nfapi_pnf_p7_config_t* nfapi_pnf_p7_config_create()
_this
->
_public
.
subframe_buffer_size
=
8
;
_this
->
_public
.
timing_info_mode_periodic
=
1
;
_this
->
_public
.
timing_info_period
=
32
;
_this
->
_public
.
timing_info_period
=
1
;
_this
->
_public
.
timing_info_mode_aperiodic
=
1
;
_this
->
_public
.
checksum_enabled
=
1
;
...
...
nfapi/open-nFAPI/vnf/src/vnf_interface.c
View file @
e16fc8a0
...
...
@@ -666,7 +666,7 @@ int nfapi_vnf_allocate_phy(nfapi_vnf_config_t* config, int p5_idx, uint16_t* phy
info
->
timing_window
=
30
;
// This seems to override what gets set by the user - why???
info
->
timing_info_mode
=
0x03
;
info
->
timing_info_period
=
1
28
;
info
->
timing_info_period
=
1
;
nfapi_vnf_phy_info_list_add
(
config
,
info
);
...
...
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