Home | History | Annotate | Download | only in wps

Lines Matching refs:encr_type

1536 		   cred->encr_type);
1539 wpabuf_put_be16(msg, cred->encr_type);
1628 wps->wps->encr_types_wpa, wps->encr_type);
1630 wps->encr_type &= wps->wps->encr_types_rsn;
1632 wps->encr_type &= wps->wps->encr_types_wpa;
1635 if (wps->encr_type & WPS_ENCR_AES)
1636 wps->encr_type = WPS_ENCR_AES;
1637 else if (wps->encr_type & WPS_ENCR_TKIP)
1638 wps->encr_type = WPS_ENCR_TKIP;
1645 if (wps->encr_type & WPS_ENCR_NONE)
1646 wps->encr_type = WPS_ENCR_NONE;
1648 else if (wps->encr_type & WPS_ENCR_WEP)
1649 wps->encr_type = WPS_ENCR_WEP;
1657 wps->cred.encr_type = wps->encr_type;
1734 dummy.encr_type = WPS_ENCR_AES;
2415 wps->encr_type = wps->wps->encr_types & encr_types;
2416 if (wps->encr_type == 0) {
2431 wps->encr_type = wps->wps->encr_types;
2821 if (wps->cred.encr_type & WPS_ENCR_AES)
2822 wps->cred.encr_type = WPS_ENCR_AES;
2823 else if (wps->cred.encr_type & WPS_ENCR_TKIP)
2824 wps->cred.encr_type = WPS_ENCR_TKIP;
2838 dst->encr_type = src->encr_type;
3263 cred.encr_type = WPS_ENCR_AES;
3266 cred.encr_type = WPS_ENCR_TKIP | WPS_ENCR_AES;
3560 wpa_printf(MSG_DEBUG, "WPS: encr_type=0x%x", cred->encr_type);
3561 if (!(cred->encr_type & (WPS_ENCR_NONE | WPS_ENCR_TKIP |
3563 if (cred->encr_type & WPS_ENCR_WEP) {
3570 "invalid encr_type 0x%x", cred->encr_type);
3574 if ((cred->encr_type & (WPS_ENCR_TKIP | WPS_ENCR_AES)) ==
3576 wpa_printf(MSG_DEBUG, "WPS: Upgrade encr_type TKIP -> "
3578 cred->encr_type |= WPS_ENCR_AES;