mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-26 17:28:29 -05:00
ff5e1d14af
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> |
||
---|---|---|
.. | ||
.gitignore | ||
android_drv.h | ||
driver_atheros.c | ||
driver_bsd.c | ||
driver_common.c | ||
driver_hostap.c | ||
driver_hostap.h | ||
driver_madwifi.c | ||
driver_ndis_.c | ||
driver_ndis.c | ||
driver_ndis.h | ||
driver_nl80211.c | ||
driver_none.c | ||
driver_openbsd.c | ||
driver_privsep.c | ||
driver_roboswitch.c | ||
driver_test.c | ||
driver_wext.c | ||
driver_wext.h | ||
driver_wired.c | ||
driver.h | ||
drivers.c | ||
drivers.mak | ||
drivers.mk | ||
linux_ioctl.c | ||
linux_ioctl.h | ||
linux_wext.h | ||
Makefile | ||
ndis_events.c | ||
netlink.c | ||
netlink.h | ||
nl80211_copy.h | ||
priv_netlink.h | ||
rfkill.c | ||
rfkill.h |