Lines Matching defs:wep
937 NDIS_802_11_WEP *wep;
942 wep = os_zalloc(len);
943 if (wep == NULL)
945 wep->Length = len;
946 wep->KeyIndex = key_idx;
948 wep->KeyIndex |= 1 << 31;
951 wep->KeyIndex |= 1 << 30;
953 wep->KeyLength = key_len;
954 os_memcpy(wep->KeyMaterial, key, key_len);
957 (u8 *) wep, len);
958 res = ndis_set_oid(drv, OID_802_11_ADD_WEP, (char *) wep, len);
960 os_free(wep);