Stephen Hemminger
2018-02-27 17:05:56 UTC
On Tue, 27 Feb 2018 11:08:20 +0100
I've problem when using OpenWrt/LEDE on a home router with Broadcom's
FullMAC WiFi chipset.
1) IFLA_BRPORT_MCAST_TO_UCAST
2) Clients isolation in hostapd
3) Hairpin mode enabled
https://patchwork.kernel.org/patch/9530669/
https://lwn.net/Articles/347344/
Short version: in that setup packets received from a bridged wireless
interface can be handled back to it for transmission.
Now, Broadcom's firmware for their FullMAC chipsets in AP mode
supports an obsoleted 802.11f AKA IAPP standard. It's a roaming
standard that was replaced by 802.11r.
ff ff ff ff ff ff ec 10 7b 5f ?? ?? 00 06 00 01 af 81 01 00
(just masked 2 bytes of my MAC)
https://patchwork.kernel.org/patch/10191451/
The problem is that bridge (in setup as above) handles such a packet
back to the device.
That makes Broadcom's FullMAC firmware believe that a given station
just connected to another AP in a network (which doesn't even exist).
As a result firmware immediately disassociates that station. It's
simply impossible to connect to the router. Every association is
followed by immediate disassociation.
Can you see any solution for this problem? Is that an option to stop
multicast-to-unicast from touching 802.11f packets? Some other ideas?
Obviously I can't modify Broadcom's firmware and drop that obsoleted
standard.
ebtables is your friend in dealing with weird and broken devices.FullMAC WiFi chipset.
1) IFLA_BRPORT_MCAST_TO_UCAST
2) Clients isolation in hostapd
3) Hairpin mode enabled
https://patchwork.kernel.org/patch/9530669/
https://lwn.net/Articles/347344/
Short version: in that setup packets received from a bridged wireless
interface can be handled back to it for transmission.
Now, Broadcom's firmware for their FullMAC chipsets in AP mode
supports an obsoleted 802.11f AKA IAPP standard. It's a roaming
standard that was replaced by 802.11r.
ff ff ff ff ff ff ec 10 7b 5f ?? ?? 00 06 00 01 af 81 01 00
(just masked 2 bytes of my MAC)
https://patchwork.kernel.org/patch/10191451/
The problem is that bridge (in setup as above) handles such a packet
back to the device.
That makes Broadcom's FullMAC firmware believe that a given station
just connected to another AP in a network (which doesn't even exist).
As a result firmware immediately disassociates that station. It's
simply impossible to connect to the router. Every association is
followed by immediate disassociation.
Can you see any solution for this problem? Is that an option to stop
multicast-to-unicast from touching 802.11f packets? Some other ideas?
Obviously I can't modify Broadcom's firmware and drop that obsoleted
standard.