Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
openairinterface5G
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Merge Requests
23
Merge Requests
23
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
oai
openairinterface5G
Commits
bf5bf8ba
Commit
bf5bf8ba
authored
Dec 06, 2016
by
Cedric Roux
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-68-enb-agent' into 'develop'
Feature 68 enb agent See merge request
!47
parents
9a0f32aa
8def47c4
Changes
256
Hide whitespace changes
Inline
Side-by-side
Showing
256 changed files
with
36296 additions
and
122 deletions
+36296
-122
cmake_targets/CMakeLists.txt
cmake_targets/CMakeLists.txt
+140
-10
cmake_targets/build_oai
cmake_targets/build_oai
+16
-0
cmake_targets/oaisim_noS1_build_oai/CMakeLists.template
cmake_targets/oaisim_noS1_build_oai/CMakeLists.template
+1
-1
cmake_targets/tools/build_helper
cmake_targets/tools/build_helper
+44
-0
cmake_targets/tools/generate_protobuf
cmake_targets/tools/generate_protobuf
+19
-0
cmake_targets/tools/make_agent_cache
cmake_targets/tools/make_agent_cache
+21
-0
common/utils/collection/tree.h
common/utils/collection/tree.h
+177
-54
common/utils/itti/timer.c
common/utils/itti/timer.c
+6
-2
maketags
maketags
+1
-0
openair1/SCHED/defs.h
openair1/SCHED/defs.h
+5
-0
openair1/SCHED/phy_procedures_lte_eNb.c
openair1/SCHED/phy_procedures_lte_eNb.c
+33
-5
openair2/COMMON/tasks_def.h
openair2/COMMON/tasks_def.h
+2
-0
openair2/ENB_APP/CONTROL_MODULES/MAC/flexran_agent_mac.c
openair2/ENB_APP/CONTROL_MODULES/MAC/flexran_agent_mac.c
+1493
-0
openair2/ENB_APP/CONTROL_MODULES/MAC/flexran_agent_mac.h
openair2/ENB_APP/CONTROL_MODULES/MAC/flexran_agent_mac.h
+122
-0
openair2/ENB_APP/CONTROL_MODULES/MAC/flexran_agent_mac_defs.h
...air2/ENB_APP/CONTROL_MODULES/MAC/flexran_agent_mac_defs.h
+75
-0
openair2/ENB_APP/CONTROL_MODULES/MAC/flexran_agent_mac_internal.c
.../ENB_APP/CONTROL_MODULES/MAC/flexran_agent_mac_internal.c
+794
-0
openair2/ENB_APP/CONTROL_MODULES/MAC/flexran_agent_mac_internal.h
.../ENB_APP/CONTROL_MODULES/MAC/flexran_agent_mac_internal.h
+106
-0
openair2/ENB_APP/MESSAGES/V2/config_common.proto
openair2/ENB_APP/MESSAGES/V2/config_common.proto
+180
-0
openair2/ENB_APP/MESSAGES/V2/config_messages.proto
openair2/ENB_APP/MESSAGES/V2/config_messages.proto
+88
-0
openair2/ENB_APP/MESSAGES/V2/control_delegation.proto
openair2/ENB_APP/MESSAGES/V2/control_delegation.proto
+6
-0
openair2/ENB_APP/MESSAGES/V2/controller_commands.proto
openair2/ENB_APP/MESSAGES/V2/controller_commands.proto
+58
-0
openair2/ENB_APP/MESSAGES/V2/flexran.proto
openair2/ENB_APP/MESSAGES/V2/flexran.proto
+210
-0
openair2/ENB_APP/MESSAGES/V2/header.proto
openair2/ENB_APP/MESSAGES/V2/header.proto
+43
-0
openair2/ENB_APP/MESSAGES/V2/mac_primitives.proto
openair2/ENB_APP/MESSAGES/V2/mac_primitives.proto
+76
-0
openair2/ENB_APP/MESSAGES/V2/stats_common.proto
openair2/ENB_APP/MESSAGES/V2/stats_common.proto
+182
-0
openair2/ENB_APP/MESSAGES/V2/stats_messages.proto
openair2/ENB_APP/MESSAGES/V2/stats_messages.proto
+86
-0
openair2/ENB_APP/MESSAGES/V2/time_common.proto
openair2/ENB_APP/MESSAGES/V2/time_common.proto
+29
-0
openair2/ENB_APP/enb_app.c
openair2/ENB_APP/enb_app.c
+14
-2
openair2/ENB_APP/enb_config.c
openair2/ENB_APP/enb_config.c
+48
-0
openair2/ENB_APP/enb_config.h
openair2/ENB_APP/enb_config.h
+4
-0
openair2/ENB_APP/flexran_agent.c
openair2/ENB_APP/flexran_agent.c
+319
-0
openair2/ENB_APP/flexran_agent.h
openair2/ENB_APP/flexran_agent.h
+46
-0
openair2/ENB_APP/flexran_agent_async.c
openair2/ENB_APP/flexran_agent_async.c
+99
-0
openair2/ENB_APP/flexran_agent_async.h
openair2/ENB_APP/flexran_agent_async.h
+55
-0
openair2/ENB_APP/flexran_agent_common.c
openair2/ENB_APP/flexran_agent_common.c
+2279
-0
openair2/ENB_APP/flexran_agent_common.h
openair2/ENB_APP/flexran_agent_common.h
+496
-0
openair2/ENB_APP/flexran_agent_common_internal.c
openair2/ENB_APP/flexran_agent_common_internal.c
+392
-0
openair2/ENB_APP/flexran_agent_common_internal.h
openair2/ENB_APP/flexran_agent_common_internal.h
+56
-0
openair2/ENB_APP/flexran_agent_defs.h
openair2/ENB_APP/flexran_agent_defs.h
+125
-0
openair2/ENB_APP/flexran_agent_extern.h
openair2/ENB_APP/flexran_agent_extern.h
+48
-0
openair2/ENB_APP/flexran_agent_handler.c
openair2/ENB_APP/flexran_agent_handler.c
+189
-0
openair2/ENB_APP/flexran_agent_net_comm.c
openair2/ENB_APP/flexran_agent_net_comm.c
+192
-0
openair2/ENB_APP/flexran_agent_net_comm.h
openair2/ENB_APP/flexran_agent_net_comm.h
+81
-0
openair2/ENB_APP/flexran_agent_task_manager.c
openair2/ENB_APP/flexran_agent_task_manager.c
+304
-0
openair2/ENB_APP/flexran_agent_task_manager.h
openair2/ENB_APP/flexran_agent_task_manager.h
+156
-0
openair2/LAYER2/MAC/defs.h
openair2/LAYER2/MAC/defs.h
+13
-0
openair2/LAYER2/MAC/eNB_scheduler.c
openair2/LAYER2/MAC/eNB_scheduler.c
+449
-7
openair2/LAYER2/MAC/eNB_scheduler_RA.c
openair2/LAYER2/MAC/eNB_scheduler_RA.c
+1
-1
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
+1
-1
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
+1
-1
openair2/LAYER2/MAC/extern.h
openair2/LAYER2/MAC/extern.h
+4
-0
openair2/LAYER2/MAC/flexran_agent_mac_proto.h
openair2/LAYER2/MAC/flexran_agent_mac_proto.h
+62
-0
openair2/LAYER2/MAC/flexran_agent_scheduler_dataplane.c
openair2/LAYER2/MAC/flexran_agent_scheduler_dataplane.c
+537
-0
openair2/LAYER2/MAC/flexran_agent_scheduler_dlsch_ue.c
openair2/LAYER2/MAC/flexran_agent_scheduler_dlsch_ue.c
+1391
-0
openair2/LAYER2/MAC/flexran_agent_scheduler_dlsch_ue_remote.c
...air2/LAYER2/MAC/flexran_agent_scheduler_dlsch_ue_remote.c
+180
-0
openair2/LAYER2/MAC/flexran_agent_scheduler_dlsch_ue_remote.h
...air2/LAYER2/MAC/flexran_agent_scheduler_dlsch_ue_remote.h
+69
-0
openair2/LAYER2/MAC/flexran_dci_conversions.h
openair2/LAYER2/MAC/flexran_dci_conversions.h
+51
-0
openair2/LAYER2/MAC/pre_processor.c
openair2/LAYER2/MAC/pre_processor.c
+2
-2
openair2/LAYER2/MAC/proto.h
openair2/LAYER2/MAC/proto.h
+2
-0
openair2/LAYER2/openair2_proc.c
openair2/LAYER2/openair2_proc.c
+4
-2
openair2/RRC/LITE/rrc_eNB.c
openair2/RRC/LITE/rrc_eNB.c
+27
-3
openair2/UTIL/ASYNC_IF/link_manager.c
openair2/UTIL/ASYNC_IF/link_manager.c
+254
-0
openair2/UTIL/ASYNC_IF/link_manager.h
openair2/UTIL/ASYNC_IF/link_manager.h
+63
-0
openair2/UTIL/ASYNC_IF/message_queue.c
openair2/UTIL/ASYNC_IF/message_queue.c
+204
-0
openair2/UTIL/ASYNC_IF/message_queue.h
openair2/UTIL/ASYNC_IF/message_queue.h
+64
-0
openair2/UTIL/ASYNC_IF/ringbuffer_queue.c
openair2/UTIL/ASYNC_IF/ringbuffer_queue.c
+136
-0
openair2/UTIL/ASYNC_IF/ringbuffer_queue.h
openair2/UTIL/ASYNC_IF/ringbuffer_queue.h
+53
-0
openair2/UTIL/ASYNC_IF/socket_link.c
openair2/UTIL/ASYNC_IF/socket_link.c
+357
-0
openair2/UTIL/ASYNC_IF/socket_link.h
openair2/UTIL/ASYNC_IF/socket_link.h
+58
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/gcc_and_gnumake/Makefile
...DS/liblfds7.0.0/liblfds700/build/gcc_and_gnumake/Makefile
+168
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/gcc_kbuild_and_gnumake/Kbuild
...blfds7.0.0/liblfds700/build/gcc_kbuild_and_gnumake/Kbuild
+76
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/gcc_kbuild_and_gnumake/Makefile
...fds7.0.0/liblfds700/build/gcc_kbuild_and_gnumake/Makefile
+14
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/sdk_for_windows_7_and_gnumake/liblfds700.def
...fds700/build/sdk_for_windows_7_and_gnumake/liblfds700.def
+69
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/sdk_for_windows_7_and_gnumake/makefile
...0/liblfds700/build/sdk_for_windows_7_and_gnumake/makefile
+114
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/visual_studio_professional_2012/liblfds700.def
...s700/build/visual_studio_professional_2012/liblfds700.def
+69
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/visual_studio_professional_2012/liblfds700.sln
...s700/build/visual_studio_professional_2012/liblfds700.sln
+46
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/visual_studio_professional_2012/liblfds700.vcxproj
.../build/visual_studio_professional_2012/liblfds700.vcxproj
+705
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/visual_studio_professional_2012/liblfds700.vcxproj.filters
...isual_studio_professional_2012/liblfds700.vcxproj.filters
+279
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/visual_studio_professional_2012/liblfds700.vcxproj.user
...d/visual_studio_professional_2012/liblfds700.vcxproj.user
+4
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/visual_studio_professional_2012_and_wdk_8.0/driver_entry.c
...isual_studio_professional_2012_and_wdk_8.0/driver_entry.c
+1
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/visual_studio_professional_2012_and_wdk_8.0/liblfds700.def
...isual_studio_professional_2012_and_wdk_8.0/liblfds700.def
+69
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/visual_studio_professional_2012_and_wdk_8.0/liblfds700.sln
...isual_studio_professional_2012_and_wdk_8.0/liblfds700.sln
+46
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/visual_studio_professional_2012_and_wdk_8.0/liblfds700.vcxproj
...l_studio_professional_2012_and_wdk_8.0/liblfds700.vcxproj
+733
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/visual_studio_professional_2012_and_wdk_8.0/liblfds700.vcxproj.filters
..._professional_2012_and_wdk_8.0/liblfds700.vcxproj.filters
+279
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/visual_studio_professional_2012_and_wdk_8.0/liblfds700.vcxproj.user
...dio_professional_2012_and_wdk_8.0/liblfds700.vcxproj.user
+4
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/visual_studio_professional_2013_and_wdk_8.1/driver_entry.c
...isual_studio_professional_2013_and_wdk_8.1/driver_entry.c
+1
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/visual_studio_professional_2013_and_wdk_8.1/liblfds700.def
...isual_studio_professional_2013_and_wdk_8.1/liblfds700.def
+69
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/visual_studio_professional_2013_and_wdk_8.1/liblfds700.sln
...isual_studio_professional_2013_and_wdk_8.1/liblfds700.sln
+59
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/visual_studio_professional_2013_and_wdk_8.1/liblfds700.vcxproj
...l_studio_professional_2013_and_wdk_8.1/liblfds700.vcxproj
+1054
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/visual_studio_professional_2013_and_wdk_8.1/liblfds700.vcxproj.filters
..._professional_2013_and_wdk_8.1/liblfds700.vcxproj.filters
+279
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/visual_studio_professional_2013_and_wdk_8.1/liblfds700.vcxproj.user
...dio_professional_2013_and_wdk_8.1/liblfds700.vcxproj.user
+4
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/wdk_7.1/dirs
...air2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/wdk_7.1/dirs
+3
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/wdk_7.1/driver_entry_renamed_to_avoid_compiler_warning.c
.../wdk_7.1/driver_entry_renamed_to_avoid_compiler_warning.c
+23
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/wdk_7.1/liblfds700.def
...LFDS/liblfds7.0.0/liblfds700/build/wdk_7.1/liblfds700.def
+69
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/wdk_7.1/readme_before_win_kernel_build.txt
...blfds700/build/wdk_7.1/readme_before_win_kernel_build.txt
+32
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/wdk_7.1/runme_before_win_kernel_dynamic_lib_build.bat
...ild/wdk_7.1/runme_before_win_kernel_dynamic_lib_build.bat
+22
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/wdk_7.1/runme_before_win_kernel_static_lib_build.bat
...uild/wdk_7.1/runme_before_win_kernel_static_lib_build.bat
+21
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/wdk_7.1/sources.dynamic
...FDS/liblfds7.0.0/liblfds700/build/wdk_7.1/sources.dynamic
+62
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/wdk_7.1/sources.static
...LFDS/liblfds7.0.0/liblfds700/build/wdk_7.1/sources.static
+60
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/inc/liblfds700.h
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/inc/liblfds700.h
+31
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/inc/liblfds700/lfds700_btree_addonly_unbalanced.h
...lfds700/inc/liblfds700/lfds700_btree_addonly_unbalanced.h
+113
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/inc/liblfds700/lfds700_freelist.h
...liblfds7.0.0/liblfds700/inc/liblfds700/lfds700_freelist.h
+54
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/inc/liblfds700/lfds700_hash_addonly.h
...fds7.0.0/liblfds700/inc/liblfds700/lfds700_hash_addonly.h
+127
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/inc/liblfds700/lfds700_list_addonly_ordered_singlylinked.h
...nc/liblfds700/lfds700_list_addonly_ordered_singlylinked.h
+85
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/inc/liblfds700/lfds700_list_addonly_singlylinked_unordered.h
.../liblfds700/lfds700_list_addonly_singlylinked_unordered.h
+90
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/inc/liblfds700/lfds700_misc.h
...FDS/liblfds7.0.0/liblfds700/inc/liblfds700/lfds700_misc.h
+192
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/inc/liblfds700/lfds700_porting_abstraction_layer_compiler.h
...c/liblfds700/lfds700_porting_abstraction_layer_compiler.h
+478
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/inc/liblfds700/lfds700_porting_abstraction_layer_operating_system.h
...s700/lfds700_porting_abstraction_layer_operating_system.h
+133
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/inc/liblfds700/lfds700_porting_abstraction_layer_processor.h
.../liblfds700/lfds700_porting_abstraction_layer_processor.h
+544
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/inc/liblfds700/lfds700_queue.h
...DS/liblfds7.0.0/liblfds700/inc/liblfds700/lfds700_queue.h
+60
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/inc/liblfds700/lfds700_queue_bounded_singleconsumer_singleproducer.h
...700/lfds700_queue_bounded_singleconsumer_singleproducer.h
+59
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/inc/liblfds700/lfds700_ringbuffer.h
...blfds7.0.0/liblfds700/inc/liblfds700/lfds700_ringbuffer.h
+69
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/inc/liblfds700/lfds700_stack.h
...DS/liblfds7.0.0/liblfds700/inc/liblfds700/lfds700_stack.h
+55
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_btree_addonly_unbalanced/lfds700_btree_addonly_unbalanced_cleanup.c
...nly_unbalanced/lfds700_btree_addonly_unbalanced_cleanup.c
+117
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_btree_addonly_unbalanced/lfds700_btree_addonly_unbalanced_get.c
...addonly_unbalanced/lfds700_btree_addonly_unbalanced_get.c
+467
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_btree_addonly_unbalanced/lfds700_btree_addonly_unbalanced_init.c
...ddonly_unbalanced/lfds700_btree_addonly_unbalanced_init.c
+32
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_btree_addonly_unbalanced/lfds700_btree_addonly_unbalanced_insert.c
...only_unbalanced/lfds700_btree_addonly_unbalanced_insert.c
+156
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_btree_addonly_unbalanced/lfds700_btree_addonly_unbalanced_internal.h
...ly_unbalanced/lfds700_btree_addonly_unbalanced_internal.h
+23
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_btree_addonly_unbalanced/lfds700_btree_addonly_unbalanced_query.c
...donly_unbalanced/lfds700_btree_addonly_unbalanced_query.c
+121
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_freelist/lfds700_freelist_cleanup.c
...iblfds700/src/lfds700_freelist/lfds700_freelist_cleanup.c
+36
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_freelist/lfds700_freelist_init.c
...0/liblfds700/src/lfds700_freelist/lfds700_freelist_init.c
+27
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_freelist/lfds700_freelist_internal.h
...blfds700/src/lfds700_freelist/lfds700_freelist_internal.h
+5
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_freelist/lfds700_freelist_pop.c
....0/liblfds700/src/lfds700_freelist/lfds700_freelist_pop.c
+52
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_freelist/lfds700_freelist_push.c
...0/liblfds700/src/lfds700_freelist/lfds700_freelist_push.c
+42
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_freelist/lfds700_freelist_query.c
.../liblfds700/src/lfds700_freelist/lfds700_freelist_query.c
+123
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_hash_addonly/lfds700_hash_addonly_cleanup.c
...0/src/lfds700_hash_addonly/lfds700_hash_addonly_cleanup.c
+61
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_hash_addonly/lfds700_hash_addonly_get.c
...ds700/src/lfds700_hash_addonly/lfds700_hash_addonly_get.c
+37
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_hash_addonly/lfds700_hash_addonly_init.c
...s700/src/lfds700_hash_addonly/lfds700_hash_addonly_init.c
+54
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_hash_addonly/lfds700_hash_addonly_insert.c
...00/src/lfds700_hash_addonly/lfds700_hash_addonly_insert.c
+62
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_hash_addonly/lfds700_hash_addonly_internal.h
.../src/lfds700_hash_addonly/lfds700_hash_addonly_internal.h
+5
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_hash_addonly/lfds700_hash_addonly_iterate.c
...0/src/lfds700_hash_addonly/lfds700_hash_addonly_iterate.c
+58
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_hash_addonly/lfds700_hash_addonly_query.c
...700/src/lfds700_hash_addonly/lfds700_hash_addonly_query.c
+112
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_list_addonly_ordered_singlylinked/lfds700_list_addonly_ordered_singlylinked_cleanup.c
...inked/lfds700_list_addonly_ordered_singlylinked_cleanup.c
+37
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_list_addonly_ordered_singlylinked/lfds700_list_addonly_ordered_singlylinked_get.c
...glylinked/lfds700_list_addonly_ordered_singlylinked_get.c
+29
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_list_addonly_ordered_singlylinked/lfds700_list_addonly_ordered_singlylinked_init.c
...lylinked/lfds700_list_addonly_ordered_singlylinked_init.c
+37
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_list_addonly_ordered_singlylinked/lfds700_list_addonly_ordered_singlylinked_insert.c
...linked/lfds700_list_addonly_ordered_singlylinked_insert.c
+134
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_list_addonly_ordered_singlylinked/lfds700_list_addonly_ordered_singlylinked_internal.h
...nked/lfds700_list_addonly_ordered_singlylinked_internal.h
+5
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_list_addonly_ordered_singlylinked/lfds700_list_addonly_ordered_singlylinked_query.c
...ylinked/lfds700_list_addonly_ordered_singlylinked_query.c
+121
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_list_addonly_singlylinked_unordered/lfds700_list_addonly_singlylinked_unordered_cleanup.c
...red/lfds700_list_addonly_singlylinked_unordered_cleanup.c
+37
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_list_addonly_singlylinked_unordered/lfds700_list_addonly_singlylinked_unordered_get.c
...ordered/lfds700_list_addonly_singlylinked_unordered_get.c
+29
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_list_addonly_singlylinked_unordered/lfds700_list_addonly_singlylinked_unordered_init.c
...rdered/lfds700_list_addonly_singlylinked_unordered_init.c
+35
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_list_addonly_singlylinked_unordered/lfds700_list_addonly_singlylinked_unordered_insert.c
...ered/lfds700_list_addonly_singlylinked_unordered_insert.c
+193
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_list_addonly_singlylinked_unordered/lfds700_list_addonly_singlylinked_unordered_internal.h
...ed/lfds700_list_addonly_singlylinked_unordered_internal.h
+5
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_list_addonly_singlylinked_unordered/lfds700_list_addonly_singlylinked_unordered_query.c
...dered/lfds700_list_addonly_singlylinked_unordered_query.c
+121
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_misc/lfds700_misc_cleanup.c
...s7.0.0/liblfds700/src/lfds700_misc/lfds700_misc_cleanup.c
+15
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_misc/lfds700_misc_globals.c
...s7.0.0/liblfds700/src/lfds700_misc/lfds700_misc_globals.c
+11
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_misc/lfds700_misc_init.c
...lfds7.0.0/liblfds700/src/lfds700_misc/lfds700_misc_init.c
+53
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_misc/lfds700_misc_internal.h
...7.0.0/liblfds700/src/lfds700_misc/lfds700_misc_internal.h
+10
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_misc/lfds700_misc_prng.c
...lfds7.0.0/liblfds700/src/lfds700_misc/lfds700_misc_prng.c
+144
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_misc/lfds700_misc_query.c
...fds7.0.0/liblfds700/src/lfds700_misc/lfds700_misc_query.c
+48
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_queue/lfds700_queue_cleanup.c
....0.0/liblfds700/src/lfds700_queue/lfds700_queue_cleanup.c
+48
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_queue/lfds700_queue_dequeue.c
....0.0/liblfds700/src/lfds700_queue/lfds700_queue_dequeue.c
+109
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_queue/lfds700_queue_enqueue.c
....0.0/liblfds700/src/lfds700_queue/lfds700_queue_enqueue.c
+74
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_queue/lfds700_queue_init.c
...ds7.0.0/liblfds700/src/lfds700_queue/lfds700_queue_init.c
+43
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_queue/lfds700_queue_internal.h
...0.0/liblfds700/src/lfds700_queue/lfds700_queue_internal.h
+14
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_queue/lfds700_queue_query.c
...s7.0.0/liblfds700/src/lfds700_queue/lfds700_queue_query.c
+126
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_queue_bounded_singleconsumer_singleproducer/lfds700_queue_bounded_singleconsumer_singleproducer_cleanup.c
...700_queue_bounded_singleconsumer_singleproducer_cleanup.c
+30
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_queue_bounded_singleconsumer_singleproducer/lfds700_queue_bounded_singleconsumer_singleproducer_dequeue.c
...700_queue_bounded_singleconsumer_singleproducer_dequeue.c
+42
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_queue_bounded_singleconsumer_singleproducer/lfds700_queue_bounded_singleconsumer_singleproducer_enqueue.c
...700_queue_bounded_singleconsumer_singleproducer_enqueue.c
+39
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_queue_bounded_singleconsumer_singleproducer/lfds700_queue_bounded_singleconsumer_singleproducer_init.c
...fds700_queue_bounded_singleconsumer_singleproducer_init.c
+63
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_queue_bounded_singleconsumer_singleproducer/lfds700_queue_bounded_singleconsumer_singleproducer_internal.h
...00_queue_bounded_singleconsumer_singleproducer_internal.h
+5
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_queue_bounded_singleconsumer_singleproducer/lfds700_queue_bounded_singleconsumer_singleproducer_query.c
...ds700_queue_bounded_singleconsumer_singleproducer_query.c
+70
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_ringbuffer/lfds700_ringbuffer_cleanup.c
...ds700/src/lfds700_ringbuffer/lfds700_ringbuffer_cleanup.c
+86
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_ringbuffer/lfds700_ringbuffer_init.c
...blfds700/src/lfds700_ringbuffer/lfds700_ringbuffer_init.c
+51
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_ringbuffer/lfds700_ringbuffer_internal.h
...s700/src/lfds700_ringbuffer/lfds700_ringbuffer_internal.h
+5
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_ringbuffer/lfds700_ringbuffer_query.c
...lfds700/src/lfds700_ringbuffer/lfds700_ringbuffer_query.c
+72
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_ringbuffer/lfds700_ringbuffer_read.c
...blfds700/src/lfds700_ringbuffer/lfds700_ringbuffer_read.c
+44
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_ringbuffer/lfds700_ringbuffer_write.c
...lfds700/src/lfds700_ringbuffer/lfds700_ringbuffer_write.c
+78
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_stack/lfds700_stack_cleanup.c
....0.0/liblfds700/src/lfds700_stack/lfds700_stack_cleanup.c
+36
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_stack/lfds700_stack_init.c
...ds7.0.0/liblfds700/src/lfds700_stack/lfds700_stack_init.c
+27
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_stack/lfds700_stack_internal.h
...0.0/liblfds700/src/lfds700_stack/lfds700_stack_internal.h
+5
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_stack/lfds700_stack_pop.c
...fds7.0.0/liblfds700/src/lfds700_stack/lfds700_stack_pop.c
+52
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_stack/lfds700_stack_push.c
...ds7.0.0/liblfds700/src/lfds700_stack/lfds700_stack_push.c
+42
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_stack/lfds700_stack_query.c
...s7.0.0/liblfds700/src/lfds700_stack/lfds700_stack_query.c
+123
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/liblfds700_internal.h
...IL/LFDS/liblfds7.0.0/liblfds700/src/liblfds700_internal.h
+93
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/build/gcc_and_gnumake/Makefile
...TIL/LFDS/liblfds7.0.0/test/build/gcc_and_gnumake/Makefile
+129
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/build/sdk_for_windows_7_and_gnumake/makefile
...ds7.0.0/test/build/sdk_for_windows_7_and_gnumake/makefile
+106
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/build/visual_studio_professional_2012/test.sln
...7.0.0/test/build/visual_studio_professional_2012/test.sln
+67
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/build/visual_studio_professional_2012/test.vcxproj
...0/test/build/visual_studio_professional_2012/test.vcxproj
+554
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/build/visual_studio_professional_2012/test.vcxproj.filters
...uild/visual_studio_professional_2012/test.vcxproj.filters
+216
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/build/visual_studio_professional_2012/test.vcxproj.user
...t/build/visual_studio_professional_2012/test.vcxproj.user
+4
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/internal.h
openair2/UTIL/LFDS/liblfds7.0.0/test/src/internal.h
+157
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/main.c
openair2/UTIL/LFDS/liblfds7.0.0/test/src/main.c
+135
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/misc.c
openair2/UTIL/LFDS/liblfds7.0.0/test/src/misc.c
+191
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_btree_addonly_unbalanced.c
...fds7.0.0/test/src/test_lfds700_btree_addonly_unbalanced.c
+32
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_btree_addonly_unbalanced_alignment.c
...est/src/test_lfds700_btree_addonly_unbalanced_alignment.c
+64
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_btree_addonly_unbalanced_random_adds_fail.c
.../test_lfds700_btree_addonly_unbalanced_random_adds_fail.c
+319
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_btree_addonly_unbalanced_random_adds_fail_and_overwrite.c
...btree_addonly_unbalanced_random_adds_fail_and_overwrite.c
+140
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_btree_addonly_unbalanced_random_adds_overwrite.c
..._lfds700_btree_addonly_unbalanced_random_adds_overwrite.c
+322
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_freelist.c
...2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_freelist.c
+33
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_freelist_alignment.c
...S/liblfds7.0.0/test/src/test_lfds700_freelist_alignment.c
+43
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_freelist_popping.c
...FDS/liblfds7.0.0/test/src/test_lfds700_freelist_popping.c
+205
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_freelist_popping_and_pushing.c
....0.0/test/src/test_lfds700_freelist_popping_and_pushing.c
+319
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_freelist_pushing.c
...FDS/liblfds7.0.0/test/src/test_lfds700_freelist_pushing.c
+246
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_freelist_rapid_popping_and_pushing.c
...est/src/test_lfds700_freelist_rapid_popping_and_pushing.c
+216
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_hash_addonly.c
...IL/LFDS/liblfds7.0.0/test/src/test_lfds700_hash_addonly.c
+33
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_hash_addonly_alignment.c
...blfds7.0.0/test/src/test_lfds700_hash_addonly_alignment.c
+40
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_hash_addonly_iterate.c
...liblfds7.0.0/test/src/test_lfds700_hash_addonly_iterate.c
+224
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_hash_addonly_random_adds_fail.c
...0.0/test/src/test_lfds700_hash_addonly_random_adds_fail.c
+314
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_hash_addonly_random_adds_fail_and_overwrite.c
...est_lfds700_hash_addonly_random_adds_fail_and_overwrite.c
+137
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_hash_addonly_random_adds_overwrite.c
...est/src/test_lfds700_hash_addonly_random_adds_overwrite.c
+388
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_list_addonly_ordered_singlylinked.c
...test/src/test_lfds700_list_addonly_ordered_singlylinked.c
+31
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_list_addonly_ordered_singlylinked_alignment.c
...est_lfds700_list_addonly_ordered_singlylinked_alignment.c
+58
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_list_addonly_ordered_singlylinked_new_ordered.c
...t_lfds700_list_addonly_ordered_singlylinked_new_ordered.c
+278
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_list_addonly_ordered_singlylinked_new_ordered_with_cursor.c
...st_addonly_ordered_singlylinked_new_ordered_with_cursor.c
+366
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_list_addonly_singlylinked_unordered.c
...st/src/test_lfds700_list_addonly_singlylinked_unordered.c
+32
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_list_addonly_singlylinked_unordered_alignment.c
...t_lfds700_list_addonly_singlylinked_unordered_alignment.c
+61
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_list_addonly_singlylinked_unordered_new_after.c
...t_lfds700_list_addonly_singlylinked_unordered_new_after.c
+254
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_list_addonly_singlylinked_unordered_new_end.c
...est_lfds700_list_addonly_singlylinked_unordered_new_end.c
+229
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_list_addonly_singlylinked_unordered_new_start.c
...t_lfds700_list_addonly_singlylinked_unordered_new_start.c
+229
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_porting_abstraction_layer_atomic.c
.../test/src/test_lfds700_porting_abstraction_layer_atomic.c
+33
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_porting_abstraction_layer_atomic_cas.c
...t/src/test_lfds700_porting_abstraction_layer_atomic_cas.c
+176
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_porting_abstraction_layer_atomic_dcas.c
.../src/test_lfds700_porting_abstraction_layer_atomic_dcas.c
+177
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_porting_abstraction_layer_atomic_exchange.c
.../test_lfds700_porting_abstraction_layer_atomic_exchange.c
+333
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_queue.c
...air2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_queue.c
+35
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_queue_alignment.c
...LFDS/liblfds7.0.0/test/src/test_lfds700_queue_alignment.c
+55
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_queue_bounded_singleconsumer_singleproducer.c
...est_lfds700_queue_bounded_singleconsumer_singleproducer.c
+25
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_queue_bounded_singleconsumer_singleproducer_dequeuing.c
...0_queue_bounded_singleconsumer_singleproducer_dequeuing.c
+61
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_queue_bounded_singleconsumer_singleproducer_enqueuing.c
...0_queue_bounded_singleconsumer_singleproducer_enqueuing.c
+59
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_queue_bounded_singleconsumer_singleproducer_enqueuing_and_dequeuing.c
...d_singleconsumer_singleproducer_enqueuing_and_dequeuing.c
+260
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_queue_dequeuing.c
...LFDS/liblfds7.0.0/test/src/test_lfds700_queue_dequeuing.c
+215
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_queue_enqueuing.c
...LFDS/liblfds7.0.0/test/src/test_lfds700_queue_enqueuing.c
+239
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_queue_enqueuing_and_dequeuing.c
...0.0/test/src/test_lfds700_queue_enqueuing_and_dequeuing.c
+250
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_queue_enqueuing_and_dequeuing_with_free.c
...rc/test_lfds700_queue_enqueuing_and_dequeuing_with_free.c
+241
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_queue_enqueuing_with_malloc_and_dequeuing_with_free.c
...700_queue_enqueuing_with_malloc_and_dequeuing_with_free.c
+208
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_queue_rapid_enqueuing_and_dequeuing.c
...st/src/test_lfds700_queue_rapid_enqueuing_and_dequeuing.c
+264
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_ringbuffer.c
...UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_ringbuffer.c
+31
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_ringbuffer_reading.c
...S/liblfds7.0.0/test/src/test_lfds700_ringbuffer_reading.c
+217
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_ringbuffer_reading_and_writing.c
....0/test/src/test_lfds700_ringbuffer_reading_and_writing.c
+261
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_ringbuffer_writing.c
...S/liblfds7.0.0/test/src/test_lfds700_ringbuffer_writing.c
+272
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_stack.c
...air2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_stack.c
+33
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_stack_alignment.c
...LFDS/liblfds7.0.0/test/src/test_lfds700_stack_alignment.c
+43
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_stack_popping.c
...L/LFDS/liblfds7.0.0/test/src/test_lfds700_stack_popping.c
+202
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_stack_popping_and_pushing.c
...ds7.0.0/test/src/test_lfds700_stack_popping_and_pushing.c
+316
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_stack_pushing.c
...L/LFDS/liblfds7.0.0/test/src/test_lfds700_stack_pushing.c
+251
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_stack_rapid_popping_and_pushing.c
...0/test/src/test_lfds700_stack_rapid_popping_and_pushing.c
+217
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_porting_abstraction_layer_get_logical_core_ids.c
...src/test_porting_abstraction_layer_get_logical_core_ids.c
+245
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_porting_abstraction_layer_operating_system.h
...est/src/test_porting_abstraction_layer_operating_system.h
+82
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_porting_abstraction_layer_thread_start.c
....0/test/src/test_porting_abstraction_layer_thread_start.c
+336
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_porting_abstraction_layer_thread_wait.c
...0.0/test/src/test_porting_abstraction_layer_thread_wait.c
+69
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/util_cmdline.c
openair2/UTIL/LFDS/liblfds7.0.0/test/src/util_cmdline.c
+184
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/util_cmdline.h
openair2/UTIL/LFDS/liblfds7.0.0/test/src/util_cmdline.h
+69
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/util_memory_helpers.c
...ir2/UTIL/LFDS/liblfds7.0.0/test/src/util_memory_helpers.c
+75
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/util_memory_helpers.h
...ir2/UTIL/LFDS/liblfds7.0.0/test/src/util_memory_helpers.h
+5
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/util_thread_starter.c
...ir2/UTIL/LFDS/liblfds7.0.0/test/src/util_thread_starter.c
+151
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/util_thread_starter.h
...ir2/UTIL/LFDS/liblfds7.0.0/test/src/util_thread_starter.h
+41
-0
openair2/UTIL/LOG/log.c
openair2/UTIL/LOG/log.c
+8
-0
openair2/UTIL/LOG/log.h
openair2/UTIL/LOG/log.h
+1
-0
openair2/UTIL/OTG/otg_tx.c
openair2/UTIL/OTG/otg_tx.c
+3
-2
targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band5.flexran.50PRB.usrpb210.conf
...ENERIC-LTE-EPC/CONF/enb.band5.flexran.50PRB.usrpb210.conf
+182
-0
targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band5.flexran.usrpb210.conf
...ECTS/GENERIC-LTE-EPC/CONF/enb.band5.flexran.usrpb210.conf
+182
-0
targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.flexran.50PRB.usrpb210.conf
...ENERIC-LTE-EPC/CONF/enb.band7.flexran.50PRB.usrpb210.conf
+182
-0
targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.flexran.oaisim.local_no_mme.conf
...C-LTE-EPC/CONF/enb.band7.flexran.oaisim.local_no_mme.conf
+160
-0
targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.flexran.usrpb210.conf
...ECTS/GENERIC-LTE-EPC/CONF/enb.band7.flexran.usrpb210.conf
+182
-0
targets/SIMU/USER/oaisim.c
targets/SIMU/USER/oaisim.c
+11
-2
targets/SIMU/USER/oaisim_functions.c
targets/SIMU/USER/oaisim_functions.c
+28
-27
No files found.
cmake_targets/CMakeLists.txt
View file @
bf5bf8ba
...
...
@@ -621,7 +621,7 @@ add_boolean_option(MESSAGE_CHART_GENERATOR False "For generating sequenc
add_boolean_option
(
MESSAGE_CHART_GENERATOR_RLC_MAC False
"trace RLC-MAC exchanges in sequence diagrams"
)
add_boolean_option
(
MESSAGE_CHART_GENERATOR_PHY False
"trace some PHY exchanges in sequence diagrams"
)
add_boolean_option
(
ENB_AGENT True
"enable eNB agent to inteface with a SDN contr
ller"
)
add_boolean_option
(
FLEXRAN_AGENT_SB_IF False
"enable FlexRAN agent to inteface with a SDN contro
ller"
)
########################
# Include order
...
...
@@ -817,8 +817,10 @@ include_directories("${OPENAIR_DIR}/targets/ARCH/COMMON")
include_directories
(
"
${
OPENAIR_DIR
}
/targets/ARCH/EXMIMO/USERSPACE/LIB/"
)
include_directories
(
"
${
OPENAIR_DIR
}
/targets/ARCH/EXMIMO/DEFS"
)
include_directories
(
"
${
OPENAIR2_DIR
}
/ENB_APP"
)
include_directories
(
"
${
OPENAIR2_DIR
}
/ENB_APP/CONTROL_MODULES/MAC"
)
include_directories
(
"
${
OPENAIR2_DIR
}
/UTIL/OSA"
)
include_directories
(
"
${
OPENAIR2_DIR
}
/UTIL/LFDS/liblfds6.1.1/liblfds611/inc"
)
include_directories
(
"
${
OPENAIR2_DIR
}
/UTIL/LFDS/liblfds7.0.0/liblfds700/inc"
)
include_directories
(
"
${
OPENAIR2_DIR
}
/UTIL/MEM"
)
include_directories
(
"
${
OPENAIR2_DIR
}
/UTIL/LISTS"
)
include_directories
(
"
${
OPENAIR2_DIR
}
/UTIL/FIFO"
)
...
...
@@ -837,6 +839,94 @@ include_directories("${OPENAIR_DIR}")
# Utilities Library
################
if
(
FLEXRAN_AGENT_SB_IF
)
# set the version of protobuf messages, V3 not supported yet
add_list1_option
(
FLPT_VERSION V2
"FLPT MSG protobuf grammar version"
V2 V3
)
if
(
${
FLPT_VERSION
}
STREQUAL
"V2"
)
set
(
FLPTDIR V2
)
elseif
(
${
FLPT_VERSION
}
STREQUAL
"V3"
)
set
(
FLPTDIR V3
)
endif
(
${
FLPT_VERSION
}
STREQUAL
"V2"
)
set
(
FLPT_MSG_DIR
${
OPENAIR2_DIR
}
/ENB_APP/MESSAGES/
${
FLPTDIR
}
)
set
(
FLPT_MSG_FILES
${
FLPT_MSG_DIR
}
/header.proto
${
FLPT_MSG_DIR
}
/flexran.proto
${
FLPT_MSG_DIR
}
/stats_common.proto
${
FLPT_MSG_DIR
}
/stats_messages.proto
${
FLPT_MSG_DIR
}
/time_common.proto
${
FLPT_MSG_DIR
}
/controller_commands.proto
${
FLPT_MSG_DIR
}
/mac_primitives.proto
${
FLPT_MSG_DIR
}
/config_messages.proto
${
FLPT_MSG_DIR
}
/config_common.proto
${
FLPT_MSG_DIR
}
/control_delegation.proto
)
set
(
FLPT_C_DIR
${
protobuf_generated_dir
}
/
${
FLPTDIR
}
)
#message("calling protoc_call=${protoc_call} FLPT_C_DIR=${FLPT_C_DIR} FLPT_MSG_FILES=${FLPT_MSG_FILES}")
execute_process
(
COMMAND
${
protoc_call
}
${
FLPT_C_DIR
}
${
FLPT_MSG_DIR
}
${
FLPT_MSG_FILES
}
)
file
(
GLOB FLPT_source
${
FLPT_C_DIR
}
/*.c
)
set
(
FLPT_OAI_generated
${
FLPT_C_DIR
}
/header.pb-c.c
${
FLPT_C_DIR
}
/flexran.pb-c.c
${
FLPT_C_DIR
}
/stats_common.pb-c.c
${
FLPT_C_DIR
}
/stats_messages.pb-c.c
${
FLPT_C_DIR
}
/time_common.pb-c.c
${
FLPT_C_DIR
}
/controller_commands.pb-c.c
${
FLPT_C_DIR
}
/mac_primitives.pb-c.c
${
FLPT_C_DIR
}
/config_messages.pb-c.c
${
FLPT_C_DIR
}
/config_common.pb-c.c
${
FLPT_C_DIR
}
/control_delegation.pb-c.c
)
file
(
GLOB flpt_h
${
FLPT_C_DIR
}
/*.h
)
set
(
flpt_h
${
flpt_h
}
)
add_library
(
FLPT_MSG
${
FLPT_OAI_generated
}
${
FLPT_source
}
)
set
(
FLPT_MSG_LIB FLPT_MSG
)
#message("prpt c dir is : ${FLPT_C_DIR}")
include_directories
(
${
FLPT_C_DIR
}
)
add_library
(
ASYNC_IF
${
OPENAIR2_DIR
}
/UTIL/ASYNC_IF/socket_link.c
${
OPENAIR2_DIR
}
/UTIL/ASYNC_IF/link_manager.c
${
OPENAIR2_DIR
}
/UTIL/ASYNC_IF/message_queue.c
${
OPENAIR2_DIR
}
/UTIL/ASYNC_IF/ringbuffer_queue.c
)
set
(
ASYNC_IF_LIB ASYNC_IF
)
include_directories
(
${
OPENAIR2_DIR
}
/UTIL/ASYNC_IF
)
add_library
(
FLEXRAN_AGENT
${
OPENAIR2_DIR
}
/ENB_APP/flexran_agent_handler.c
${
OPENAIR2_DIR
}
/ENB_APP/flexran_agent_common.c
${
OPENAIR2_DIR
}
/ENB_APP/flexran_agent_common_internal.c
${
OPENAIR2_DIR
}
/ENB_APP/CONTROL_MODULES/MAC/flexran_agent_mac.c
${
OPENAIR2_DIR
}
/ENB_APP/flexran_agent.c
${
OPENAIR2_DIR
}
/ENB_APP/flexran_agent_task_manager.c
${
OPENAIR2_DIR
}
/ENB_APP/flexran_agent_net_comm.c
${
OPENAIR2_DIR
}
/ENB_APP/flexran_agent_async.c
${
OPENAIR2_DIR
}
/ENB_APP/CONTROL_MODULES/MAC/flexran_agent_mac_internal.c
)
set
(
FLEXRAN_AGENT_LIB FLEXRAN_AGENT
)
#include_directories(${OPENAIR2_DIR}/ENB_APP)
set
(
PROTOBUF_LIB
"protobuf-c"
)
FIND_PATH
(
LIBYAML_INCLUDE_DIR NAMES yaml.h
)
FIND_LIBRARY
(
LIBYAML_LIBRARIES NAMES yaml libyaml
)
INCLUDE
(
FindPackageHandleStandardArgs
)
FIND_PACKAGE_HANDLE_STANDARD_ARGS
(
Yaml DEFAULT_MSG LIBYAML_LIBRARIES LIBYAML_INCLUDE_DIR
)
MARK_AS_ADVANCED
(
LIBYAML_INCLUDE_DIR LIBYAML_LIBRARIES
)
#set(PROTOBUF_LIB "protobuf") #for Cpp
endif
()
add_library
(
HASHTABLE
${
OPENAIR_DIR
}
/common/utils/hashtable/hashtable.c
${
OPENAIR_DIR
}
/common/utils/hashtable/obj_hashtable.c
...
...
@@ -1095,7 +1185,17 @@ set (MAC_SRC
${
MAC_DIR
}
/eNB_scheduler_RA.c
${
MAC_DIR
}
/pre_processor.c
${
MAC_DIR
}
/config.c
)
)
if
(
FLEXRAN_AGENT_SB_IF
)
set
(
MAC_SRC
${
MAC_SRC
}
${
MAC_DIR
}
/flexran_agent_scheduler_dlsch_ue.c
${
MAC_DIR
}
/flexran_agent_scheduler_dataplane.c
${
MAC_DIR
}
/flexran_agent_scheduler_dlsch_ue_remote.c
)
endif
()
set
(
ENB_APP_SRC
${
OPENAIR2_DIR
}
/ENB_APP/enb_app.c
...
...
@@ -1108,6 +1208,14 @@ add_library(L2
${
ENB_APP_SRC
}
)
# ${OPENAIR2_DIR}/RRC/L2_INTERFACE/openair_rrc_L2_interface.c)
if
(
FLEXRAN_AGENT_SB_IF
)
#Test for adding a shared library
add_library
(
default_sched SHARED
${
MAC_DIR
}
/flexran_agent_scheduler_dlsch_ue.c
)
add_library
(
remote_sched SHARED
${
MAC_DIR
}
/flexran_agent_scheduler_dlsch_ue_remote.c
)
endif
()
# L3 Libs
##########################
...
...
@@ -1468,6 +1576,23 @@ add_library(LFDS
${
lfds
}
/lfds611_abstraction/lfds611_abstraction_malloc.c
)
set
(
lfds7
${
OPENAIR2_DIR
}
/UTIL/LFDS/liblfds7.0.0/liblfds700/src/
)
file
(
GLOB lfds7_queue
${
lfds7
}
/lfds700_queue/*.c
)
file
(
GLOB lfds7_ring
${
lfds7
}
/lfds700_ringbuffer/*.c
)
file
(
GLOB lfds7_qbss
${
lfds7
}
/lfds700_queue_bounded_singleconsumer_singleproducer/*.c
)
file
(
GLOB lfds7_stack
${
lfds7
}
/lfds700_stack/*.c
)
file
(
GLOB lfds7_freelist
${
lfds7
}
/lfds700_freelist/*.c
)
file
(
GLOB lfds7_btree
${
lfds7
}
/lfds700_btree_addonly_unbalanced/*.c
)
file
(
GLOB lfds7_hash
${
lfds7
}
/lfds700_hash_addonly/*.c
)
file
(
GLOB lfds7_ordered_list
${
lfds7
}
/lfds700_list_addonly_ordered_singlylinked/*.c
)
file
(
GLOB lfds7_unordered_list
${
lfds7
}
/lfds700_list_addonly_singlylinked_unordered/*.c
)
file
(
GLOB lfds7_misc
${
lfds7
}
/lfds700_misc/*.c
)
include_directories
(
${
lfds7
}
)
add_library
(
LFDS7
${
lfds7_queue
}
${
lfds7_ring
}
${
lfds7_qbss
}
${
lfds7_stack
}
${
lfds7_freelist
}
${
lfds7_btree
}
${
lfds7_hash
}
${
lfds7_ordered_list
}
${
lfds7_unordered_list
}
${
lfds7_misc
}
)
# Simulation library
##########################
add_library
(
SIMU
...
...
@@ -1644,11 +1769,11 @@ add_executable(lte-softmodem
target_link_libraries
(
lte-softmodem -ldl
-Wl,--start-group
RRC_LIB S1AP_LIB S1AP_ENB GTPV1U SECU_CN SECU_OSA UTIL HASHTABLE SCTP_CLIENT UDP SCHED_LIB PHY LFDS L2
${
MSC_LIB
}
${
RAL_LIB
}
${
NAS_UE_LIB
}
${
ITTI_LIB
}
${
MIH_LIB
}
RRC_LIB S1AP_LIB S1AP_ENB GTPV1U SECU_CN SECU_OSA UTIL HASHTABLE SCTP_CLIENT UDP SCHED_LIB PHY LFDS L2
${
MSC_LIB
}
${
RAL_LIB
}
${
NAS_UE_LIB
}
${
ITTI_LIB
}
${
MIH_LIB
}
${
FLPT_MSG_LIB
}
${
ASYNC_IF_LIB
}
${
FLEXRAN_AGENT_LIB
}
LFDS7
-Wl,--end-group
)
target_link_libraries
(
lte-softmodem
${
LIBXML2_LIBRARIES
}
)
target_link_libraries
(
lte-softmodem pthread m
${
CONFIG_LIBRARIES
}
rt crypt
${
CRYPTO_LIBRARIES
}
${
OPENSSL_LIBRARIES
}
${
NETTLE_LIBRARIES
}
sctp
${
option_HW_lib
}
${
option_TP_lib
}
${
XFORMS_LIBRARIES
}
)
target_link_libraries
(
lte-softmodem pthread m
${
CONFIG_LIBRARIES
}
rt crypt
${
CRYPTO_LIBRARIES
}
${
OPENSSL_LIBRARIES
}
${
NETTLE_LIBRARIES
}
sctp
${
option_HW_lib
}
${
option_TP_lib
}
${
XFORMS_LIBRARIES
}
${
PROTOBUF_LIB
}
${
CMAKE_DL_LIBS
}
${
LIBYAML_LIBRARIES
}
)
target_link_libraries
(
lte-softmodem
${
LIB_LMS_LIBRARIES
}
)
target_link_libraries
(
lte-softmodem
${
T_LIB
}
)
...
...
@@ -1678,11 +1803,11 @@ add_executable(lte-softmodem-nos1
)
target_link_libraries
(
lte-softmodem-nos1
-Wl,--start-group
RRC_LIB SECU_CN SECU_OSA UTIL HASHTABLE SCHED_LIB PHY LFDS L2
${
MSC_LIB
}
${
RAL_LIB
}
${
ITTI_LIB
}
${
MIH_LIB
}
RRC_LIB SECU_CN SECU_OSA UTIL HASHTABLE SCHED_LIB PHY LFDS L2
${
MSC_LIB
}
${
RAL_LIB
}
${
ITTI_LIB
}
${
MIH_LIB
}
${
FLPT_MSG_LIB
}
${
ASYNC_IF_LIB
}
${
FLEXRAN_AGENT_LIB
}
LFDS7
-Wl,--end-group
)
target_link_libraries
(
lte-softmodem-nos1
${
LIBXML2_LIBRARIES
}
)
target_link_libraries
(
lte-softmodem-nos1 pthread m
${
CONFIG_LIBRARIES
}
rt crypt
${
CRYPTO_LIBRARIES
}
${
OPENSSL_LIBRARIES
}
${
NETTLE_LIBRARIES
}
${
option_HW_lib
}
${
option_TP_lib
}
${
XFORMS_LIBRARIES
}
)
target_link_libraries
(
lte-softmodem-nos1 pthread m
${
CONFIG_LIBRARIES
}
rt crypt
${
CRYPTO_LIBRARIES
}
${
OPENSSL_LIBRARIES
}
${
NETTLE_LIBRARIES
}
${
option_HW_lib
}
${
option_TP_lib
}
${
XFORMS_LIBRARIES
}
${
PROTOBUF_LIB
}
${
CMAKE_DL_LIBS
}
${
LIBYAML_LIBRARIES
}
)
target_link_libraries
(
lte-softmodem-nos1
${
LIB_LMS_LIBRARIES
}
)
target_link_libraries
(
lte-softmodem-nos1
${
T_LIB
}
)
...
...
@@ -1823,16 +1948,20 @@ add_executable(oaisim_nos1
target_include_directories
(
oaisim_nos1 PUBLIC
${
OPENAIR_TARGETS
}
/SIMU/USER
)
target_link_libraries
(
oaisim_nos1
-Wl,--start-group
RRC_LIB X2AP_LIB SECU_CN UTIL HASHTABLE SCHED_LIB PHY LFDS
${
MSC_LIB
}
L2
${
RAL_LIB
}
SIMU SIMU_ETH SECU_OSA
${
ITTI_LIB
}
${
MIH_LIB
}
RRC_LIB X2AP_LIB SECU_CN UTIL HASHTABLE SCHED_LIB PHY LFDS
${
MSC_LIB
}
L2
${
RAL_LIB
}
SIMU SIMU_ETH SECU_OSA
${
ITTI_LIB
}
${
MIH_LIB
}
${
FLPT_MSG_LIB
}
${
ASYNC_IF_LIB
}
${
FLEXRAN_AGENT_LIB
}
LFDS7
-Wl,--end-group
)
target_link_libraries
(
oaisim_nos1
${
LIBXML2_LIBRARIES
}
${
LAPACK_LIBRARIES
}
)
target_link_libraries
(
oaisim_nos1 pthread m
${
CONFIG_LIBRARIES
}
rt crypt
${
CRYPTO_LIBRARIES
}
${
OPENSSL_LIBRARIES
}
${
NETTLE_LIBRARIES
}
${
option_HW_lib
}
${
option_TP_lib
}
${
ATLAS_LIBRARIES
}
${
XFORMS_LIBRARIES
}
${
OPENPGM_LIBRARIES
}
)
target_link_libraries
(
oaisim_nos1 pthread m
${
CONFIG_LIBRARIES
}
rt crypt
${
CRYPTO_LIBRARIES
}
${
OPENSSL_LIBRARIES
}
${
NETTLE_LIBRARIES
}
${
option_HW_lib
}
${
option_TP_lib
}
${
ATLAS_LIBRARIES
}
${
XFORMS_LIBRARIES
}
${
OPENPGM_LIBRARIES
}
${
PROTOBUF_LIB
}
${
CMAKE_DL_LIBS
}
${
LIBYAML_LIBRARIES
}
)
#Force link with forms, regardless XFORMS option
target_link_libraries
(
oaisim_nos1 forms
)
#message("protobuflib is ${PROTOBUF_LIB}")
target_link_libraries
(
oaisim_nos1
${
T_LIB
}
)
# Unitary tests for each piece of L1: example, mbmssim is MBMS L1 simulator
#####################################
...
...
@@ -1844,7 +1973,8 @@ foreach(myExe dlsim ulsim pbchsim scansim mbmssim pdcchsim pucchsim prachsim syn
${
T_SOURCE
}
)
target_link_libraries
(
${
myExe
}
-Wl,--start-group SIMU UTIL SCHED_LIB PHY LFDS
${
ITTI_LIB
}
-Wl,--end-group
-Wl,--start-group SIMU UTIL SCHED_LIB PHY LFDS
${
ITTI_LIB
}
LFDS7 -Wl,--end-group
pthread m rt
${
CONFIG_LIBRARIES
}
${
ATLAS_LIBRARIES
}
${
XFORMS_LIBRARIES
}
${
T_LIB
}
)
endforeach
(
myExe
)
...
...
cmake_targets/build_oai
View file @
bf5bf8ba
...
...
@@ -35,6 +35,7 @@ source $THIS_SCRIPT_PATH/tools/build_helper
MSC_GEN
=
"False"
XFORMS
=
"True"
FLEXRAN_AGENT_SB_IF
=
"True"
PRINT_STATS
=
"False"
VCD_TIMING
=
"False"
DEADLINE_SCHEDULER_FLAG_USER
=
"False"
...
...
@@ -83,6 +84,8 @@ Options
Makes the UE specific parts (ue_ip, usim, nvram)
--RRH
Makes the RRH
-a | --agent
Enables agent for software-defined control of the eNB
-r | --3gpp-release
default is Rel10,
Rel8 limits the implementation to 3GPP Release 8 version
...
...
@@ -169,6 +172,10 @@ function main() {
eNB
=
1
echo_info
"Will compile eNB"
shift
;;
-a
|
--agent
)
FLEXRAN_AGENT
=
1
echo_info
"Will compile eNB with agent support"
shift
;;
--UE
)
UE
=
1
echo_info
"Will compile UE"
...
...
@@ -439,6 +446,9 @@ function main() {
echo
"set ( CMAKE_BUILD_TYPE
$CMAKE_BUILD_TYPE
)"
>>
$cmake_file
echo
"set ( CFLAGS_PROCESSOR_USER
\"
$CFLAGS_PROCESSOR_USER
\"
)"
>>
$cmake_file
echo
"set ( XFORMS
$XFORMS
)"
>>
$cmake_file
if
[
"
$FLEXRAN_AGENT
"
=
"1"
]
;
then
echo
"set ( FLEXRAN_AGENT_SB_IF
$FLEXRAN_AGENT_SB_IF
)"
>>
$cmake_file
fi
echo
"set ( RRC_ASN1_VERSION
\"
${
REL
}
\"
)"
>>
$cmake_file
echo
"set ( ENABLE_VCD_FIFO
$VCD_TIMING
)"
>>
$cmake_file
echo
"set ( RF_BOARD
\"
${
HW
}
\"
)"
>>
$cmake_file
...
...
@@ -581,6 +591,9 @@ function main() {
echo
"set ( CMAKE_BUILD_TYPE
$CMAKE_BUILD_TYPE
)"
>>
$cmake_file
echo
"set ( CFLAGS_PROCESSOR_USER
\"
$CFLAGS_PROCESSOR_USER
\"
)"
>>
$cmake_file
echo
"set ( XFORMS
$XFORMS
)"
>>
$cmake_file
if
[
"
$FLEXRAN_AGENT
"
=
"1"
]
;
then
echo
"set ( FLEXRAN_AGENT_SB_IF
$FLEXRAN_AGENT_SB_IF
)"
>>
$cmake_file
fi
echo
"set ( PRINT_STATS
$PRINT_STATS
)"
>>
$cmake_file
echo
"set ( RRC_ASN1_VERSION
\"
${
REL
}
\"
)"
>>
$cmake_file
echo
"set ( ENABLE_VCD_FIFO
$VCD_TIMING
)"
>>
$cmake_file
...
...
@@ -649,6 +662,9 @@ function main() {
cp
$DIR
/oaisim_mme_build_oai/CMakeLists.template
$cmake_file
echo
"set ( CMAKE_BUILD_TYPE
$CMAKE_BUILD_TYPE
)"
>>
$cmake_file
echo
"set ( XFORMS
$XFORMS
)"
>>
$cmake_file
if
[
"
$FLEXRAN_AGENT
"
=
"1"
]
;
then
echo
"set ( FLEXRAN_AGENT_SB_IF
$FLEXRAN_AGENT_SB_IF
)"
>>
$cmake_file
fi
echo
"set ( RRC_ASN1_VERSION
\"
${
REL
}
\"
)"
>>
$cmake_file
echo
"set ( ENABLE_VCD_FIFO
$VCD_TIMING
)"
>>
$cmake_file
echo
"set ( T_TRACER
$T_TRACER
)"
>>
$cmake_file
...
...
cmake_targets/oaisim_noS1_build_oai/CMakeLists.template
View file @
bf5bf8ba
...
...
@@ -48,7 +48,7 @@ set ( NEW_FFT True )
set ( NO_RRM True )
set ( OAI_EMU True )
set ( OAISIM True )
set ( OAI_NW_DRIVER_TYPE_ETHERNET
Tru
e )
set ( OAI_NW_DRIVER_TYPE_ETHERNET
Fals
e )
set ( OAI_NW_DRIVER_USE_NETLINK True )
set ( OPENAIR1 True )
set ( OPENAIR2 True )
...
...
cmake_targets/tools/build_helper
View file @
bf5bf8ba
...
...
@@ -163,6 +163,42 @@ compilations() {
# External packages installers
############################################
install_protobuf_from_source(){
protobuf_install_log=$OPENAIR_DIR/cmake_targets/log/protobuf_install_log.txt
echo_info "\nInstalling Google Protobuf from sources. The log file for Protobuf installation is here: $protobuf_install_log "
(
cd /tmp
echo "Downloading protobuf"
rm -rf /tmp/protobuf-2.6.1.tar.gz* /tmp/protobuf-2.6.1
wget https://github.com/google/protobuf/releases/download/v2.6.1/protobuf-2.6.1.tar.gz
tar -xzvf protobuf-2.6.1.tar.gz
cd protobuf-2.6.1/
./configure
echo "Compiling protobuf"
make -j`nproc`
$SUDO make install
$SUDO ldconfig
) >& $protobuf_install_log
}
install_protobuf_c_from_source(){
protobuf_c_install_log=$OPENAIR_DIR/cmake_targets/log/protobuf_c_install_log.txt
echo_info "\nInstalling Google Protobuf_C from sources. The log file for Protobuf_C installation is here: $protobuf_c_install_log "
(
cd /tmp
echo "Downloading protobuf-c"
rm -rf /tmp/protobuf-c
git clone https://github.com/protobuf-c/protobuf-c.git
cd protobuf-c
./autogen.sh
./configure
echo "Compiling protobuf-c"
make -j`nproc`
$SUDO make install
$SUDO ldconfig
) >& $protobuf_c_install_log
}
check_install_usrp_uhd_driver(){
#first we remove old installation
$SUDO apt-get remove -y uhd || true
...
...
@@ -324,6 +360,7 @@ check_install_oai_software() {
xmlstarlet \
python-pip \
pydb \
libyaml-dev \
wget
$SUDO update-alternatives --set liblapack.so /usr/lib/atlas-base/atlas/liblapack.so
...
...
@@ -337,6 +374,10 @@ check_install_oai_software() {
$SUDO apt-get install -y libgnutls-dev
install_asn1c_from_source
$SUDO rm -fr /opt/ssh
$SUDO git clone https://gist.github.com/2190472.git /opt/ssh
install_protobuf_from_source
install_protobuf_c_from_source
}
### Remove Nettle installation which was done from sources
...
...
@@ -361,6 +402,7 @@ remove_nettle_from_source() {
cd nettle-2.5/
./configure --disable-openssl --enable-shared --prefix=/usr
$SUDO make uninstall || true
$SUDO ldconfig
) >& $nettle_uninstall_log
}
...
...
@@ -384,6 +426,7 @@ remove_gnutls_from_source(){
cd gnutls-3.1.23/
./configure --prefix=/usr
$SUDO make uninstall || true
$SUDO ldconfig
)>& $gnutls_uninstall_log
}
...
...
@@ -398,6 +441,7 @@ install_asn1c_from_source(){
make -j`nproc`
$SUDO make install
cd -
$SUDO ldconfig
) > $asn1_install_log 2>&1
}
...
...
cmake_targets/tools/generate_protobuf
0 → 100755
View file @
bf5bf8ba
#!/bin/bash
function
main
()
{
mkdir
-p
$1
#echo generate protobuf messages inside $1 $2
c_out
=
$1
shift
proto_path
=
$1
shift
protoc-c
--c_out
=
$c_out
--proto_path
=
$proto_path
$*
#protoc --cpp_out=$c_out --proto_path=$proto_path $*
}
main
"
$@
"
cmake_targets/tools/make_agent_cache
0 → 100755
View file @
bf5bf8ba
#!/usr/bin/env bash
CACHE_DIR
=
/mnt/oai_agent_cache
if
[
!
-d
$CACHE_DIR
]
;
then
echo
"Creating cache dir in
$CACHE_DIR
"
sudo mkdir
$CACHE_DIR
fi
if
grep
-qs
"
$CACHE_DIR
"
/proc/mounts
;
then
echo
"Agent cache is already mounted"
else
echo
"Agent cache was not mounted"
echo
"Mounting..."
sudo
mount
-o
size
=
100m
-t
tmpfs none
"
$CACHE_DIR
"
if
[
$?
-eq
0
]
;
then
echo
"Mount success"
else
echo
"Something went wrong with the mount"
fi
fi
common/utils/collection/tree.h
View file @
bf5bf8ba
/*
/* $NetBSD: tree.h,v 1.8 2004/03/28 19:38:30 provos Exp $ */
/* $OpenBSD: tree.h,v 1.7 2002/10/17 21:51:54 art Exp $ */
/* $FreeBSD$ */
/*-
* Copyright 2002 Niels Provos <provos@citi.umich.edu>
* All rights reserved.
*
...
...
@@ -26,6 +30,8 @@
#ifndef _SYS_TREE_H_
#define _SYS_TREE_H_
#include <sys/cdefs.h>
/*
* This file defines data structures for different types of trees:
* splay trees and red-black trees.
...
...
@@ -63,7 +69,7 @@ struct name { \
#define SPLAY_INIT(root) do { \
(root)->sph_root = NULL; \
} while (0)
} while (
/*CONSTCOND*/
0)
#define SPLAY_ENTRY(type) \
struct { \
...
...
@@ -81,32 +87,32 @@ struct { \
SPLAY_LEFT((head)->sph_root, field) = SPLAY_RIGHT(tmp, field); \
SPLAY_RIGHT(tmp, field) = (head)->sph_root; \
(head)->sph_root = tmp; \
} while (0)
} while (
/*CONSTCOND*/
0)
#define SPLAY_ROTATE_LEFT(head, tmp, field) do { \
SPLAY_RIGHT((head)->sph_root, field) = SPLAY_LEFT(tmp, field); \
SPLAY_LEFT(tmp, field) = (head)->sph_root; \
(head)->sph_root = tmp; \
} while (0)
} while (
/*CONSTCOND*/
0)
#define SPLAY_LINKLEFT(head, tmp, field) do { \
SPLAY_LEFT(tmp, field) = (head)->sph_root; \
tmp = (head)->sph_root; \
(head)->sph_root = SPLAY_LEFT((head)->sph_root, field); \
} while (0)
} while (
/*CONSTCOND*/
0)
#define SPLAY_LINKRIGHT(head, tmp, field) do { \
SPLAY_RIGHT(tmp, field) = (head)->sph_root; \
tmp = (head)->sph_root; \
(head)->sph_root = SPLAY_RIGHT((head)->sph_root, field); \
} while (0)
} while (
/*CONSTCOND*/
0)
#define SPLAY_ASSEMBLE(head, node, left, right, field) do { \
SPLAY_RIGHT(left, field) = SPLAY_LEFT((head)->sph_root, field); \
SPLAY_LEFT(right, field) = SPLAY_RIGHT((head)->sph_root, field);\
SPLAY_LEFT((head)->sph_root, field) = SPLAY_RIGHT(node, field); \
SPLAY_RIGHT((head)->sph_root, field) = SPLAY_LEFT(node, field); \
} while (0)
} while (
/*CONSTCOND*/
0)
/* Generates prototypes and inline functions */
...
...
@@ -207,7 +213,7 @@ name##_SPLAY(struct name *head, struct type *elm) \
SPLAY_LEFT(&__node, field) = SPLAY_RIGHT(&__node, field) = NULL;\
__left = __right = &__node; \
\
while ((__comp = (cmp)(elm, (head)->sph_root))) { \
while ((__comp = (cmp)(elm, (head)->sph_root))
!= 0
) { \
if (__comp < 0) { \
__tmp = SPLAY_LEFT((head)->sph_root, field); \
if (__tmp == NULL) \
...
...
@@ -286,7 +292,7 @@ void name##_SPLAY_MINMAX(struct name *head, int __comp) \
(x) != NULL; \
(x) = SPLAY_NEXT(name, head, x))
/* Macros that define a red-back tree */
/* Macros that define a red-b
l
ack tree */
#define RB_HEAD(name, type) \
struct name { \
struct type *rbh_root;
/* root of the tree */
\
...
...
@@ -297,7 +303,7 @@ struct name { \
#define RB_INIT(root) do { \
(root)->rbh_root = NULL; \
} while (0)
} while (
/*CONSTCOND*/
0)
#define RB_BLACK 0
#define RB_RED 1
...
...
@@ -320,24 +326,24 @@ struct { \
RB_PARENT(elm, field) = parent; \
RB_LEFT(elm, field) = RB_RIGHT(elm, field) = NULL; \
RB_COLOR(elm, field) = RB_RED; \
} while (0)
} while (
/*CONSTCOND*/
0)
#define RB_SET_BLACKRED(black, red, field) do { \
RB_COLOR(black, field) = RB_BLACK; \
RB_COLOR(red, field) = RB_RED; \
} while (0)
} while (
/*CONSTCOND*/
0)
#ifndef RB_AUGMENT
#define RB_AUGMENT(x)
#define RB_AUGMENT(x)
do {} while (0)
#endif