]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/wpa_supplicant_i.h
P2P: Allow per-device PSK to be assigned
authorJouni Malinen <j@w1.fi>
Sun, 1 Sep 2013 07:08:30 +0000 (10:08 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 1 Sep 2013 07:14:29 +0000 (10:14 +0300)
commit05766ed8de2df822948e4bdc279ae7c461702bf4
tree1adbca926898e13851d2ab162f41b8e403e38ae3
parent698e921b9efd697af00590f8dafb6803a8535a06
P2P: Allow per-device PSK to be assigned

"wpa_cli p2p_set per_sta_psk <0/1>" can now be used to disable/enable
use of per-device PSKs in P2P groups. This is disabled by default.
When enabled, a default passphrase is still generated by the GO for
legacy stations, but all P2P and non-P2P devices using WPS will get
a unique PSK.

This gives more protection for the P2P group by preventing clients from
being able to derive the unicast keys used by other clients. This is
also a step towards allowing specific clients to be removed from a group
reliably without having to tear down the full group to do so.

Signed-hostap: Jouni Malinen <j@w1.fi>
src/ap/ap_config.h
src/ap/wps_hostapd.c
src/wps/wps.h
src/wps/wps_registrar.c
wpa_supplicant/ap.c
wpa_supplicant/ctrl_iface.c
wpa_supplicant/wpa_cli.c
wpa_supplicant/wpa_supplicant_i.h