Home | History | Annotate | Download | only in wps

Lines Matching refs:encr_type

275 	u16 encr_type = wps->wps->ap_encr_type;
283 if (encr_type & WPS_ENCR_AES)
284 encr_type = WPS_ENCR_AES;
285 else if (encr_type & WPS_ENCR_TKIP)
286 encr_type = WPS_ENCR_TKIP;
289 wpa_printf(MSG_DEBUG, "WPS: * Encryption Type (0x%x)", encr_type);
292 wpabuf_put_be16(msg, encr_type);
736 if (!(wps->cred.encr_type &
738 if (wps->cred.encr_type & WPS_ENCR_WEP) {
746 "invalid encr_type 0x%x", wps->cred.encr_type);
836 if (!(cred.encr_type & (WPS_ENCR_NONE | WPS_ENCR_TKIP | WPS_ENCR_AES)))
838 if (cred.encr_type & WPS_ENCR_WEP) {
846 "invalid encr_type 0x%x", cred.encr_type);
852 if ((cred.encr_type & (WPS_ENCR_TKIP | WPS_ENCR_AES)) ==
865 if ((cred.encr_type & (WPS_ENCR_TKIP | WPS_ENCR_AES)) == WPS_ENCR_TKIP)
867 wpa_printf(MSG_DEBUG, "WPS: Upgrade encr_type TKIP -> "
869 cred.encr_type |= WPS_ENCR_AES;