Lines Matching refs:capa
1690 drv->capa.key_mgmt |= WPA_DRIVER_CAPA_KEY_MGMT_WPA;
1697 drv->capa.key_mgmt |= WPA_DRIVER_CAPA_KEY_MGMT_WPA_PSK;
1703 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_CCMP;
1709 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_TKIP;
1715 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_WEP40 |
1721 drv->capa.auth |= WPA_DRIVER_AUTH_SHARED;
1726 drv->capa.auth |= WPA_DRIVER_AUTH_OPEN;
1734 if (drv->capa.key_mgmt & WPA_DRIVER_CAPA_KEY_MGMT_WPA &&
1735 drv->capa.enc & (WPA_DRIVER_CAPA_ENC_TKIP |
1745 drv->capa.key_mgmt, drv->capa.enc, drv->capa.auth);
1756 drv->capa.flags = WPA_DRIVER_FLAGS_DRIVER_IE;
1790 drv->capa.auth |= WPA_DRIVER_AUTH_OPEN;
1793 drv->capa.auth |= WPA_DRIVER_AUTH_SHARED;
1796 drv->capa.key_mgmt |= WPA_DRIVER_CAPA_KEY_MGMT_WPA;
1799 drv->capa.key_mgmt |= WPA_DRIVER_CAPA_KEY_MGMT_WPA_PSK;
1802 drv->capa.key_mgmt |= WPA_DRIVER_CAPA_KEY_MGMT_WPA2;
1805 drv->capa.key_mgmt |=
1809 drv->capa.key_mgmt |=
1817 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_WEP40;
1818 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_WEP104;
1821 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_TKIP;
1824 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_CCMP;
1833 drv->capa.key_mgmt, drv->capa.enc, drv->capa.auth);
1837 static int wpa_driver_ndis_get_capa(void *priv, struct wpa_driver_capa *capa)
1842 os_memcpy(capa, &drv->capa, sizeof(*capa));
2899 } else if (!drv->has_capability || drv->capa.enc == 0) {
2908 drv->capa.flags |= WPA_DRIVER_FLAGS_WIRED;