/kernel/linux/linux-5.10/net/wireless/ |
H A D | lib80211_crypt_wep.c | 66 struct lib80211_wep_data *wep = priv; in lib80211_wep_build_iv() local 77 klen = 3 + wep->key_len; in lib80211_wep_build_iv() 79 wep->iv++; in lib80211_wep_build_iv() 84 if ((wep->iv & 0xff00) == 0xff00) { in lib80211_wep_build_iv() 85 u8 B = (wep->iv >> 16) & 0xff; in lib80211_wep_build_iv() 87 wep->iv += 0x0100; in lib80211_wep_build_iv() 91 *pos++ = (wep->iv >> 16) & 0xff; in lib80211_wep_build_iv() 92 *pos++ = (wep->iv >> 8) & 0xff; in lib80211_wep_build_iv() 93 *pos++ = wep->iv & 0xff; in lib80211_wep_build_iv() 94 *pos++ = wep in lib80211_wep_build_iv() 107 struct lib80211_wep_data *wep = priv; lib80211_wep_encrypt() local 153 struct lib80211_wep_data *wep = priv; lib80211_wep_decrypt() local 200 struct lib80211_wep_data *wep = priv; lib80211_wep_set_key() local 213 struct lib80211_wep_data *wep = priv; lib80211_wep_get_key() local 225 struct lib80211_wep_data *wep = priv; lib80211_wep_print_stats() local [all...] |
/kernel/linux/linux-6.6/net/wireless/ |
H A D | lib80211_crypt_wep.c | 66 struct lib80211_wep_data *wep = priv; in lib80211_wep_build_iv() local 77 klen = 3 + wep->key_len; in lib80211_wep_build_iv() 79 wep->iv++; in lib80211_wep_build_iv() 84 if ((wep->iv & 0xff00) == 0xff00) { in lib80211_wep_build_iv() 85 u8 B = (wep->iv >> 16) & 0xff; in lib80211_wep_build_iv() 87 wep->iv += 0x0100; in lib80211_wep_build_iv() 91 *pos++ = (wep->iv >> 16) & 0xff; in lib80211_wep_build_iv() 92 *pos++ = (wep->iv >> 8) & 0xff; in lib80211_wep_build_iv() 93 *pos++ = wep->iv & 0xff; in lib80211_wep_build_iv() 94 *pos++ = wep in lib80211_wep_build_iv() 107 struct lib80211_wep_data *wep = priv; lib80211_wep_encrypt() local 153 struct lib80211_wep_data *wep = priv; lib80211_wep_decrypt() local 200 struct lib80211_wep_data *wep = priv; lib80211_wep_set_key() local 213 struct lib80211_wep_data *wep = priv; lib80211_wep_get_key() local 225 struct lib80211_wep_data *wep = priv; lib80211_wep_print_stats() local [all...] |
/kernel/linux/linux-5.10/drivers/staging/rtl8192u/ieee80211/ |
H A D | ieee80211_crypt_wep.c | 68 struct prism2_wep_data *wep = priv; in prism2_wep_encrypt() local 85 klen = 3 + wep->key_len; in prism2_wep_encrypt() 87 wep->iv++; in prism2_wep_encrypt() 93 if ((wep->iv & 0xff00) == 0xff00) { in prism2_wep_encrypt() 94 u8 B = (wep->iv >> 16) & 0xff; in prism2_wep_encrypt() 97 wep->iv += 0x0100; in prism2_wep_encrypt() 101 *pos++ = key[0] = (wep->iv >> 16) & 0xff; in prism2_wep_encrypt() 102 *pos++ = key[1] = (wep->iv >> 8) & 0xff; in prism2_wep_encrypt() 103 *pos++ = key[2] = wep->iv & 0xff; in prism2_wep_encrypt() 104 *pos++ = wep in prism2_wep_encrypt() 135 struct prism2_wep_data *wep = priv; prism2_wep_decrypt() local 187 struct prism2_wep_data *wep = priv; prism2_wep_set_key() local 201 struct prism2_wep_data *wep = priv; prism2_wep_get_key() local 214 struct prism2_wep_data *wep = priv; prism2_wep_print_stats() local [all...] |
/kernel/linux/linux-5.10/drivers/staging/rtl8192e/ |
H A D | rtllib_crypt_wep.c | 63 struct prism2_wep_data *wep = priv; in prism2_wep_encrypt() local 83 klen = 3 + wep->key_len; in prism2_wep_encrypt() 85 wep->iv++; in prism2_wep_encrypt() 91 if ((wep->iv & 0xff00) == 0xff00) { in prism2_wep_encrypt() 92 u8 B = (wep->iv >> 16) & 0xff; in prism2_wep_encrypt() 95 wep->iv += 0x0100; in prism2_wep_encrypt() 99 *pos++ = key[0] = (wep->iv >> 16) & 0xff; in prism2_wep_encrypt() 100 *pos++ = key[1] = (wep->iv >> 8) & 0xff; in prism2_wep_encrypt() 101 *pos++ = key[2] = wep->iv & 0xff; in prism2_wep_encrypt() 102 *pos++ = wep in prism2_wep_encrypt() 133 struct prism2_wep_data *wep = priv; prism2_wep_decrypt() local 186 struct prism2_wep_data *wep = priv; prism2_wep_set_key() local 200 struct prism2_wep_data *wep = priv; prism2_wep_get_key() local 213 struct prism2_wep_data *wep = priv; prism2_wep_print_stats() local [all...] |
/kernel/linux/linux-6.6/drivers/staging/rtl8192u/ieee80211/ |
H A D | ieee80211_crypt_wep.c | 68 struct prism2_wep_data *wep = priv; in prism2_wep_encrypt() local 85 klen = 3 + wep->key_len; in prism2_wep_encrypt() 87 wep->iv++; in prism2_wep_encrypt() 93 if ((wep->iv & 0xff00) == 0xff00) { in prism2_wep_encrypt() 94 u8 B = (wep->iv >> 16) & 0xff; in prism2_wep_encrypt() 97 wep->iv += 0x0100; in prism2_wep_encrypt() 101 *pos++ = key[0] = (wep->iv >> 16) & 0xff; in prism2_wep_encrypt() 102 *pos++ = key[1] = (wep->iv >> 8) & 0xff; in prism2_wep_encrypt() 103 *pos++ = key[2] = wep->iv & 0xff; in prism2_wep_encrypt() 104 *pos++ = wep in prism2_wep_encrypt() 135 struct prism2_wep_data *wep = priv; prism2_wep_decrypt() local 187 struct prism2_wep_data *wep = priv; prism2_wep_set_key() local 201 struct prism2_wep_data *wep = priv; prism2_wep_get_key() local 214 struct prism2_wep_data *wep = priv; prism2_wep_print_stats() local [all...] |
/kernel/linux/linux-6.6/drivers/staging/rtl8192e/ |
H A D | rtllib_crypt_wep.c | 61 struct prism2_wep_data *wep = priv; in prism2_wep_encrypt() local 81 klen = 3 + wep->key_len; in prism2_wep_encrypt() 83 wep->iv++; in prism2_wep_encrypt() 89 if ((wep->iv & 0xff00) == 0xff00) { in prism2_wep_encrypt() 90 u8 B = (wep->iv >> 16) & 0xff; in prism2_wep_encrypt() 93 wep->iv += 0x0100; in prism2_wep_encrypt() 97 *pos++ = key[0] = (wep->iv >> 16) & 0xff; in prism2_wep_encrypt() 98 *pos++ = key[1] = (wep->iv >> 8) & 0xff; in prism2_wep_encrypt() 99 *pos++ = key[2] = wep->iv & 0xff; in prism2_wep_encrypt() 100 *pos++ = wep in prism2_wep_encrypt() 130 struct prism2_wep_data *wep = priv; prism2_wep_decrypt() local 182 struct prism2_wep_data *wep = priv; prism2_wep_set_key() local 195 struct prism2_wep_data *wep = priv; prism2_wep_get_key() local 207 struct prism2_wep_data *wep = priv; prism2_wep_print_stats() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl12xx/ |
H A D | debugfs.c | 54 WL12XX_DEBUGFS_FWSTATS_FILE(wep, addr_key_count, "%u"); 55 WL12XX_DEBUGFS_FWSTATS_FILE(wep, default_key_count, "%u"); 56 /* skipping wep.reserved */ 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() 156 /* skipping wep in wl12xx_debugfs_add_files() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ti/wl12xx/ |
H A D | debugfs.c | 54 WL12XX_DEBUGFS_FWSTATS_FILE(wep, addr_key_count, "%u"); 55 WL12XX_DEBUGFS_FWSTATS_FILE(wep, default_key_count, "%u"); 56 /* skipping wep.reserved */ 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() 156 /* skipping wep in wl12xx_debugfs_add_files() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl1251/ |
H A D | debugfs.c | 136 DEBUGFS_FWSTATS_FILE(wep, addr_key_count, 20, "%u"); 137 DEBUGFS_FWSTATS_FILE(wep, default_key_count, 20, "%u"); 138 /* skipping wep.reserved */ 139 DEBUGFS_FWSTATS_FILE(wep, key_not_found, 20, "%u"); 140 DEBUGFS_FWSTATS_FILE(wep, decrypt_fail, 20, "%u"); 141 DEBUGFS_FWSTATS_FILE(wep, packets, 20, "%u"); 142 DEBUGFS_FWSTATS_FILE(wep, interrupt, 20, "%u"); 276 DEBUGFS_FWSTATS_DEL(wep, addr_key_count); in wl1251_debugfs_delete_files() 277 DEBUGFS_FWSTATS_DEL(wep, default_key_count); in wl1251_debugfs_delete_files() 278 /* skipping wep in wl1251_debugfs_delete_files() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ti/wl1251/ |
H A D | debugfs.c | 136 DEBUGFS_FWSTATS_FILE(wep, addr_key_count, 20, "%u"); 137 DEBUGFS_FWSTATS_FILE(wep, default_key_count, 20, "%u"); 138 /* skipping wep.reserved */ 139 DEBUGFS_FWSTATS_FILE(wep, key_not_found, 20, "%u"); 140 DEBUGFS_FWSTATS_FILE(wep, decrypt_fail, 20, "%u"); 141 DEBUGFS_FWSTATS_FILE(wep, packets, 20, "%u"); 142 DEBUGFS_FWSTATS_FILE(wep, interrupt, 20, "%u"); 276 DEBUGFS_FWSTATS_DEL(wep, addr_key_count); in wl1251_debugfs_delete_files() 277 DEBUGFS_FWSTATS_DEL(wep, default_key_count); in wl1251_debugfs_delete_files() 278 /* skipping wep in wl1251_debugfs_delete_files() [all...] |
/kernel/linux/linux-5.10/drivers/staging/rtl8712/ |
H A D | rtl871x_ioctl_set.c | 331 struct NDIS_802_11_WEP *wep) in r8712_set_802_11_add_wep() 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() 330 r8712_set_802_11_add_wep(struct _adapter *padapter, struct NDIS_802_11_WEP *wep) r8712_set_802_11_add_wep() argument
|
H A D | rtl871x_ioctl_set.h | 32 struct NDIS_802_11_WEP *wep);
|
H A D | rtl871x_ioctl_linux.c | 1497 struct NDIS_802_11_WEP wep; in r8711_wx_set_enc() local 1503 memset(&wep, 0, sizeof(struct NDIS_802_11_WEP)); in r8711_wx_set_enc() 1553 wep.KeyIndex = key; in r8711_wx_set_enc() 1555 wep.KeyLength = erq->length <= 5 ? 5 : 13; in r8711_wx_set_enc() 1556 wep.Length = wep.KeyLength + in r8711_wx_set_enc() 1559 wep.KeyLength = 0; in r8711_wx_set_enc() 1581 wep.KeyIndex |= 0x80000000; /* transmit key */ in r8711_wx_set_enc() 1582 memcpy(wep.KeyMaterial, keybuf, wep in r8711_wx_set_enc() [all...] |
/kernel/linux/linux-6.6/drivers/staging/rtl8712/ |
H A D | rtl871x_ioctl_set.c | 330 struct NDIS_802_11_WEP *wep) in r8712_set_802_11_add_wep() 335 keyid = wep->KeyIndex & 0x3fffffff; in r8712_set_802_11_add_wep() 338 switch (wep->KeyLength) { in r8712_set_802_11_add_wep() 349 memcpy(psecuritypriv->DefKey[keyid].skey, &wep->KeyMaterial, in r8712_set_802_11_add_wep() 350 wep->KeyLength); in r8712_set_802_11_add_wep() 351 psecuritypriv->DefKeylen[keyid] = wep->KeyLength; in r8712_set_802_11_add_wep() 329 r8712_set_802_11_add_wep(struct _adapter *padapter, struct NDIS_802_11_WEP *wep) r8712_set_802_11_add_wep() argument
|
H A D | rtl871x_ioctl_set.h | 32 struct NDIS_802_11_WEP *wep);
|
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/core/ |
H A D | rtw_ioctl_set.c | 575 u8 rtw_set_802_11_add_wep(struct adapter *padapter, struct ndis_802_11_wep *wep) in rtw_set_802_11_add_wep() argument 582 keyid = wep->KeyIndex & 0x3fffffff; in rtw_set_802_11_add_wep() 590 switch (wep->KeyLength) { in rtw_set_802_11_add_wep() 593 RT_TRACE(_module_rtl871x_ioctl_set_c_, _drv_info_, ("MgntActrtw_set_802_11_add_wep:wep->KeyLength =5\n")); in rtw_set_802_11_add_wep() 597 RT_TRACE(_module_rtl871x_ioctl_set_c_, _drv_info_, ("MgntActrtw_set_802_11_add_wep:wep->KeyLength = 13\n")); in rtw_set_802_11_add_wep() 601 RT_TRACE(_module_rtl871x_ioctl_set_c_, _drv_info_, ("MgntActrtw_set_802_11_add_wep:wep->KeyLength!=5 or 13\n")); in rtw_set_802_11_add_wep() 606 ("rtw_set_802_11_add_wep:before memcpy, wep->KeyLength = 0x%x wep->KeyIndex = 0x%x keyid =%x\n", in rtw_set_802_11_add_wep() 607 wep->KeyLength, wep in rtw_set_802_11_add_wep() [all...] |
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/core/ |
H A D | rtw_ioctl_set.c | 470 u8 rtw_set_802_11_add_wep(struct adapter *padapter, struct ndis_802_11_wep *wep) in rtw_set_802_11_add_wep() argument 476 keyid = wep->KeyIndex & 0x3fffffff; in rtw_set_802_11_add_wep() 484 switch (wep->KeyLength) { in rtw_set_802_11_add_wep() 487 RT_TRACE(_module_rtl871x_ioctl_set_c_, _drv_info_, ("MgntActrtw_set_802_11_add_wep:wep->KeyLength = 5\n")); in rtw_set_802_11_add_wep() 491 RT_TRACE(_module_rtl871x_ioctl_set_c_, _drv_info_, ("MgntActrtw_set_802_11_add_wep:wep->KeyLength = 13\n")); in rtw_set_802_11_add_wep() 495 RT_TRACE(_module_rtl871x_ioctl_set_c_, _drv_info_, ("MgntActrtw_set_802_11_add_wep:wep->KeyLength!= 5 or 13\n")); in rtw_set_802_11_add_wep() 499 ("%s:before memcpy, wep->KeyLength = 0x%x wep->KeyIndex = 0x%x keyid =%x\n", __func__, in rtw_set_802_11_add_wep() 500 wep->KeyLength, wep in rtw_set_802_11_add_wep() [all...] |
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/core/ |
H A D | rtw_ioctl_set.c | 424 u8 rtw_set_802_11_add_wep(struct adapter *padapter, struct ndis_802_11_wep *wep) in rtw_set_802_11_add_wep() argument 431 keyid = wep->key_index & 0x3fffffff; in rtw_set_802_11_add_wep() 438 switch (wep->key_length) { in rtw_set_802_11_add_wep() 450 memcpy(&(psecuritypriv->dot11DefKey[keyid].skey[0]), &(wep->key_material), wep->key_length); in rtw_set_802_11_add_wep() 452 psecuritypriv->dot11DefKeylen[keyid] = wep->key_length; in rtw_set_802_11_add_wep()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/include/ |
H A D | rtw_ioctl_set.h | 17 u8 rtw_set_802_11_add_wep(struct adapter *adapter, struct ndis_802_11_wep *wep);
|
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/include/ |
H A D | rtw_ioctl_set.h | 14 u8 rtw_set_802_11_add_wep(struct adapter *padapter, struct ndis_802_11_wep *wep);
|
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/include/ |
H A D | rtw_ioctl_set.h | 21 u8 rtw_set_802_11_add_wep(struct adapter *padapter, struct ndis_802_11_wep * wep);
|
/kernel/linux/linux-5.10/net/mac80211/ |
H A D | Makefile | 9 wep.o \
|
/kernel/linux/linux-6.6/net/mac80211/ |
H A D | Makefile | 9 wep.o \
|
/kernel/linux/linux-5.10/drivers/net/ethernet/toshiba/ |
H A D | ps3_gelic_wireless.c | 1254 /* remember wep info changed */ in gelic_wl_set_encodeext() 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() 1769 pr_info("%s: wrong wep key[%d]=%d\n", in gelic_wl_do_wep_setup() 1774 memcpy(wep->key[i], wl->key[i], wl->key_len[i]); in gelic_wl_do_wep_setup() 1778 pr_info("%s: all wep key disabled\n", __func__); in gelic_wl_do_wep_setup() 1785 wep in gelic_wl_do_wep_setup() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/toshiba/ |
H A D | ps3_gelic_wireless.c | 1254 /* remember wep info changed */ in gelic_wl_set_encodeext() 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() 1769 pr_info("%s: wrong wep key[%d]=%d\n", in gelic_wl_do_wep_setup() 1774 memcpy(wep->key[i], wl->key[i], wl->key_len[i]); in gelic_wl_do_wep_setup() 1778 pr_info("%s: all wep key disabled\n", __func__); in gelic_wl_do_wep_setup() 1785 wep in gelic_wl_do_wep_setup() [all...] |