/linux/net/wireless/ |
A D | lib80211_crypt_wep.c | 77 klen = 3 + wep->key_len; in lib80211_wep_build_iv() 79 wep->iv++; in lib80211_wep_build_iv() 87 wep->iv += 0x0100; in lib80211_wep_build_iv() 93 *pos++ = wep->iv & 0xff; in lib80211_wep_build_iv() 124 memcpy(key + 3, wep->key, wep->key_len); in lib80211_wep_encrypt() 172 memcpy(key + 3, wep->key, wep->key_len); in lib80211_wep_decrypt() 206 wep->key_len = len; in lib80211_wep_set_key() 215 if (len < wep->key_len) in lib80211_wep_get_key() 218 memcpy(key, wep->key, wep->key_len); in lib80211_wep_get_key() 220 return wep->key_len; in lib80211_wep_get_key() [all …]
|
/linux/drivers/staging/rtl8192u/ieee80211/ |
A D | ieee80211_crypt_wep.c | 85 klen = 3 + wep->key_len; in prism2_wep_encrypt() 87 wep->iv++; in prism2_wep_encrypt() 97 wep->iv += 0x0100; in prism2_wep_encrypt() 107 memcpy(key + 3, wep->key, wep->key_len); in prism2_wep_encrypt() 154 klen = 3 + wep->key_len; in prism2_wep_decrypt() 157 memcpy(key + 3, wep->key, wep->key_len); in prism2_wep_decrypt() 193 wep->key_len = len; in prism2_wep_set_key() 203 if (len < wep->key_len) in prism2_wep_get_key() 206 memcpy(key, wep->key, wep->key_len); in prism2_wep_get_key() 208 return wep->key_len; in prism2_wep_get_key() [all …]
|
/linux/drivers/staging/rtl8192e/ |
A D | rtllib_crypt_wep.c | 83 klen = 3 + wep->key_len; in prism2_wep_encrypt() 85 wep->iv++; in prism2_wep_encrypt() 95 wep->iv += 0x0100; in prism2_wep_encrypt() 105 memcpy(key + 3, wep->key, wep->key_len); in prism2_wep_encrypt() 153 klen = 3 + wep->key_len; in prism2_wep_decrypt() 156 memcpy(key + 3, wep->key, wep->key_len); in prism2_wep_decrypt() 192 wep->key_len = len; in prism2_wep_set_key() 202 if (len < wep->key_len) in prism2_wep_get_key() 205 memcpy(key, wep->key, wep->key_len); in prism2_wep_get_key() 207 return wep->key_len; in prism2_wep_get_key() [all …]
|
/linux/drivers/net/wireless/ti/wl12xx/ |
A D | debugfs.c | 54 WL12XX_DEBUGFS_FWSTATS_FILE(wep, addr_key_count, "%u"); 57 WL12XX_DEBUGFS_FWSTATS_FILE(wep, key_not_found, "%u"); 58 WL12XX_DEBUGFS_FWSTATS_FILE(wep, decrypt_fail, "%u"); 59 WL12XX_DEBUGFS_FWSTATS_FILE(wep, packets, "%u"); 60 WL12XX_DEBUGFS_FWSTATS_FILE(wep, interrupt, "%u"); 154 DEBUGFS_FWSTATS_ADD(wep, addr_key_count); in wl12xx_debugfs_add_files() 155 DEBUGFS_FWSTATS_ADD(wep, default_key_count); in wl12xx_debugfs_add_files() 157 DEBUGFS_FWSTATS_ADD(wep, key_not_found); in wl12xx_debugfs_add_files() 158 DEBUGFS_FWSTATS_ADD(wep, decrypt_fail); in wl12xx_debugfs_add_files() 159 DEBUGFS_FWSTATS_ADD(wep, packets); in wl12xx_debugfs_add_files() [all …]
|
A D | acx.h | 248 struct wl12xx_acx_wep_statistics wep; member
|
/linux/drivers/net/wireless/ti/wl1251/ |
A D | debugfs.c | 141 DEBUGFS_FWSTATS_FILE(wep, packets, 20, "%u"); 276 DEBUGFS_FWSTATS_DEL(wep, addr_key_count); in wl1251_debugfs_delete_files() 279 DEBUGFS_FWSTATS_DEL(wep, key_not_found); in wl1251_debugfs_delete_files() 280 DEBUGFS_FWSTATS_DEL(wep, decrypt_fail); in wl1251_debugfs_delete_files() 281 DEBUGFS_FWSTATS_DEL(wep, packets); in wl1251_debugfs_delete_files() 282 DEBUGFS_FWSTATS_DEL(wep, interrupt); in wl1251_debugfs_delete_files() 375 DEBUGFS_FWSTATS_ADD(wep, addr_key_count); in wl1251_debugfs_add_files() 378 DEBUGFS_FWSTATS_ADD(wep, key_not_found); in wl1251_debugfs_add_files() 379 DEBUGFS_FWSTATS_ADD(wep, decrypt_fail); in wl1251_debugfs_add_files() 380 DEBUGFS_FWSTATS_ADD(wep, packets); in wl1251_debugfs_add_files() [all …]
|
A D | acx.h | 1067 struct acx_wep_statistics wep; member
|
/linux/drivers/staging/rtl8712/ |
A D | rtl871x_ioctl_set.c | 331 struct NDIS_802_11_WEP *wep) in r8712_set_802_11_add_wep() argument 336 keyid = wep->KeyIndex & 0x3fffffff; in r8712_set_802_11_add_wep() 339 switch (wep->KeyLength) { in r8712_set_802_11_add_wep() 350 memcpy(psecuritypriv->DefKey[keyid].skey, &wep->KeyMaterial, in r8712_set_802_11_add_wep() 351 wep->KeyLength); in r8712_set_802_11_add_wep() 352 psecuritypriv->DefKeylen[keyid] = wep->KeyLength; in r8712_set_802_11_add_wep()
|
A D | rtl871x_ioctl_set.h | 32 struct NDIS_802_11_WEP *wep);
|
A D | rtl871x_ioctl_linux.c | 1495 struct NDIS_802_11_WEP wep; in r8711_wx_set_enc() local 1501 memset(&wep, 0, sizeof(struct NDIS_802_11_WEP)); in r8711_wx_set_enc() 1551 wep.KeyIndex = key; in r8711_wx_set_enc() 1553 wep.KeyLength = erq->length <= 5 ? 5 : 13; in r8711_wx_set_enc() 1554 wep.Length = wep.KeyLength + in r8711_wx_set_enc() 1557 wep.KeyLength = 0; in r8711_wx_set_enc() 1579 wep.KeyIndex |= 0x80000000; /* transmit key */ in r8711_wx_set_enc() 1580 memcpy(wep.KeyMaterial, keybuf, wep.KeyLength); in r8711_wx_set_enc() 1581 if (r8712_set_802_11_add_wep(padapter, &wep)) in r8711_wx_set_enc()
|
/linux/drivers/staging/rtl8723bs/core/ |
A D | rtw_ioctl_set.c | 423 u8 rtw_set_802_11_add_wep(struct adapter *padapter, struct ndis_802_11_wep *wep) in rtw_set_802_11_add_wep() argument 430 keyid = wep->key_index & 0x3fffffff; in rtw_set_802_11_add_wep() 437 switch (wep->key_length) { in rtw_set_802_11_add_wep() 449 memcpy(&(psecuritypriv->dot11DefKey[keyid].skey[0]), &(wep->key_material), wep->key_length); in rtw_set_802_11_add_wep() 451 psecuritypriv->dot11DefKeylen[keyid] = wep->key_length; in rtw_set_802_11_add_wep()
|
/linux/drivers/staging/r8188eu/core/ |
A D | rtw_ioctl_set.c | 404 u8 rtw_set_802_11_add_wep(struct adapter *padapter, struct ndis_802_11_wep *wep) in rtw_set_802_11_add_wep() argument 410 keyid = wep->KeyIndex & 0x3fffffff; in rtw_set_802_11_add_wep() 417 switch (wep->KeyLength) { in rtw_set_802_11_add_wep() 429 memcpy(&psecuritypriv->dot11DefKey[keyid].skey[0], &wep->KeyMaterial, wep->KeyLength); in rtw_set_802_11_add_wep() 431 psecuritypriv->dot11DefKeylen[keyid] = wep->KeyLength; in rtw_set_802_11_add_wep()
|
/linux/drivers/staging/r8188eu/include/ |
A D | rtw_ioctl_set.h | 14 u8 rtw_set_802_11_add_wep(struct adapter *adapter, struct ndis_802_11_wep *wep);
|
/linux/drivers/staging/rtl8723bs/include/ |
A D | rtw_ioctl_set.h | 14 u8 rtw_set_802_11_add_wep(struct adapter *padapter, struct ndis_802_11_wep *wep);
|
/linux/drivers/net/ethernet/toshiba/ |
A D | ps3_gelic_wireless.c | 1744 struct gelic_eurus_wep_cfg *wep; in gelic_wl_do_wep_setup() local 1752 wep = (struct gelic_eurus_wep_cfg *)__get_free_page(GFP_KERNEL); in gelic_wl_do_wep_setup() 1753 if (!wep) in gelic_wl_do_wep_setup() 1756 memset(wep, 0, sizeof(*wep)); in gelic_wl_do_wep_setup() 1774 memcpy(wep->key[i], wl->key[i], wl->key_len[i]); in gelic_wl_do_wep_setup() 1785 wep->security = cpu_to_be16(GELIC_EURUS_WEP_SEC_104BIT); in gelic_wl_do_wep_setup() 1788 wep->security = cpu_to_be16(GELIC_EURUS_WEP_SEC_40BIT); in gelic_wl_do_wep_setup() 1792 wep->security = cpu_to_be16(GELIC_EURUS_WEP_SEC_NONE); in gelic_wl_do_wep_setup() 1797 wep, sizeof(*wep)); in gelic_wl_do_wep_setup() 1805 free_page((unsigned long)wep); in gelic_wl_do_wep_setup()
|
/linux/net/mac80211/ |
A D | Makefile | 9 wep.o \
|
/linux/drivers/staging/r8188eu/os_dep/ |
A D | ioctl_linux.c | 1606 struct ndis_802_11_wep wep; in rtw_wx_set_enc() local 1614 memset(&wep, 0, sizeof(struct ndis_802_11_wep)); in rtw_wx_set_enc() 1671 wep.KeyIndex = key; in rtw_wx_set_enc() 1673 wep.KeyLength = erq->length <= 5 ? 5 : 13; in rtw_wx_set_enc() 1675 wep.Length = wep.KeyLength + FIELD_OFFSET(struct ndis_802_11_wep, KeyMaterial); in rtw_wx_set_enc() 1677 wep.KeyLength = 0; in rtw_wx_set_enc() 1701 wep.KeyIndex |= 0x80000000; in rtw_wx_set_enc() 1703 memcpy(wep.KeyMaterial, keybuf, wep.KeyLength); in rtw_wx_set_enc() 1705 if (!rtw_set_802_11_add_wep(padapter, &wep)) { in rtw_wx_set_enc()
|
/linux/drivers/net/wireless/marvell/mwifiex/ |
A D | README | 48 WEP encryption, wep keys can be specified in the command.
|
A D | sta_cmd.c | 739 km->key_param_set.key_params.wep.key_len = in mwifiex_cmd_802_11_key_material_v2() 741 memcpy(km->key_param_set.key_params.wep.key, in mwifiex_cmd_802_11_key_material_v2()
|
A D | fw.h | 980 struct mwifiex_wep_param wep; member
|
/linux/drivers/net/wireless/ath/wcn36xx/ |
A D | hal.h | 1050 u8 wep:1; member 1070 u8 wep:1;
|