openwrt/package/network/services/hostapd/files
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
..
dhcp-get-server.sh hostapd: add support for specifying the FILS DHCP server 2021-12-10 11:33:49 +01:00
hostapd-basic.config hostapd: enable compilation of OCV and add build feature discovery 2022-07-03 20:25:38 +02:00
hostapd-full.config hostapd: enable EAP-pwd support only for the SSL variants 2024-12-04 17:20:44 +01:00
hostapd-mini.config hostapd: enable proxy-arp support for hostapd-full 2021-08-28 01:31:15 +02:00
hostapd.uc hostapd: add DPP ucode API for external frame handling 2026-02-07 09:27:57 +00:00
multicall.c packages: sort network related packages into package/network/ 2012-10-10 12:32:29 +00:00
radius.clients hostapd: add experimental radius server 2023-08-01 10:05:13 +02:00
radius.config hostapd/RADIUS_server: enhance logging 2025-03-12 13:12:12 +01:00
radius.init hostapd/RADIUS_server: enhance logging 2025-03-12 13:12:12 +01:00
radius.users hostapd: add experimental radius server 2023-08-01 10:05:13 +02:00
wpa_supplicant-basic.config hostapd: remove unused legacy wireless extension support 2023-05-26 13:33:45 +02:00
wpa_supplicant-full.config hostapd: remove unused legacy wireless extension support 2023-05-26 13:33:45 +02:00
wpa_supplicant-mini.config hostapd: remove unused legacy wireless extension support 2023-05-26 13:33:45 +02:00
wpa_supplicant-p2p.config hostapd: remove unused legacy wireless extension support 2023-05-26 13:33:45 +02:00
wpa_supplicant.uc hostapd: add DPP ucode API for external frame handling 2026-02-07 09:27:57 +00:00
wpad.init hostapd: enable coredumps 2022-12-16 14:32:47 +01:00
wpad.json hostapd: add ubus support for wired driver 2024-12-02 13:55:36 +01:00
wpad_acl.json hostapd: add support for authenticating with multiple PSKs via ubus helper 2024-10-22 14:40:42 +02:00