Searched refs:wep (Results 1 - 18 of 18) sorted by relevance

/drivers/staging/rtl8192e/
H A Drtllib_crypt_wep.c98 struct prism2_wep_data *wep = priv; local
104 struct blkcipher_desc desc = {.tfm = wep->tx_tfm};
121 klen = 3 + wep->key_len;
123 wep->iv++;
128 if ((wep->iv & 0xff00) == 0xff00) {
129 u8 B = (wep->iv >> 16) & 0xff;
132 wep->iv += 0x0100;
136 *pos++ = key[0] = (wep->iv >> 16) & 0xff;
137 *pos++ = key[1] = (wep->iv >> 8) & 0xff;
138 *pos++ = key[2] = wep
172 struct prism2_wep_data *wep = priv; local
228 struct prism2_wep_data *wep = priv; local
242 struct prism2_wep_data *wep = priv; local
255 struct prism2_wep_data *wep = priv; local
[all...]
/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211_crypt_wep.c104 struct prism2_wep_data *wep = priv; local
109 struct blkcipher_desc desc = {.tfm = wep->tx_tfm};
122 klen = 3 + wep->key_len;
124 wep->iv++;
129 if ((wep->iv & 0xff00) == 0xff00) {
130 u8 B = (wep->iv >> 16) & 0xff;
132 wep->iv += 0x0100;
136 *pos++ = key[0] = (wep->iv >> 16) & 0xff;
137 *pos++ = key[1] = (wep->iv >> 8) & 0xff;
138 *pos++ = key[2] = wep
174 struct prism2_wep_data *wep = priv; local
231 struct prism2_wep_data *wep = priv; local
245 struct prism2_wep_data *wep = priv; local
258 struct prism2_wep_data *wep = priv; local
[all...]
/drivers/net/wireless/ti/wl12xx/
H A Ddebugfs.c68 WL12XX_DEBUGFS_FWSTATS_FILE(wep, addr_key_count, "%u");
69 WL12XX_DEBUGFS_FWSTATS_FILE(wep, default_key_count, "%u");
70 /* skipping wep.reserved */
71 WL12XX_DEBUGFS_FWSTATS_FILE(wep, key_not_found, "%u");
72 WL12XX_DEBUGFS_FWSTATS_FILE(wep, decrypt_fail, "%u");
73 WL12XX_DEBUGFS_FWSTATS_FILE(wep, packets, "%u");
74 WL12XX_DEBUGFS_FWSTATS_FILE(wep, interrupt, "%u");
178 DEBUGFS_FWSTATS_ADD(wep, addr_key_count);
179 DEBUGFS_FWSTATS_ADD(wep, default_key_count);
180 /* skipping wep
[all...]
H A Dacx.h262 struct wl12xx_acx_wep_statistics wep; member in struct:wl12xx_acx_statistics
/drivers/staging/rtl8188eu/include/
H A Drtw_ioctl_set.h31 u8 rtw_set_802_11_add_wep(struct adapter *adapter, struct ndis_802_11_wep *wep);
/drivers/staging/rtl8712/
H A Drtl871x_ioctl_set.h44 struct NDIS_802_11_WEP *wep);
H A Drtl871x_ioctl_set.c346 struct NDIS_802_11_WEP *wep)
353 bdefaultkey = (wep->KeyIndex & 0x40000000) > 0 ? false : true;
354 btransmitkey = (wep->KeyIndex & 0x80000000) > 0 ? true : false;
355 keyid = wep->KeyIndex & 0x3fffffff;
358 switch (wep->KeyLength) {
369 memcpy(psecuritypriv->DefKey[keyid].skey, &wep->KeyMaterial,
370 wep->KeyLength);
371 psecuritypriv->DefKeylen[keyid] = wep->KeyLength;
345 r8712_set_802_11_add_wep(struct _adapter *padapter, struct NDIS_802_11_WEP *wep) argument
H A Drtl871x_ioctl_linux.c1536 struct NDIS_802_11_WEP wep; local
1542 memset(&wep, 0, sizeof(struct NDIS_802_11_WEP));
1592 wep.KeyIndex = key;
1594 wep.KeyLength = erq->length <= 5 ? 5 : 13;
1595 wep.Length = wep.KeyLength +
1598 wep.KeyLength = 0;
1619 wep.KeyIndex |= 0x80000000; /* transmit key */
1620 memcpy(wep.KeyMaterial, keybuf, wep
[all...]
/drivers/net/wireless/ti/wl1251/
H A Ddebugfs.c155 DEBUGFS_FWSTATS_FILE(wep, addr_key_count, 20, "%u");
156 DEBUGFS_FWSTATS_FILE(wep, default_key_count, 20, "%u");
157 /* skipping wep.reserved */
158 DEBUGFS_FWSTATS_FILE(wep, key_not_found, 20, "%u");
159 DEBUGFS_FWSTATS_FILE(wep, decrypt_fail, 20, "%u");
160 DEBUGFS_FWSTATS_FILE(wep, packets, 20, "%u");
161 DEBUGFS_FWSTATS_FILE(wep, interrupt, 20, "%u");
295 DEBUGFS_FWSTATS_DEL(wep, addr_key_count);
296 DEBUGFS_FWSTATS_DEL(wep, default_key_count);
297 /* skipping wep
[all...]
H A Dacx.h1081 struct acx_wep_statistics wep; member in struct:acx_statistics
/drivers/staging/rtl8188eu/core/
H A Drtw_ioctl_set.c506 u8 rtw_set_802_11_add_wep(struct adapter *padapter, struct ndis_802_11_wep *wep) argument
513 keyid = wep->KeyIndex & 0x3fffffff;
521 switch (wep->KeyLength) {
524 RT_TRACE(_module_rtl871x_ioctl_set_c_, _drv_info_, ("MgntActrtw_set_802_11_add_wep:wep->KeyLength = 5\n"));
528 RT_TRACE(_module_rtl871x_ioctl_set_c_, _drv_info_, ("MgntActrtw_set_802_11_add_wep:wep->KeyLength = 13\n"));
532 RT_TRACE(_module_rtl871x_ioctl_set_c_, _drv_info_, ("MgntActrtw_set_802_11_add_wep:wep->KeyLength!= 5 or 13\n"));
536 ("rtw_set_802_11_add_wep:before memcpy, wep->KeyLength = 0x%x wep->KeyIndex = 0x%x keyid =%x\n",
537 wep->KeyLength, wep
[all...]
/drivers/net/ethernet/toshiba/
H A Dps3_gelic_wireless.c1269 /* remember wep info changed */
1759 struct gelic_eurus_wep_cfg *wep; local
1767 wep = (struct gelic_eurus_wep_cfg *)__get_free_page(GFP_KERNEL);
1768 if (!wep)
1771 memset(wep, 0, sizeof(*wep));
1784 pr_info("%s: wrong wep key[%d]=%d\n",
1789 memcpy(wep->key[i], wl->key[i], wl->key_len[i]);
1793 pr_info("%s: all wep key disabled\n", __func__);
1800 wep
[all...]
/drivers/staging/rtl8188eu/os_dep/
H A Dioctl_linux.c423 DBG_88E("wep, set_tx = 1\n");
427 DBG_88E("wep, set_tx = 0\n");
1609 struct ndis_802_11_wep wep; local
1617 memset(&wep, 0, sizeof(struct ndis_802_11_wep));
1673 wep.KeyIndex = key;
1675 wep.KeyLength = erq->length <= 5 ? 5 : 13;
1677 wep.Length = wep.KeyLength + FIELD_OFFSET(struct ndis_802_11_wep, KeyMaterial);
1679 wep.KeyLength = 0;
1703 wep
[all...]
/drivers/net/wireless/prism54/
H A Disl_ioctl.c128 u32 channel, authen, wep, filter, dot1x, mlme, conformance, power, mode; local
136 wep = CARD_DEFAULT_WEP;
146 mgt_set(priv, DOT11_OID_PRIVACYINVOKED, &wep);
2504 u32 mlme, authen, dot1x, filter, wep; local
2509 wep = 1; /* For privacy invoked */
2521 wep = 0;
2535 mgt_set_request(priv, DOT11_OID_PRIVACYINVOKED, 0, &wep);
/drivers/net/wireless/ath/wcn36xx/
H A Dhal.h898 u8 wep:1; member in struct:wcn36xx_hal_mac_frame_ctl
918 u8 wep:1;
/drivers/staging/rtl8723au/os_dep/
H A Dioctl_cfg80211.c503 /* wep default key has not been set, so use
736 /* wep default key has not been set, so use this
957 /* clear the flag of wep default key set. */
977 /* set wep default key */
991 /* set the flag to represent that wep default key
1744 struct rtw_wep_key *wep, u8 keyid)
1756 switch (wep->keylen) {
1760 ("%s:wep->KeyLength = 5\n", __func__));
1765 ("%s:wep->KeyLength = 13\n", __func__));
1770 ("%s:wep
1743 rtw_cfg80211_add_wep(struct rtw_adapter *padapter, struct rtw_wep_key *wep, u8 keyid) argument
[all...]
/drivers/net/wireless/mwifiex/
H A Dsta_cmd.c693 km->key_param_set.key_params.wep.key_len =
695 memcpy(km->key_param_set.key_params.wep.key,
H A Dfw.h790 struct mwifiex_wep_param wep; member in union:mwifiex_ie_type_key_param_set_v2::__anon4588

Completed in 992 milliseconds