Lines Matching defs:encr_type
279 u16 encr_type = wps->wps->ap_encr_type;
287 if (encr_type & WPS_ENCR_AES)
288 encr_type = WPS_ENCR_AES;
289 else if (encr_type & WPS_ENCR_TKIP)
290 encr_type = WPS_ENCR_TKIP;
293 wpa_printf(MSG_DEBUG, "WPS: * Encryption Type (0x%x)", encr_type);
296 wpabuf_put_be16(msg, encr_type);
740 if (!(wps->cred.encr_type &
742 if (wps->cred.encr_type & WPS_ENCR_WEP) {
750 "invalid encr_type 0x%x", wps->cred.encr_type);
840 if (!(cred.encr_type & (WPS_ENCR_NONE | WPS_ENCR_TKIP | WPS_ENCR_AES)))
842 if (cred.encr_type & WPS_ENCR_WEP) {
850 "invalid encr_type 0x%x", cred.encr_type);
856 if ((cred.encr_type & (WPS_ENCR_TKIP | WPS_ENCR_AES)) ==
869 if ((cred.encr_type & (WPS_ENCR_TKIP | WPS_ENCR_AES)) == WPS_ENCR_TKIP)
871 wpa_printf(MSG_DEBUG, "WPS: Upgrade encr_type TKIP -> "
873 cred.encr_type |= WPS_ENCR_AES;