Lines Matching refs:wep
949 NDIS_802_11_WEP *wep; in wpa_driver_ndis_add_wep() local
954 wep = os_zalloc(len); in wpa_driver_ndis_add_wep()
955 if (wep == NULL) in wpa_driver_ndis_add_wep()
957 wep->Length = len; in wpa_driver_ndis_add_wep()
958 wep->KeyIndex = key_idx; in wpa_driver_ndis_add_wep()
960 wep->KeyIndex |= 1 << 31; in wpa_driver_ndis_add_wep()
963 wep->KeyIndex |= 1 << 30; in wpa_driver_ndis_add_wep()
965 wep->KeyLength = key_len; in wpa_driver_ndis_add_wep()
966 os_memcpy(wep->KeyMaterial, key, key_len); in wpa_driver_ndis_add_wep()
969 (u8 *) wep, len); in wpa_driver_ndis_add_wep()
970 res = ndis_set_oid(drv, OID_802_11_ADD_WEP, (char *) wep, len); in wpa_driver_ndis_add_wep()
972 os_free(wep); in wpa_driver_ndis_add_wep()