[PATCH v4 0/4] Add support for HS20 data frame filtering

Ilan Peer ilan.peer at intel.com
Wed Apr 6 07:14:39 PDT 2016


On association to an HS2.0 network, configure the following filtering
based on the net-sysfs APIs (based on net-next tree).

1. Enable gratuitous ARP filtering
2. Enable unsolicited Neighbor Advertisement filtering
3. Enable GTK filtering if DGAF disabled bit is zero

In this version the filter configuration is done early in the
beginning of the connection flow which is not strictly compliant
with the HS 2.0 release 2 specification that requests to configure
the filters only after the IP address is set to avoid possible race
conditions. This can be changed later if needed.

Tested using the net-next tree.

Ilan Peer (2):
  nl80211: Implement configure_data_frame_filters_callback
  tests: Modify test_hs20_filter

Matti Gottlieb (2):
  driver: Add a packet filtering function declaration
  HS20: Add support for configuring frame filters

 src/drivers/driver.h             |  15 +++++
 src/drivers/driver_nl80211.c     |  86 ++++++++++++++++++++++++
 tests/hwsim/test_hs20_filter.py  | 142 +++++++++++++++++----------------------
 wpa_supplicant/driver_i.h        |   8 +++
 wpa_supplicant/events.c          |   6 ++
 wpa_supplicant/hs20_supplicant.c |  39 +++++++++++
 wpa_supplicant/hs20_supplicant.h |   1 +
 wpa_supplicant/sme.c             |   4 ++
 wpa_supplicant/wpa_supplicant.c  |  11 ++-
 9 files changed, 232 insertions(+), 80 deletions(-)

-- 
1.9.1




More information about the Hostap mailing list