How harshavardhanp1/onewifi works
OneWifi is RDK-B’s centralized WiFi management component. Its main workflow accepts configuration through TR-181 or JSON WebConfig, coordinates it through the WiFi manager and control engine, persists state, and applies WiFi operations through the HAL. The graph also preserves documented application capabilities, including mesh, steering, statistics, Blaster, CSI, and CAC. Relationships come from the README and the supplied source index; unsampled implementation details are not inferred.
Main entry points: wifi_apps_mgr.c Application framework · wifi_mgr.c WiFi manager · wifi_db_apis.c WiFi database · cosa_wifi_dml.c TR-181 DML
Components 18
Configuration interfaces
- TR-181 DML
source/dml/tr_181/ml/cosa_wifi_dml.c - JSON WebConfig
source/webconfig/wifi_webconfig.c
Management core
- WiFi manager
source/core/wifi_mgr.c - Control engine
source/core/wifi_ctrl_queue_handlers.c
State and platform
- WiFi database
source/db/wifi_db_apis.c - OVSDB
lib/ovsdb/ovsdb.c
WiFi applications
- Application framework
source/apps/wifi_apps_mgr.c - EasyMesh
source/services/mesh/wifi_service_mesh.c - Client steering
source/apps/sta_mgr/wifi_sta_mgr.c - Statistics
source/stats/wifi_stats.c - Blaster tests
source/apps/blaster/wifi_blaster.c - CSI analytics
source/apps/csi/wifi_csi_analytics.c - Channel availability
source/apps/cac/wifi_cac.c
Other components
- Management agents
- Cloud services
- CCSP PSM
- WiFi HAL
- Linux system
Connections 17
- Management agents → TR-181 DML: management access
README - Cloud services → JSON WebConfig: sends JSON
README - TR-181 DML → WiFi manager: configures
README - JSON WebConfig → WiFi manager: configures
README - WiFi manager → Control engine: coordinates
README - WiFi manager → WiFi database: updates state
README - WiFi database → OVSDB: persists in
README - WiFi database → CCSP PSM: persists across reboots
README - WiFi manager → WiFi HAL: manages hardware through
README - WiFi manager → Linux system: handles system events
README - WiFi manager → Application framework: coordinates applications
README - Application framework → EasyMesh: hosts
README - Application framework → Client steering: hosts
README - Application framework → Statistics: hosts
README - Application framework → Blaster tests: hosts
README - Application framework → CSI analytics: hosts
README - Application framework → Channel availability: hosts
README