HomeSort by relevance Sort by last modified time
    Searched refs:wep (Results 1 - 14 of 14) sorted by null

  /external/wpa_supplicant_8/src/ap/
hostapd.c 180 idx = ssid->wep.idx;
181 if (ssid->wep.default_len &&
184 1, NULL, 0, ssid->wep.key[idx],
185 ssid->wep.len[idx])) {
186 wpa_printf(MSG_WARNING, "Could not set WEP encryption.");
208 "dynamic VLAN WEP encryption.");
306 if (hapd->conf->ssid.wep.default_len) {
313 * set authentication algorithms for static WEP.
318 if (hapd->conf->ssid.wep.key[i] &&
320 i == hapd->conf->ssid.wep.idx, NULL, 0
    [all...]
vlan_init.c 737 /* Static WEP keys are set here; IEEE 802.1X and WPA uses their own
740 if (mssid->wep.key[i] &&
742 i == mssid->wep.idx, NULL, 0,
743 mssid->wep.key[i], mssid->wep.len[i]))
745 wpa_printf(MSG_ERROR, "VLAN: Could not set WEP "
wps_hostapd.c 409 /* WEP key as a hex string */
413 /* Raw WEP key; convert to hex */
541 "WEP Prohibited" /* WPS_EI_SECURITY_WEP_PROHIBITED */
823 } else if (conf->ssid.wep.keys_set && conf->ssid.wep.key[0]) {
824 wps->network_key = os_malloc(conf->ssid.wep.len[0]);
829 os_memcpy(wps->network_key, conf->ssid.wep.key[0],
830 conf->ssid.wep.len[0]);
831 wps->network_key_len = conf->ssid.wep.len[0];
    [all...]
ap_config.h 68 struct hostapd_wep_keys wep; member in struct:hostapd_ssid
ieee802_11.c 130 privacy = hapd->conf->ssid.wep.keys_set;
144 def_klen = sta->ssid_probe->wep.default_len;
147 def_klen = sta->ssid->wep.default_len;
390 "auth_transaction=%d status_code=%d wep=%d%s",
    [all...]
ap_config.c 380 hostapd_config_free_wep(&conf->ssid.wep);
ieee802_1x.c 254 printf("Could not generate random WEP key (dynamic VLAN).\n");
262 wpa_printf(MSG_DEBUG, "%s: Default WEP idx %d for dynamic VLAN\n",
264 wpa_hexdump_key(MSG_DEBUG, "Default WEP key (dynamic VLAN)",
271 printf("Could not set dynamic VLAN WEP encryption key.\n");
286 return &ssid->wep;
373 "individual WEP key.");
378 wpa_hexdump_key(MSG_DEBUG, "Individual WEP key",
389 wpa_printf(MSG_ERROR, "Could not set individual WEP "
    [all...]
  /external/wpa_supplicant_8/hostapd/
config_file.c 614 static int hostapd_config_read_wep(struct hostapd_wep_keys *wep, int keyidx,
619 if (keyidx < 0 || keyidx > 3 || wep->key[keyidx] != NULL)
626 wep->key[keyidx] = os_malloc(len);
627 if (wep->key[keyidx] == NULL)
629 os_memcpy(wep->key[keyidx], val + 1, len);
630 wep->len[keyidx] = len;
635 wep->key[keyidx] = os_malloc(len);
636 if (wep->key[keyidx] == NULL)
638 wep->len[keyidx] = len;
639 if (hexstr2bin(val, wep->key[keyidx], len) < 0
    [all...]
  /external/wpa_supplicant_6/wpa_supplicant/src/drivers/
driver_ralink.c 585 /* determine whether the dynamic-WEP is used or
1215 NDIS_802_11_WEP *wep; local
1222 wep = os_zalloc(len);
1223 if (wep == NULL)
1226 wep->Length = len;
1227 wep->KeyIndex = key_idx;
1230 wep->KeyIndex |= 0x80000000;
1232 wep->KeyLength = key_len;
1233 os_memcpy(wep->KeyMaterial, key, key_len);
1236 (const u8 *) wep, len)
    [all...]
driver_ndis.c 886 NDIS_802_11_WEP *wep; local
891 wep = os_zalloc(len);
892 if (wep == NULL)
894 wep->Length = len;
895 wep->KeyIndex = key_idx;
897 wep->KeyIndex |= 1 << 31;
900 wep->KeyIndex |= 1 << 30;
902 wep->KeyLength = key_len;
903 os_memcpy(wep->KeyMaterial, key, key_len);
906 (u8 *) wep, len)
    [all...]
  /external/wpa_supplicant_8/src/drivers/
driver_ralink.c 1133 NDIS_802_11_WEP *wep; local
1140 wep = os_zalloc(len);
1141 if (wep == NULL)
1144 wep->Length = len;
1145 wep->KeyIndex = key_idx;
1148 wep->KeyIndex |= 0x80000000;
1150 wep->KeyLength = key_len;
1151 os_memcpy(wep->KeyMaterial, key, key_len);
1154 (const u8 *) wep, len);
1155 res = ralink_set_oid(drv, OID_802_11_ADD_WEP, (char *) wep, len)
    [all...]
driver_ndis.c 963 NDIS_802_11_WEP *wep; local
968 wep = os_zalloc(len);
969 if (wep == NULL)
971 wep->Length = len;
972 wep->KeyIndex = key_idx;
974 wep->KeyIndex |= 1 << 31;
977 wep->KeyIndex |= 1 << 30;
979 wep->KeyLength = key_len;
980 os_memcpy(wep->KeyMaterial, key, key_len);
983 (u8 *) wep, len)
    [all...]
  /external/wpa_supplicant/
driver_ndis.c 874 NDIS_802_11_WEP *wep; local
879 wep = os_zalloc(len);
880 if (wep == NULL)
882 wep->Length = len;
883 wep->KeyIndex = key_idx;
885 wep->KeyIndex |= 1 << 31;
888 wep->KeyIndex |= 1 << 30;
890 wep->KeyLength = key_len;
891 os_memcpy(wep->KeyMaterial, key, key_len);
894 (char *) wep, len)
    [all...]
  /external/wpa_supplicant_8/wpa_supplicant/
ap.c 183 bss->ssid.wep.default_len = bss->default_wep_key_len;
184 } else if (bss->ssid.wep.keys_set)

Completed in 531 milliseconds