openwrt/package/network
Felix Fietkau 09de759506
Some checks are pending
Build all core packages / Build all core packages for selected target (push) Waiting to run
hostapd: add DPP ucode API for external frame handling
Add a ucode API to hostapd and wpa_supplicant for external DPP frame
handling. This allows an external controller to intercept DPP frames
and handle the DPP protocol externally.

The API provides:
- RX callbacks (dpp_rx_action, dpp_rx_gas) called when DPP frames are
  received, allowing external handling before internal processing
- TX methods (dpp_send_action, dpp_send_gas_resp/dpp_send_gas_req) for
  transmitting DPP frames
- A ubus channel-based API (dpp_channel) for bidirectional communication
  with exclusive hook registration per interface
- CCE control for hostapd (set_cce method)

The wpa_supplicant API mirrors hostapd but adapted for STA role:
- Uses tx_gas_req instead of tx_gas_resp
- GAS RX provides full frame instead of parsed query
- No CCE control (AP-only feature)

Both implementations include:
- Timeout handling with automatic channel disconnect after 3 failures
- Hook cleanup on interface removal
- Last-caller-wins semantics for hook registration

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2026-02-07 09:27:57 +00:00
..
config wifi-scripts: fix nested config accumulation in wdev_set_data 2026-02-07 09:23:22 +00:00
ipv6 odhcp6c: update to Git HEAD (2026-01-25) 2026-01-26 18:49:51 +01:00
services hostapd: add DPP ucode API for external frame handling 2026-02-07 09:27:57 +00:00
utils xdp-tools: update to 1.5.8 2026-02-06 17:38:51 +01:00