]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: Add support for hardware ARP query filtering
authorJuuso Oikarinen <juuso.oikarinen@nokia.com>
Thu, 27 May 2010 12:32:13 +0000 (15:32 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 3 Jun 2010 18:10:45 +0000 (14:10 -0400)
commit3c1aa3bc0c1bcebffa2c4781b1ec0879835ffd8e
tree62f93194843ecf92d871d34963450c03d165af08
parenta72f44a1563c0cc312f92433ee71da6256107aee
mac80211: Add support for hardware ARP query filtering

Some hardware allow extended filtering of ARP frames not intended for
the host. To perform such filtering, the hardware needs to know the current
IP address(es) of the host, bound to its interface.

Add support for ARP filtering to mac80211 by adding a new op to the driver
interface, allowing to configure the current IP addresses. This op is called
upon association with the currently configured address(es), and when
associated whenever the IP address(es) change.

This patch adds configuration of IPv4 addresses only, as IPv6 addresses don't
need ARP filtering.

Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Reviewed-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/mac80211.h
net/mac80211/driver-ops.h
net/mac80211/driver-trace.h
net/mac80211/ieee80211_i.h
net/mac80211/main.c
net/mac80211/mlme.c