How tossi-foundation/ocudu-ran works
OCUDU is an integrated telecom ecosystem centered on an end-to-end RAN stack. The principal operational path is configuring and starting a CU, DU, or gNB application, then processing radio and UE activity through control-plane, MAC/scheduler, and radio-unit components. The map also includes sampled security, metrics, execution, and O-RAN E2 capabilities. Some application wiring and unsampled subsystems are shown only as unverified links; the README describes accelerator and FAPI-split work on separate branches, not as confirmed implementations in this checkout.
Main entry points: gnb.cpp RAN applications · mac_controller.cpp MAC control · ue_event_manager.cpp UE scheduling events · worker_manager.cpp Worker management
Components 21
Applications and configuration
- RAN applications
apps/gnb/gnb.cpp - Application config
apps/gnb/gnb_appconfig_translators.cpp
RAN control plane
- CU control plane
lib/cu_cp/ue_manager/ue_manager_impl.cpp - Mobility measurements
lib/cu_cp/cell_meas_manager/cell_meas_manager_impl.cpp - CU user plane
lib/cu_up/pdu_session_manager_impl.cpp - E2 subscriptions
lib/e2/common/e2_subscription_manager_impl.cpp
Radio and scheduling
- MAC control
lib/mac/mac_ctrl/mac_controller.cpp - UE scheduling events
lib/scheduler/ue_scheduling/ue_event_manager.cpp - HARQ management
lib/scheduler/cell/cell_harq_manager.cpp - SDR radio control
lib/ru/sdr/ru_controller_sdr_impl.cpp - PRACH contexts
lib/ofh/support/prach_context_repository.h
Runtime services
- Worker management
apps/services/worker_manager/worker_manager.cpp - Task execution
lib/support/executors/task_execution_manager.cpp - DU timing
lib/du/du_high/du_high_clock_controller_factory.cpp
Shared foundations
- Integrity protection
lib/security/integrity_engine_nia2_non_cmac.cpp - Security interface
include/ocudu/security/security_engine.h - Protocol and data types
include/ocudu - WebSocket support
external/uWebSockets/App.h - Formatting support
external/fmt/include/fmt - HARQ declarations
lib/scheduler/cell/cell_harq_manager.h
Other components
- Operator
Connections 17
- Operator → RAN applications: starts
- RAN applications → Application config: configures
- RAN applications → CU control plane: starts runtime
- RAN applications → CU user plane: starts runtime
- RAN applications → MAC control: starts runtime
- CU control plane → Mobility measurements: manages measurements
- CU user plane → E2 subscriptions: provides RAN service
- MAC control → UE scheduling events: dispatches UE work
- UE scheduling events → HARQ management: coordinates HARQ
- SDR radio control → Operator: controls radio
- Worker management → Task execution: creates executors
apps/services/worker_manager/worker_manager.cpp - Worker management → DU timing: configures timing
- MAC control → UE scheduling events: handles UE requests
lib/mac/mac_ctrl/mac_controller.cpp - Integrity protection → Security interface: implements protection
lib/security/integrity_engine_nia2_non_cmac.cpp - HARQ management → HARQ declarations: implements manager
lib/scheduler/cell/cell_harq_manager.cpp - PRACH contexts → Protocol and data types: uses PRACH types
lib/ofh/support/prach_context_repository.h - WebSocket support → Formatting support: uses formatting
external/uWebSockets/App.h