diff options
author | Michael Braun <michael-dev@fami-braun.de> | 2017-04-02 12:52:49 (GMT) |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2017-05-03 15:30:31 (GMT) |
commit | 50bd8e0a909fee76eea46a94956cb1fe458b57c4 (patch) | |
tree | 81ca7fd5ee541a9fa6b4bb46653fc338403bb73e /src/ap/hostapd.h | |
parent | 0ed5e9467f0b7ef83158e996eb7e458b72959ef8 (diff) | |
download | hostap-50bd8e0a909fee76eea46a94956cb1fe458b57c4.zip hostap-50bd8e0a909fee76eea46a94956cb1fe458b57c4.tar.gz hostap-50bd8e0a909fee76eea46a94956cb1fe458b57c4.tar.bz2 |
FT: Replace inter-AP protocol with use of OUI Extended Ethertype
Replace the previously used extension of IEEE 802.11 managed Ethertype
89-0d (originally added for Remote Request/Response in IEEE 802.11r)
with Ethertype 88-b7 (OUI Extended EtherType) for FT inter-AP
communication. The new design uses a more properly assigned identifier
for the messages.
This assigns the OUI 00:13:74 vendor-specific subtype 0x0001 for the new
hostapd AP-to-AP communication purposes. Subtypes 1 (PULL), 2 (RESP),
and 3 (PUSH) are also assigned in this commit for the R0KH-R1KH
protocol.
This breaks backward compatibility, i.e., hostapd needs to be updated on
all APs at the same time to allow FT to remain functional.
Signed-off-by: Michael Braun <michael-dev@fami-braun.de>
Diffstat (limited to 'src/ap/hostapd.h')
-rw-r--r-- | src/ap/hostapd.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ap/hostapd.h b/src/ap/hostapd.h index 9d9eb6d..452ca1e 100644 --- a/src/ap/hostapd.h +++ b/src/ap/hostapd.h @@ -53,6 +53,9 @@ struct hapd_interfaces { #ifndef CONFIG_NO_VLAN struct dynamic_iface *vlan_priv; #endif /* CONFIG_NO_VLAN */ +#ifdef CONFIG_ETH_P_OUI + struct dl_list eth_p_oui; /* OUI Extended EtherType handlers */ +#endif /* CONFIG_ETH_P_OUI */ int eloop_initialized; }; @@ -188,6 +191,10 @@ struct hostapd_data { #ifdef CONFIG_IEEE80211R_AP struct dl_list l2_queue; + struct dl_list l2_oui_queue; + struct eth_p_oui_ctx *oui_pull; + struct eth_p_oui_ctx *oui_resp; + struct eth_p_oui_ctx *oui_push; #endif /* CONFIG_IEEE80211R_AP */ struct wps_context *wps; |