]> git.baikalelectronics.ru Git - kernel.git/commit
bridge: Add support for IEEE 802.11 Proxy ARP
authorKyeyoon Park <kyeyoonp@codeaurora.org>
Thu, 23 Oct 2014 21:49:17 +0000 (14:49 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Oct 2014 23:02:04 +0000 (19:02 -0400)
commit4194afc8a8a572efadc83302758b99213f29dccb
tree5559ec9c425fc5e8092961a2b82b2cafd8239c75
parent3c88ed885f1a79d4b54a0e4d97c31892f78a1e93
bridge: Add support for IEEE 802.11 Proxy ARP

This feature is defined in IEEE Std 802.11-2012, 10.23.13. It allows
the AP devices to keep track of the hardware-address-to-IP-address
mapping of the mobile devices within the WLAN network.

The AP will learn this mapping via observing DHCP, ARP, and NS/NA
frames. When a request for such information is made (i.e. ARP request,
Neighbor Solicitation), the AP will respond on behalf of the
associated mobile device. In the process of doing so, the AP will drop
the multicast request frame that was intended to go out to the wireless
medium.

It was recommended at the LKS workshop to do this implementation in
the bridge layer. vxlan.c is already doing something very similar.
The DHCP snooping code will be added to the userspace application
(hostapd) per the recommendation.

This RFC commit is only for IPv4. A similar approach in the bridge
layer will be taken for IPv6 as well.

Signed-off-by: Kyeyoon Park <kyeyoonp@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/if_link.h
net/bridge/br_forward.c
net/bridge/br_input.c
net/bridge/br_netlink.c
net/bridge/br_private.h
net/bridge/br_sysfs_if.c