diff options
author | Max Stepanov <Max.Stepanov@intel.com> | 2015-06-10 08:43:32 (GMT) |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2015-06-14 20:16:55 (GMT) |
commit | 07c1e987d51c908e95cf924fb5589722ef06a7d2 (patch) | |
tree | 1404432b631fe4ac13eca41d8771d9a6e2952455 /wpa_supplicant/config.h | |
parent | 734ddf6125ccd911ad87814234d1fbed5410847b (diff) | |
download | hostap-07c1e987d51c908e95cf924fb5589722ef06a7d2.zip hostap-07c1e987d51c908e95cf924fb5589722ef06a7d2.tar.gz hostap-07c1e987d51c908e95cf924fb5589722ef06a7d2.tar.bz2 |
P2PS: Enable Probe Request frame processing by P2P Client
1. Add global p2p_cli_probe property to enable/disable Probe Request
frame RX reporting for connected P2P Clients. The property can be set to
0 - disable or 1 - enable. The default value is 0.
2. Enable Probe Request frame RX reporting for P2P Client on
WPA_COMPLETED state if p2p_cli_probe property is set to 1. Disable it
when an interface state is changing to any other state.
3. Don't cancel Probe Request frame RX reporting on wpa_stop_listen for
a connected P2P Client handling Probe Request frames.
Signed-off-by: Max Stepanov <Max.Stepanov@intel.com>
Reviewed-by: Ilan Peer <ilan.peer@intel.com>
Diffstat (limited to 'wpa_supplicant/config.h')
-rw-r--r-- | wpa_supplicant/config.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/wpa_supplicant/config.h b/wpa_supplicant/config.h index 545a4bd..d8ca054 100644 --- a/wpa_supplicant/config.h +++ b/wpa_supplicant/config.h @@ -968,6 +968,18 @@ struct wpa_config { int p2p_no_group_iface; /** + * p2p_cli_probe - Enable/disable P2P CLI probe request handling + * + * If this parameter is set to 1, a connected P2P Client will receive + * and handle Probe Request frames. Setting this parameter to 0 + * disables this option. Default value: 0. + * + * Note: Setting this property at run time takes effect on the following + * interface state transition to/from the WPA_COMPLETED state. + */ + int p2p_cli_probe; + + /** * okc - Whether to enable opportunistic key caching by default * * By default, OKC is disabled unless enabled by the per-network |