hostap/wpa_supplicant/dbus
Daniel Kurtz a7af023b84 dbus: Fix passive/active scans in some cases
Currently the DBus Interface.Scan API is counter-intuitive. It issues
ProbeRequests when doing passive scans when channels are specified, and
does not issue ProbeRequests for broadcast active scans.

This patch updates DBus API .Scan() logic per the test cases listed below:

 1) Interface.Scan({'Type':'passive'})
    Request:     Passive scan (all channels)
    Should be:   No ProbeRequests; Passive Scan results for all channels
    Previous:    1 ProbeRequest on all channels for both broadcast SSID and
	selected network (scan_ssid=1)
    This Patch:  --No change--: 1 ProbeRequest on all channels for both
	broadcast SSID and selected network (scan_ssid=1)

 2) Interface.Scan({'Type':'passive', 'Channel':(2412, 20)})
    Request:     Passive scan (1 channel)
    Should be:   No ProbeRequests; Passive Scan results for 1 channel
	(plus overlapping channels)
    Previous:    1 broadcast ProbeRequest on specified channel
    This Patch:  --Fixed--: No ProbeRequests; Passive Scan results for 1
	channel (plus overlapping channels)

 3) Interface.Scan({'Type':'active'})
    Request:     Active scan with no SSIDs (all channels)
    Should be:   1 broadcast ProbeRequest on all channels
    Previous:    No ProbeRequests;  passive scan results for all channels
    This Patch:  --Fixed--: 1 broadcast ProbeRequest on all channels

 4) Interface.Scan({'Type':'active', 'Channel':(2412, 20)})
    Request:     Active scan with no SSIDs (1 channel)
    Should be:   1 broadcast ProbeRequest on specified channel
    Previous:    No ProbeRequests; Passive scan results for specified
	channel (plus overlapping channels)
    This Patch:  --Fixed--: 1 broadcast ProbeRequest on specified channel
2010-10-09 16:22:39 +03:00
..
.gitignore dbus: Clean dbus build files on wpa_supplicant 'make clean' 2009-12-20 20:29:09 +02:00
dbus-wpa_supplicant.conf Move D-Bus related files into their own subdirectory 2009-12-20 20:11:14 +02:00
dbus_common.c dbus: Fix init-failure-detection 2010-01-01 21:30:58 +02:00
dbus_common.h dbus: Share common initialization code for both old and new interface 2009-12-31 00:15:56 +02:00
dbus_common_i.h dbus: Do not deinitialize new D-Bus API if it is not initialized 2009-12-31 21:50:12 +02:00
dbus_dict_helpers.c dbus: Simplify _wpa_dbus_dict_fill_value_from_variant() a bit 2010-01-02 10:59:51 +02:00
dbus_dict_helpers.h dbus: Share the same function for type to type-as-string conversion 2010-01-02 10:45:03 +02:00
dbus_new.c Skip D-Bus signals if the dbus_path is not yet set 2010-05-23 20:23:11 +03:00
dbus_new.h dbus: Change WPA/RSNIE byte array props to dicts 2010-01-16 16:37:37 +02:00
dbus_new_handlers.c dbus: Fix passive/active scans in some cases 2010-10-09 16:22:39 +03:00
dbus_new_handlers.h dbus: Change WPA/RSNIE byte array props to dicts 2010-01-16 16:37:37 +02:00
dbus_new_handlers_wps.c P2P: Set Device Password ID in WPS M1/M2 per new rules 2010-09-09 07:17:19 -07:00
dbus_new_helpers.c dbus: Fix crash on property change if D-Bus API is disabled 2010-01-06 12:14:35 +02:00
dbus_new_helpers.h dbus: Aggregate PropertiesChanged signals 2010-01-04 17:15:57 +02:00
dbus_new_introspect.c dbus: Remove duplication of object methods/signals/properties 2010-01-03 00:52:30 +02:00
dbus_old.c Skip D-Bus signals if the dbus_path is not yet set 2010-05-23 20:23:11 +03:00
dbus_old.h dbus: Clean up dbus_path/dbus_new_path use 2010-01-01 19:12:31 +02:00
dbus_old_handlers.c dbus: Deauthenticate instead of disassociate on disconnect command 2010-08-18 21:27:30 +03:00
dbus_old_handlers.h dbus: Use BSS table instead of raw scan results in older API 2010-01-02 15:13:25 +02:00
dbus_old_handlers_wps.c P2P: Set Device Password ID in WPS M1/M2 per new rules 2010-09-09 07:17:19 -07:00
fi.epitest.hostap.WPASupplicant.service dbus: Rename .service file to use the service name as the file name 2009-12-20 20:15:40 +02:00
fi.w1.wpa_supplicant1.service dbus: Add missing .service file for the new D-Bus API 2009-12-20 20:14:10 +02:00
Makefile dbus: Move introspection support into a separate file 2010-01-01 14:03:00 +02:00