hostap/src
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
..
ap Fix memory leaks and wrong memory access 2014-01-30 14:01:31 +02:00
common P2P NFC: Add processing of P2P client while NFC handover case 2014-01-27 21:44:30 +02:00
crypto OpenSSL: Include sha1/sha256 header files to verify declarations 2013-12-31 19:58:16 +02:00
drivers nl80211: Treat RSSI as part of each sched scan matchset 2014-01-30 14:03:53 +02:00
eap_common Add CONFIG_CODE_COVERAGE=y option for gcov 2013-11-24 19:16:12 +02:00
eap_peer WPS NFC: Process new style handover select 2014-01-27 21:10:55 +02:00
eap_server Remove PEAPv2 support 2014-01-07 10:45:11 +02:00
eapol_auth Convert EAPOL authenticator dump into easier to parse format 2014-01-02 17:37:21 +02:00
eapol_supp Skip network disabling on expected EAP failure 2014-01-08 16:42:15 +02:00
l2_packet Add CONFIG_CODE_COVERAGE=y option for gcov 2013-11-24 19:16:12 +02:00
p2p Fix memory leaks and wrong memory access 2014-01-30 14:01:31 +02:00
radius Declare wpa_debug_* variables in src/utils/wpa_debug.h 2013-12-31 19:29:52 +02:00
rsn_supp P2P: Add support for IP address assignment in 4-way handshake 2014-01-27 21:44:26 +02:00
tls Use ARRAY_SIZE() macro 2013-10-26 17:49:05 +03:00
utils Fix req_scan-deplete-timeout and update eloop API for this 2014-01-07 10:45:10 +02:00
wps WPS: Add testing option to corrupt public key hash 2014-01-27 21:44:31 +02:00
lib.rules Add rules for building src/crypto as a library 2009-12-05 22:03:46 +02:00
Makefile P2P: Add initial version of P2P Module 2010-09-09 07:17:17 -07:00