fragattacks/src/drivers
Johannes Berg ff5e1d14af nl80211: Treat RSSI as part of each sched scan matchset
The original RSSI filter semantics for scheduled scan were
really confusing - a separate matchset was created, but it
wasn't actually treated as a separate matchset in the kernel
but rather used as the global RSSI value. The RSSI matchset
thus behaved like an RSSI filter outside of the matchsets,
being ANDed rather than ORed (as normal between matchsets.)

To make this less confusing, I changed the kernel API a bit
to actually treat the RSSI inside each matchset properly,
but keeping it compatible with the old approach by using a
matchset with only an RSSI value as the default for all the
other matchsets, and adding it as a separate matchset only
if it's the only one.

The proper way for wpa_supplicant to do this then would be
to add the RSSI to each SSID matchset, and only add another
matchset without SSID if there's none with.

However, to keep compatibility with older kernels, always
keep the non-SSID matchset and only add the RSSI to all the
other matchsets. This gets close to the desired behaviour,
the only difference would be that we shouldn't add the RSSI
matchset if there are others, but stays compatible with old
and new kernels, as new ones ignore the RSSI-only matchset
if there are others and those others have an RSSI.

Signed-hostap: Johannes Berg <johannes.berg@intel.com>
2014-01-30 14:03:53 +02:00
..
.gitignore Force rebuilding of src/drivers between hostapd and wpa_supplicant 2009-08-14 20:40:37 +03:00
android_drv.h Remove obsolete license notifications 2013-12-24 22:59:52 +02:00
driver_atheros.c Remove unnecessary EVENT_RX_ACTION 2013-12-29 17:18:17 +02:00
driver_bsd.c bsd: Fix NULL pointer dereference on error path 2014-01-07 15:58:01 +02:00
driver_common.c P2P: Apply unsafe frequency rules to available channels 2014-01-27 11:49:05 +02:00
driver_hostap.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
driver_hostap.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
driver_madwifi.c Remove forgotten notes about already removed driver wrappers 2014-01-02 10:23:30 +02:00
driver_ndis_.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
driver_ndis.c Get rid of duplicated cipher suite and AKM definitions 2013-12-31 09:16:27 +02:00
driver_ndis.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
driver_nl80211.c nl80211: Treat RSSI as part of each sched scan matchset 2014-01-30 14:03:53 +02:00
driver_none.c Remove the GPL notification from files contributed by Atheros 2012-02-11 19:39:36 +02:00
driver_openbsd.c Add driver for OpenBSD net80211 layer 2013-02-03 21:16:29 +02:00
driver_privsep.c Remove unused disassociate() driver_ops 2012-11-15 00:06:12 +02:00
driver_roboswitch.c Update license notification in roboswitch interface file 2012-07-02 12:43:16 +03:00
driver_test.c P2P: Remove WPA_DRIVER_FLAGS_P2P_MGMT option 2013-12-29 18:20:47 +02:00
driver_wext.c Get rid of duplicated cipher suite and AKM definitions 2013-12-31 09:16:27 +02:00
driver_wext.h Android: Remove old WEXT extensions 2013-12-24 22:52:18 +02:00
driver_wired.c wired: Wait for the link to become active before sending packets 2013-08-25 11:40:19 +03:00
driver.h P2P: Apply unsafe frequency rules to available channels 2014-01-27 11:49:05 +02:00
drivers.c Declare wpa_drivers in src/drivers/driver.h 2013-12-31 19:19:37 +02:00
drivers.mak Add driver for OpenBSD net80211 layer 2013-02-03 21:16:29 +02:00
drivers.mk Add driver for OpenBSD net80211 layer 2013-02-03 21:16:29 +02:00
linux_ioctl.c Verify that readlink() did not truncate result 2013-10-26 15:55:39 +03:00
linux_ioctl.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
linux_wext.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
Makefile Add CONFIG_CODE_COVERAGE=y option for gcov 2013-11-24 19:16:12 +02:00
ndis_events.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
netlink.c nl80211: Clean up netlink parsing and debug prints 2014-01-07 10:45:12 +02:00
netlink.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
nl80211_copy.h nl80211: Sync with mac80211-next.git 2013-12-23 10:44:54 +02:00
priv_netlink.h nl80211: Clean up netlink parsing and debug prints 2014-01-07 10:45:12 +02:00
rfkill.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
rfkill.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00