How harshavardhanp1/rdk-wifi-hal works
rdk-wifi-hal is a C Wi-Fi abstraction layer for RDK platforms, with radio/VAP management and 802.11 packet and event handling; the README specifically highlights EasyConnect and Passpoint processing. The main flow is a caller using HAL operations, which dispatch to platform-specific implementations and interact with hostapd/nl80211, while receive paths process management, data, and feature-specific traffic. HAL IPC provides a separate server-side API bridge. Some subsystem links are documented only at a high level; unsampled implementation details are not assumed.
Main entry points: wifi_hal.c HAL Operations · wifi_hal_rdk_framework.h RDK Framework · ieee80211.h 802.11 Definitions · wifi_hal_mgmt_rx.c Management RX
Components 25
HAL API and IPC
- HAL Operations
src/wifi_hal.c - IPC Server
hal_ipc/server/server_hal_ipc.c - IPC Dispatch
hal_ipc/server/hal_ipc.c - IPC Processors
hal_ipc/server/hal_ipc_processors.c - Wi-Fi Wrappers
hal_ipc/server/hal_ipc_wifi_wrappers.c
Radio Platforms
- Platform Operations
platform/broadcom/platform.c - Intel Backend
platform/intel/platform.c - Qualcomm Backend
platform/qualcomm/platform_xer5.c
Wi-Fi Runtime
- Hostapd Integration
src/wifi_hal_hostapd.c - nl80211 Utilities
src/wifi_hal_nl80211_utils.c - nl80211 Events
src/wifi_hal_nl80211_events.c
Packet Features
- Management RX
src/wifi_hal_mgmt_rx.c - OneWiFi Management RX
src/wifi_hal_mgmt_rx_one_wifi.c - Data RX
src/wifi_hal_data_rx.c - EasyConnect DPP
src/wifi_hal_dpp.c - Passpoint ANQP
src/wifi_hal_anqp.c - WNM and RRM
src/wifi_hal_wnm_rrm.c
Shared Support
- 802.11 Definitions
src/ieee80211.h - HAL Runtime State
src/wifi_hal_priv.h - RDK Framework
src/wifi_hal_rdk_framework.h - RDK HAL Types
src/wifi_hal_rdk.h - Collections
src/collection.c - TLV Encoding
src/wifi_tlv.c - AES-SIV
util_crypto/aes_siv.c
Other components
- HAL Caller
Connections 23
- HAL Caller → HAL Operations: calls
- HAL Operations → Platform Operations: dispatches
- HAL Operations → Hostapd Integration: configures
- IPC Server → IPC Dispatch: initializes
hal_ipc/server/server_hal_ipc.c - IPC Dispatch → IPC Processors: dispatches
hal_ipc/server/hal_ipc.c - IPC Processors → HAL Operations: calls
hal_ipc/server/hal_ipc_processors.c - Wi-Fi Wrappers → HAL Operations: wraps
- HAL Operations → Intel Backend: dispatches
- HAL Operations → Qualcomm Backend: dispatches
- nl80211 Events → nl80211 Utilities: uses
- Management RX → 802.11 Definitions: parses
src/wifi_hal_mgmt_rx.c - OneWiFi Management RX → 802.11 Definitions: parses
src/wifi_hal_mgmt_rx_one_wifi.c - Data RX → 802.11 Definitions: parses
src/wifi_hal_data_rx.c - Management RX → RDK Framework: uses
src/wifi_hal_mgmt_rx.c - OneWiFi Management RX → HAL Runtime State: uses
src/wifi_hal_mgmt_rx_one_wifi.c - Data RX → RDK Framework: uses
src/wifi_hal_data_rx.c - RDK Framework → RDK HAL Types: includes
src/wifi_hal_rdk_framework.h - HAL Runtime State → Collections: uses
src/wifi_hal_priv.h - HAL Operations → EasyConnect DPP: processes
- HAL Operations → Passpoint ANQP: processes
- HAL Operations → WNM and RRM: supports
- RDK HAL Types → TLV Encoding: provides types
src/wifi_tlv.c - AES-SIV → EasyConnect DPP: supports