]> git.ipfire.org Git - thirdparty/hostap.git/commit
AP: Add support for Proxy ARP, DHCP snooping mechanism
authorKyeyoon Park <kyeyoonp@qca.qualcomm.com>
Fri, 26 Sep 2014 05:32:55 +0000 (22:32 -0700)
committerJouni Malinen <j@w1.fi>
Mon, 27 Oct 2014 23:08:29 +0000 (01:08 +0200)
commit7d597d461777cd9af5d49dd678e29d0d400c27e1
tree777fe5bcb84780fb125d9e50629cedf5ec1ccf0f
parent6897556455bd18f3e87b56636a06f8dc8a9336f8
AP: Add support for Proxy ARP, DHCP snooping mechanism

Proxy ARP allows the AP devices to keep track of the hardware address to
IP address mapping of the STA devices within the BSS. When a request for
such information is made (i.e., ARP request, Neighbor Solicitation), the
AP will respond on behalf of the STA device within the BSS. Such
requests could originate from a device within the BSS or also from the
bridge. In the process of the AP replying to the request (i.e., ARP
reply, Neighbor Advertisement), the AP will drop the original request
frame. The relevant STA will not even know that such information was
ever requested.

This feature is a requirement for Hotspot 2.0, and is defined in IEEE
Std 802.11-2012, 10.23.13. While the Proxy ARP support code mainly
resides in the kernel bridge code, in order to optimize the performance
and simplify kernel implementation, the DHCP snooping code was added to
the hostapd.

Signed-off-by: Kyeyoon Park <kyeyoonp@qca.qualcomm.com>
12 files changed:
hostapd/Makefile
hostapd/config_file.c
hostapd/hostapd.conf
src/ap/ap_config.h
src/ap/dhcp_snoop.c [new file with mode: 0644]
src/ap/dhcp_snoop.h [new file with mode: 0644]
src/ap/hostapd.c
src/ap/hostapd.h
src/ap/ieee802_11.c
src/ap/ieee802_11_shared.c
src/ap/sta_info.c
src/ap/sta_info.h