Lines Matching defs:wpa
75 else if (flags.indexOf("[WPA-EAP") >= 0)
79 else if (flags.indexOf("[WPA-PSK") >= 0)
197 tr("WPA Pre-Shared Key Error"),
198 tr("WPA-PSK requires a passphrase of 8 to 63 "
255 key_mgmt = "WPA-PSK";
256 proto = "WPA";
259 key_mgmt = "WPA-EAP";
260 proto = "WPA";
263 key_mgmt = "WPA-PSK";
267 key_mgmt = "WPA-EAP";
525 int wpa = 0;
529 wpa = 2;
530 else if (strstr(reply, "WPA"))
531 wpa = 1;
539 if (strstr(reply, "WPA-EAP"))
540 auth = wpa & 2 ? AUTH_WPA2_EAP : AUTH_WPA_EAP;
541 else if (strstr(reply, "WPA-PSK"))
542 auth = wpa & 2 ? AUTH_WPA2_PSK : AUTH_WPA_PSK;