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
Expand all
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
This diff is collapsed.
Click to expand it.
cmake_targets/build_oai
View file @
bf5bf8ba
...
@@ -35,6 +35,7 @@ source $THIS_SCRIPT_PATH/tools/build_helper
...
@@ -35,6 +35,7 @@ source $THIS_SCRIPT_PATH/tools/build_helper
MSC_GEN
=
"False"
MSC_GEN
=
"False"
XFORMS
=
"True"
XFORMS
=
"True"
FLEXRAN_AGENT_SB_IF
=
"True"
PRINT_STATS
=
"False"
PRINT_STATS
=
"False"
VCD_TIMING
=
"False"
VCD_TIMING
=
"False"
DEADLINE_SCHEDULER_FLAG_USER
=
"False"
DEADLINE_SCHEDULER_FLAG_USER
=
"False"
...
@@ -83,6 +84,8 @@ Options
...
@@ -83,6 +84,8 @@ Options
Makes the UE specific parts (ue_ip, usim, nvram)
Makes the UE specific parts (ue_ip, usim, nvram)
--RRH
--RRH
Makes the RRH
Makes the RRH
-a | --agent
Enables agent for software-defined control of the eNB
-r | --3gpp-release
-r | --3gpp-release
default is Rel10,
default is Rel10,
Rel8 limits the implementation to 3GPP Release 8 version
Rel8 limits the implementation to 3GPP Release 8 version
...
@@ -169,6 +172,10 @@ function main() {
...
@@ -169,6 +172,10 @@ function main() {
eNB
=
1
eNB
=
1
echo_info
"Will compile eNB"
echo_info
"Will compile eNB"
shift
;;
shift
;;
-a
|
--agent
)
FLEXRAN_AGENT
=
1
echo_info
"Will compile eNB with agent support"
shift
;;
--UE
)
--UE
)
UE
=
1
UE
=
1
echo_info
"Will compile UE"
echo_info
"Will compile UE"
...
@@ -439,6 +446,9 @@ function main() {
...
@@ -439,6 +446,9 @@ function main() {
echo
"set ( CMAKE_BUILD_TYPE
$CMAKE_BUILD_TYPE
)"
>>
$cmake_file
echo
"set ( CMAKE_BUILD_TYPE
$CMAKE_BUILD_TYPE
)"
>>
$cmake_file
echo
"set ( CFLAGS_PROCESSOR_USER
\"
$CFLAGS_PROCESSOR_USER
\"
)"
>>
$cmake_file
echo
"set ( CFLAGS_PROCESSOR_USER
\"
$CFLAGS_PROCESSOR_USER
\"
)"
>>
$cmake_file
echo
"set ( XFORMS
$XFORMS
)"
>>
$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 ( RRC_ASN1_VERSION
\"
${
REL
}
\"
)"
>>
$cmake_file
echo
"set ( ENABLE_VCD_FIFO
$VCD_TIMING
)"
>>
$cmake_file
echo
"set ( ENABLE_VCD_FIFO
$VCD_TIMING
)"
>>
$cmake_file
echo
"set ( RF_BOARD
\"
${
HW
}
\"
)"
>>
$cmake_file
echo
"set ( RF_BOARD
\"
${
HW
}
\"
)"
>>
$cmake_file
...
@@ -581,6 +591,9 @@ function main() {
...
@@ -581,6 +591,9 @@ function main() {
echo
"set ( CMAKE_BUILD_TYPE
$CMAKE_BUILD_TYPE
)"
>>
$cmake_file
echo
"set ( CMAKE_BUILD_TYPE
$CMAKE_BUILD_TYPE
)"
>>
$cmake_file
echo
"set ( CFLAGS_PROCESSOR_USER
\"
$CFLAGS_PROCESSOR_USER
\"
)"
>>
$cmake_file
echo
"set ( CFLAGS_PROCESSOR_USER
\"
$CFLAGS_PROCESSOR_USER
\"
)"
>>
$cmake_file
echo
"set ( XFORMS
$XFORMS
)"
>>
$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 ( PRINT_STATS
$PRINT_STATS
)"
>>
$cmake_file
echo
"set ( RRC_ASN1_VERSION
\"
${
REL
}
\"
)"
>>
$cmake_file
echo
"set ( RRC_ASN1_VERSION
\"
${
REL
}
\"
)"
>>
$cmake_file
echo
"set ( ENABLE_VCD_FIFO
$VCD_TIMING
)"
>>
$cmake_file
echo
"set ( ENABLE_VCD_FIFO
$VCD_TIMING
)"
>>
$cmake_file
...
@@ -649,6 +662,9 @@ function main() {
...
@@ -649,6 +662,9 @@ function main() {
cp
$DIR
/oaisim_mme_build_oai/CMakeLists.template
$cmake_file
cp
$DIR
/oaisim_mme_build_oai/CMakeLists.template
$cmake_file
echo
"set ( CMAKE_BUILD_TYPE
$CMAKE_BUILD_TYPE
)"
>>
$cmake_file
echo
"set ( CMAKE_BUILD_TYPE
$CMAKE_BUILD_TYPE
)"
>>
$cmake_file
echo
"set ( XFORMS
$XFORMS
)"
>>
$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 ( RRC_ASN1_VERSION
\"
${
REL
}
\"
)"
>>
$cmake_file
echo
"set ( ENABLE_VCD_FIFO
$VCD_TIMING
)"
>>
$cmake_file
echo
"set ( ENABLE_VCD_FIFO
$VCD_TIMING
)"
>>
$cmake_file
echo
"set ( T_TRACER
$T_TRACER
)"
>>
$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 )
...
@@ -48,7 +48,7 @@ set ( NEW_FFT True )
set ( NO_RRM True )
set ( NO_RRM True )
set ( OAI_EMU True )
set ( OAI_EMU True )
set ( OAISIM 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 ( OAI_NW_DRIVER_USE_NETLINK True )
set ( OPENAIR1 True )
set ( OPENAIR1 True )
set ( OPENAIR2 True )
set ( OPENAIR2 True )
...
...
cmake_targets/tools/build_helper
View file @
bf5bf8ba
...
@@ -163,6 +163,42 @@ compilations() {
...
@@ -163,6 +163,42 @@ compilations() {
# External packages installers
# 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(){
check_install_usrp_uhd_driver(){
#first we remove old installation
#first we remove old installation
$SUDO apt-get remove -y uhd || true
$SUDO apt-get remove -y uhd || true
...
@@ -324,6 +360,7 @@ check_install_oai_software() {
...
@@ -324,6 +360,7 @@ check_install_oai_software() {
xmlstarlet \
xmlstarlet \
python-pip \
python-pip \
pydb \
pydb \
libyaml-dev \
wget
wget
$SUDO update-alternatives --set liblapack.so /usr/lib/atlas-base/atlas/liblapack.so
$SUDO update-alternatives --set liblapack.so /usr/lib/atlas-base/atlas/liblapack.so
...
@@ -337,6 +374,10 @@ check_install_oai_software() {
...
@@ -337,6 +374,10 @@ check_install_oai_software() {
$SUDO apt-get install -y libgnutls-dev
$SUDO apt-get install -y libgnutls-dev
install_asn1c_from_source
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
### Remove Nettle installation which was done from sources
...
@@ -361,6 +402,7 @@ remove_nettle_from_source() {
...
@@ -361,6 +402,7 @@ remove_nettle_from_source() {
cd nettle-2.5/
cd nettle-2.5/
./configure --disable-openssl --enable-shared --prefix=/usr
./configure --disable-openssl --enable-shared --prefix=/usr
$SUDO make uninstall || true
$SUDO make uninstall || true
$SUDO ldconfig
) >& $nettle_uninstall_log
) >& $nettle_uninstall_log
}
}
...
@@ -384,6 +426,7 @@ remove_gnutls_from_source(){
...
@@ -384,6 +426,7 @@ remove_gnutls_from_source(){
cd gnutls-3.1.23/
cd gnutls-3.1.23/
./configure --prefix=/usr
./configure --prefix=/usr
$SUDO make uninstall || true
$SUDO make uninstall || true
$SUDO ldconfig
)>& $gnutls_uninstall_log
)>& $gnutls_uninstall_log
}
}
...
@@ -398,6 +441,7 @@ install_asn1c_from_source(){
...
@@ -398,6 +441,7 @@ install_asn1c_from_source(){
make -j`nproc`
make -j`nproc`
$SUDO make install
$SUDO make install
cd -
cd -
$SUDO ldconfig
) > $asn1_install_log 2>&1
) > $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
This diff is collapsed.
Click to expand it.
common/utils/itti/timer.c
View file @
bf5bf8ba
...
@@ -86,8 +86,8 @@ int timer_handle_signal(siginfo_t *info)
...
@@ -86,8 +86,8 @@ int timer_handle_signal(siginfo_t *info)
timer_p
=
(
struct
timer_elm_s
*
)
info
->
si_ptr
;
timer_p
=
(
struct
timer_elm_s
*
)
info
->
si_ptr
;
// LG: To many traces for msc timer:
// LG: To many traces for msc timer:
//
TMR_DEBUG("Timer with id 0x%lx has expired\n", (long)timer_p->timer);
TMR_DEBUG
(
"Timer with id 0x%lx has expired
\n
"
,
(
long
)
timer_p
->
timer
);
task_id
=
timer_p
->
task_id
;
task_id
=
timer_p
->
task_id
;
instance
=
timer_p
->
instance
;
instance
=
timer_p
->
instance
;
message_p
=
itti_alloc_new_message
(
TASK_TIMER
,
TIMER_HAS_EXPIRED
);
message_p
=
itti_alloc_new_message
(
TASK_TIMER
,
TIMER_HAS_EXPIRED
);
...
@@ -120,6 +120,10 @@ int timer_handle_signal(siginfo_t *info)
...
@@ -120,6 +120,10 @@ int timer_handle_signal(siginfo_t *info)
return
-
1
;
return
-
1
;
}
}
#if defined(ENB_AGENT_SB_IF)
#endif
return
0
;
return
0
;
}
}
...
...
maketags
View file @
bf5bf8ba
#!/bin/sh
#!/bin/sh
echo
"building ctags for openair1 and openair2 ..."
echo
"building ctags for openair1 and openair2 ..."
ctags
-e
-R
--exclude
=
openair1/DOCS/
--exclude
=
openair2/DOCS/
--exclude
=
openair2/RRC/CELLULAR/
--exclude
=
openair2/NAS/DRIVER/CELLULAR/
--exclude
=
openair2/SIMULATION/
--exclude
=
targets/DOCS/
--exclude
=
targets/PROJECTS/ openair1 openair2 openair3 targets cmake_targets common
ctags
-e
-R
--exclude
=
openair1/DOCS/
--exclude
=
openair2/DOCS/
--exclude
=
openair2/RRC/CELLULAR/
--exclude
=
openair2/NAS/DRIVER/CELLULAR/
--exclude
=
openair2/SIMULATION/
--exclude
=
targets/DOCS/
--exclude
=
targets/PROJECTS/ openair1 openair2 openair3 targets cmake_targets common
openair1/SCHED/defs.h
View file @
bf5bf8ba
...
@@ -69,6 +69,11 @@ enum openair_SYNCH_STATUS {
...
@@ -69,6 +69,11 @@ enum openair_SYNCH_STATUS {
openair_SCHED_EXIT
openair_SCHED_EXIT
};
};
enum
openair_HARQ_TYPE
{
openair_harq_DL
=
0
,
openair_harq_UL
,
openair_harq_RA
};
#define DAQ_AGC_ON 1
#define DAQ_AGC_ON 1
#define DAQ_AGC_OFF 0
#define DAQ_AGC_OFF 0
...
...
openair1/SCHED/phy_procedures_lte_eNb.c
View file @
bf5bf8ba
...
@@ -21,11 +21,11 @@
...
@@ -21,11 +21,11 @@
/*! \file phy_procedures_lte_eNB.c
/*! \file phy_procedures_lte_eNB.c
* \brief Implementation of eNB procedures from 36.213 LTE specifications
* \brief Implementation of eNB procedures from 36.213 LTE specifications
* \author R. Knopp, F. Kaltenberger, N. Nikaein
* \author R. Knopp, F. Kaltenberger, N. Nikaein
, X. Foukas
* \date 2011
* \date 2011
* \version 0.1
* \version 0.1
* \company Eurecom
* \company Eurecom
* \email: knopp@eurecom.fr,florian.kaltenberger@eurecom.fr,navid.nikaein@eurecom.fr
* \email: knopp@eurecom.fr,florian.kaltenberger@eurecom.fr,navid.nikaein@eurecom.fr
, x.foukas@sms.ed.ac.uk
* \note
* \note
* \warning
* \warning
*/
*/
...
@@ -61,6 +61,14 @@
...
@@ -61,6 +61,14 @@
# include "intertask_interface.h"
# include "intertask_interface.h"
#endif
#endif
#if defined(FLEXRAN_AGENT_SB_IF)
//Agent-related headers
#include "ENB_APP/flexran_agent_extern.h"
#include "ENB_APP/CONTROL_MODULES/MAC/flexran_agent_mac.h"
#include "LAYER2/MAC/flexran_agent_mac_proto.h"
#endif
//#define DIAG_PHY
//#define DIAG_PHY
#define NS_PER_SLOT 500000
#define NS_PER_SLOT 500000
...
@@ -221,7 +229,7 @@ int8_t find_next_ue_index(PHY_VARS_eNB *eNB)
...
@@ -221,7 +229,7 @@ int8_t find_next_ue_index(PHY_VARS_eNB *eNB)
return
(
-
1
);
return
(
-
1
);
}
}
int
get_ue_active_harq_pid
(
const
uint8_t
Mod_id
,
const
uint8_t
CC_id
,
const
uint16_t
rnti
,
const
int
frame
,
const
uint8_t
subframe
,
uint8_t
*
harq_pid
,
uint8_t
*
round
,
const
uint8_t
ul
_flag
)
int
get_ue_active_harq_pid
(
const
uint8_t
Mod_id
,
const
uint8_t
CC_id
,
const
uint16_t
rnti
,
const
int
frame
,
const
uint8_t
subframe
,
uint8_t
*
harq_pid
,
uint8_t
*
round
,
const
uint8_t
harq
_flag
)
{
{
LTE_eNB_DLSCH_t
*
DLSCH_ptr
;
LTE_eNB_DLSCH_t
*
DLSCH_ptr
;
LTE_eNB_ULSCH_t
*
ULSCH_ptr
;
LTE_eNB_ULSCH_t
*
ULSCH_ptr
;
...
@@ -235,9 +243,20 @@ int get_ue_active_harq_pid(const uint8_t Mod_id,const uint8_t CC_id,const uint16
...
@@ -235,9 +243,20 @@ int get_ue_active_harq_pid(const uint8_t Mod_id,const uint8_t CC_id,const uint16
return
(
-
1
);
return
(
-
1
);
}
}
if
(
ul_flag
==
0
)
{
// this is a DL request
if
((
harq_flag
==
openair_harq_DL
)
||
(
harq_flag
==
openair_harq_RA
))
{
// this is a DL request
DLSCH_ptr
=
PHY_vars_eNB_g
[
Mod_id
][
CC_id
]
->
dlsch
[(
uint32_t
)
UE_id
][
0
];
DLSCH_ptr
=
PHY_vars_eNB_g
[
Mod_id
][
CC_id
]
->
dlsch
[(
uint32_t
)
UE_id
][
0
];
if
(
harq_flag
==
openair_harq_RA
)
{
if
(
DLSCH_ptr
->
harq_processes
[
0
]
!=
NULL
)
{
*
harq_pid
=
0
;
*
round
=
DLSCH_ptr
->
harq_processes
[
0
]
->
round
;
return
0
;
}
else
{
return
-
1
;
}
}
/* let's go synchronous for the moment - maybe we can change at some point */
/* let's go synchronous for the moment - maybe we can change at some point */
i
=
(
frame
*
10
+
subframe
)
%
8
;
i
=
(
frame
*
10
+
subframe
)
%
8
;
...
@@ -1405,7 +1424,16 @@ void phy_procedures_eNB_TX(PHY_VARS_eNB *eNB,
...
@@ -1405,7 +1424,16 @@ void phy_procedures_eNB_TX(PHY_VARS_eNB *eNB,
eNB
->
dlsch_ra
->
active
=
0
;
eNB
->
dlsch_ra
->
active
=
0
;
}
}
#if defined(FLEXRAN_AGENT_SB_IF)
#ifndef DISABLE_SF_TRIGGER
//Send subframe trigger to the controller
if
(
mac_agent_registered
[
eNB
->
Mod_id
])
{
agent_mac_xface
[
eNB
->
Mod_id
]
->
flexran_agent_send_sf_trigger
(
eNB
->
Mod_id
);
}
#endif
#endif
// Now scan UE specific DLSCH
// Now scan UE specific DLSCH
for
(
UE_id
=
0
;
UE_id
<
NUMBER_OF_UE_MAX
;
UE_id
++
)
for
(
UE_id
=
0
;
UE_id
<
NUMBER_OF_UE_MAX
;
UE_id
++
)
{
{
...
...
openair2/COMMON/tasks_def.h
View file @
bf5bf8ba
...
@@ -55,6 +55,8 @@ TASK_DEF(TASK_X2AP, TASK_PRIORITY_MED, 200)
...
@@ -55,6 +55,8 @@ TASK_DEF(TASK_X2AP, TASK_PRIORITY_MED, 200)
TASK_DEF
(
TASK_SCTP
,
TASK_PRIORITY_MED
,
200
)
TASK_DEF
(
TASK_SCTP
,
TASK_PRIORITY_MED
,
200
)
/// eNB APP task
/// eNB APP task
TASK_DEF
(
TASK_ENB_APP
,
TASK_PRIORITY_MED
,
200
)
TASK_DEF
(
TASK_ENB_APP
,
TASK_PRIORITY_MED
,
200
)
/// eNB Agent task
TASK_DEF
(
TASK_FLEXRAN_AGENT
,
TASK_PRIORITY_MED
,
200
)
// UE tasks and sub-tasks:
// UE tasks and sub-tasks:
//// Layer 2 and Layer 1 sub-tasks
//// Layer 2 and Layer 1 sub-tasks
...
...
openair2/ENB_APP/CONTROL_MODULES/MAC/flexran_agent_mac.c
0 → 100644
View file @
bf5bf8ba
This diff is collapsed.
Click to expand it.
openair2/ENB_APP/CONTROL_MODULES/MAC/flexran_agent_mac.h
0 → 100644
View file @
bf5bf8ba
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.0 (the "License"); you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
/*! \file flexran_agent_mac.h
* \brief FlexRAN agent message handler APIs for MAC layer
* \author Xenofon Foukas, Mohamed Kassem and Navid Nikaein
* \date 2016
* \version 0.1
*/
#ifndef FLEXRAN_AGENT_MAC_H_
#define FLEXRAN_AGENT_MAC_H_
#include "header.pb-c.h"
#include "flexran.pb-c.h"
#include "stats_messages.pb-c.h"
#include "stats_common.pb-c.h"
#include "flexran_agent_common.h"
#include "flexran_agent_extern.h"
/* These types will be used to give
instructions for the type of stats reports
we need to create */
typedef
struct
{
uint16_t
ue_rnti
;
uint32_t
ue_report_flags
;
/* Indicates the report elements
required for this UE id. See
FlexRAN specification 1.2.4.2 */
}
ue_report_type_t
;
typedef
struct
{
uint16_t
cc_id
;
uint32_t
cc_report_flags
;
/* Indicates the report elements
required for this CC index. See
FlexRAN specification 1.2.4.3 */
}
cc_report_type_t
;
typedef
struct
{
int
nr_ue
;
ue_report_type_t
*
ue_report_type
;
int
nr_cc
;
cc_report_type_t
*
cc_report_type
;
}
report_config_t
;
typedef
struct
stats_request_config_s
{
uint8_t
report_type
;
uint8_t
report_frequency
;
uint16_t
period
;
/*In number of subframes*/
report_config_t
*
config
;
}
stats_request_config_t
;
/* Initialization function for the agent structures etc */
void
flexran_agent_init_mac_agent
(
mid_t
mod_id
);
int
flexran_agent_mac_handle_stats
(
mid_t
mod_id
,
const
void
*
params
,
Protocol__FlexranMessage
**
msg
);
/* Statistics request protocol message constructor and destructor */
int
flexran_agent_mac_stats_request
(
mid_t
mod_id
,
xid_t
xid
,
const
stats_request_config_t
*
report_config
,
Protocol__FlexranMessage
**
msg
);
int
flexran_agent_mac_destroy_stats_request
(
Protocol__FlexranMessage
*
msg
);
/* Statistics reply protocol message constructor and destructor */
int
flexran_agent_mac_stats_reply
(
mid_t
mod_id
,
xid_t
xid
,
const
report_config_t
*
report_config
,
Protocol__FlexranMessage
**
msg
);
int
flexran_agent_mac_destroy_stats_reply
(
Protocol__FlexranMessage
*
msg
);
/* Scheduling request information protocol message constructor and estructor */
int
flexran_agent_mac_sr_info
(
mid_t
mod_id
,
const
void
*
params
,
Protocol__FlexranMessage
**
msg
);
int
flexran_agent_mac_destroy_sr_info
(
Protocol__FlexranMessage
*
msg
);
/* Subframe trigger protocol msssage constructor and destructor */
int
flexran_agent_mac_sf_trigger
(
mid_t
mod_id
,
const
void
*
params
,
Protocol__FlexranMessage
**
msg
);
int
flexran_agent_mac_destroy_sf_trigger
(
Protocol__FlexranMessage
*
msg
);
/* DL MAC scheduling decision protocol message constructor (empty command) and destructor */
int
flexran_agent_mac_create_empty_dl_config
(
mid_t
mod_id
,
Protocol__FlexranMessage
**
msg
);