diff options
author | Jouni Malinen <jouni.malinen@atheros.com> | 2011-02-07 18:28:36 +0200 |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2011-02-07 18:28:36 +0200 |
commit | d601247ca9b1dff6bb97e6d8608bf32f54e6d98a (patch) | |
tree | 22858c6f9c7b479b178bd6712b24e5140e3b88e5 /src/wps/wps_i.h | |
parent | 379ff7b9d41307ce48814a2be675e2f8ecc47f40 (diff) | |
download | external_wpa_supplicant_8_ti-d601247ca9b1dff6bb97e6d8608bf32f54e6d98a.zip external_wpa_supplicant_8_ti-d601247ca9b1dff6bb97e6d8608bf32f54e6d98a.tar.gz external_wpa_supplicant_8_ti-d601247ca9b1dff6bb97e6d8608bf32f54e6d98a.tar.bz2 |
P2P: Allow WPS_PBC command on GO to select on P2P Device Address
An optional parameter, p2p_dev_addr, can now be given to WPS_PBC
command on P2P GO to indicate that only the P2P device with the
specified P2P Device Address is allowed to connect using PBC. If
any other device tries to use PBC, a session overlap is indicated
and the negotiation is rejected with M2D. The command format for
specifying the address is "WPS_PBC p2p_dev_addr=<address>", e.g.,
WPS_PBC p2p_dev_addr=02:03:04:05:06:07
In addition, show the PBC session overlap indication as a WPS failure
event on an AP/GO interface. This particular new case shows up as
"WPS-FAIL msg=4 config_error=12".
Diffstat (limited to 'src/wps/wps_i.h')
-rw-r--r-- | src/wps/wps_i.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wps/wps_i.h b/src/wps/wps_i.h index 316e1f6..a9f8949 100644 --- a/src/wps/wps_i.h +++ b/src/wps/wps_i.h @@ -117,6 +117,8 @@ struct wps_data { struct wps_credential *use_cred; int use_psk_key; + u8 p2p_dev_addr[ETH_ALEN]; /* P2P Device Address of the client or + * 00:00:00:00:00:00 if not a P2p client */ }; |