hostap/src/common
Jouni Malinen 5bf9a6c859 P2P: Add event messages for possible PSK failures on P2P groups
It is possible for the GO of a persistent group to change the PSK or
remove a client when per-client PSKs are used and this can happen
without the SSID changing (i.e., the group is still valid, but just not
for a specific client). If the client side of such persistent group ends
up trying to use an invalidated persistent group information, the
connection will fail in 4-way handshake. A new WPS provisioning step is
needed to recover from this.

Detect this type of case based on two 4-way handshake failures when
acting as a P2P client in a persistent group. A new
"P2P-PERSISTENT-PSK-FAIL id=<persistent group id>" event is used to
indicate when this happens. This makes it easier for upper layers to
remove the persistent group information with "REMOVE_NETWORK <persistent
group id>" if desired (e.g., based on user confirmation).

In addition to indicating the error cases for persistent groups, all
this type of PSK failures end up in the client removing the group with
the new reason=PSK_FAILURE information in the P2P-GROUP-REMOVED event.

Signed-hostap: Jouni Malinen <j@w1.fi>
2013-09-01 21:35:10 +03:00
..
defs.h Introduce 60 GHz band 2012-12-18 11:50:35 +02:00
eapol_common.h Share a single definition of EAPOL-Key structure for WEP keys 2012-08-07 21:27:01 +03:00
gas.c Add generic GAS request mechanism 2012-08-27 18:13:10 +03:00
gas.h Add generic GAS request mechanism 2012-08-27 18:13:10 +03:00
ieee802_11_common.c P2P: Do not reply to 802.11b-only Probe Request frames as GO 2013-06-19 19:16:23 +03:00
ieee802_11_common.h P2P: Do not reply to 802.11b-only Probe Request frames as GO 2013-06-19 19:16:23 +03:00
ieee802_11_defs.h WNM: Use defines for BSS Trans Mgmt field values 2013-05-23 16:50:39 +03:00
Makefile Remove unnecessary SUBDIRS loops from src/*/Makefile 2010-04-17 17:10:31 +03:00
privsep_commands.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
sae.c SAE: Add forgotten commit element validation step for FFC groups 2013-03-10 11:45:55 +02:00
sae.h SAE: Move temporary data into a separate data structure 2013-01-12 17:51:54 +02:00
version.h The hostap.git master branch is now used for 2.1 development 2013-01-12 17:51:10 +02:00
wpa_common.c Remove CONFIG_NO_WPA2 build parameter 2013-06-07 20:13:25 +03:00
wpa_common.h Move cipher to enum wpa_cipher conversion into wpa_common.c 2013-01-13 18:02:20 +02:00
wpa_ctrl.c Abstract and Android sockets for global ctrl_iface 2013-05-18 11:42:09 +03:00
wpa_ctrl.h P2P: Add event messages for possible PSK failures on P2P groups 2013-09-01 21:35:10 +03:00