Lines Matching refs:capa

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