aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wpa_cli.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2013-09-01 07:08:30 (GMT)
committerJouni Malinen <j@w1.fi>2013-09-01 07:14:29 (GMT)
commit05766ed8de2df822948e4bdc279ae7c461702bf4 (patch)
tree1adbca926898e13851d2ab162f41b8e403e38ae3 /wpa_supplicant/wpa_cli.c
parent698e921b9efd697af00590f8dafb6803a8535a06 (diff)
downloadhostap-05766ed8de2df822948e4bdc279ae7c461702bf4.zip
hostap-05766ed8de2df822948e4bdc279ae7c461702bf4.tar.gz
hostap-05766ed8de2df822948e4bdc279ae7c461702bf4.tar.bz2
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>
Diffstat (limited to 'wpa_supplicant/wpa_cli.c')
-rw-r--r--wpa_supplicant/wpa_cli.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/wpa_cli.c b/wpa_supplicant/wpa_cli.c
index 8875d3b..9817eda 100644
--- a/wpa_supplicant/wpa_cli.c
+++ b/wpa_supplicant/wpa_cli.c
@@ -2076,6 +2076,7 @@ static char ** wpa_cli_complete_p2p_set(const char *str, int pos)
"client_apsd",
"disallow_freq",
"disc_int",
+ "per_sta_psk",
};
int i, num_fields = sizeof(fields) / sizeof(fields[0]);