]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/wpa_supplicant_i.h
DBus: Add ability to report probe requests
authorJohannes Berg <johannes.berg@intel.com>
Sun, 1 Apr 2012 18:13:38 +0000 (21:13 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 1 Apr 2012 18:14:48 +0000 (21:14 +0300)
commit2d43d37ff2c3115da812bec8ea4c72048e1194d8
tree42a666b285ec68a6ad9525a3238886eb541ea51b
parentbaf513d6952c67b94925c5e82291be19f858ad1e
DBus: Add ability to report probe requests

Some applications require knowing about probe requests to identify
devices. This can be the case in AP mode to see the devices before they
connect, or even in P2P mode when operating as a P2P device to identify
non-P2P peers (P2P peers are identified via PeerFound signals).

As there are typically a lot of probe requests, require that an
interested application subscribes to this signal so the bus isn't always
flooded with these notifications. The notifications in DBus are then
unicast only to that application.

A small test script is also included.

Signed-hostap: Johannes Berg <johannes.berg@intel.com>
13 files changed:
src/p2p/p2p.c
src/p2p/p2p.h
wpa_supplicant/dbus/dbus_common_i.h
wpa_supplicant/dbus/dbus_new.c
wpa_supplicant/dbus/dbus_new.h
wpa_supplicant/dbus/dbus_new_handlers.c
wpa_supplicant/dbus/dbus_new_handlers.h
wpa_supplicant/events.c
wpa_supplicant/examples/dbus-listen-preq.py [new file with mode: 0755]
wpa_supplicant/notify.c
wpa_supplicant/notify.h
wpa_supplicant/p2p_supplicant.c
wpa_supplicant/wpa_supplicant_i.h