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

/drivers/staging/rtl8187se/ieee80211/
H A Dieee80211_crypt_wep.c107 struct prism2_wep_data *wep = priv; local
108 struct blkcipher_desc desc = { .tfm = wep->tx_tfm };
125 klen = 3 + wep->key_len;
127 wep->iv++;
132 if ((wep->iv & 0xff00) == 0xff00) {
133 u8 B = (wep->iv >> 16) & 0xff;
135 wep->iv += 0x0100;
139 *pos++ = key[0] = (wep->iv >> 16) & 0xff;
140 *pos++ = key[1] = (wep->iv >> 8) & 0xff;
141 *pos++ = key[2] = wep
171 struct prism2_wep_data *wep = priv; local
226 struct prism2_wep_data *wep = priv; local
240 struct prism2_wep_data *wep = priv; local
253 struct prism2_wep_data *wep = priv; local
[all...]
/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};
120 klen = 3 + wep->key_len;
122 wep->iv++;
127 if ((wep->iv & 0xff00) == 0xff00) {
128 u8 B = (wep->iv >> 16) & 0xff;
130 wep->iv += 0x0100;
134 *pos++ = key[0] = (wep->iv >> 16) & 0xff;
135 *pos++ = key[1] = (wep->iv >> 8) & 0xff;
136 *pos++ = key[2] = wep
170 struct prism2_wep_data *wep = priv; local
225 struct prism2_wep_data *wep = priv; local
239 struct prism2_wep_data *wep = priv; local
252 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/staging/rtl8712/
H A Drtl871x_ioctl_set.h44 struct NDIS_802_11_WEP *wep);
H A Drtl871x_ioctl_set.c351 struct NDIS_802_11_WEP *wep)
358 bdefaultkey = (wep->KeyIndex & 0x40000000) > 0 ? false : true;
359 btransmitkey = (wep->KeyIndex & 0x80000000) > 0 ? true : false;
360 keyid = wep->KeyIndex & 0x3fffffff;
363 switch (wep->KeyLength) {
374 memcpy(psecuritypriv->DefKey[keyid].skey, &wep->KeyMaterial,
375 wep->KeyLength);
376 psecuritypriv->DefKeylen[keyid] = wep->KeyLength;
350 r8712_set_802_11_add_wep(struct _adapter *padapter, struct NDIS_802_11_WEP *wep) argument
H A Drtl871x_ioctl_linux.c1554 struct NDIS_802_11_WEP wep; local
1560 memset(&wep, 0, sizeof(struct NDIS_802_11_WEP));
1612 wep.KeyIndex = key;
1614 wep.KeyLength = erq->length <= 5 ? 5 : 13;
1615 wep.Length = wep.KeyLength +
1618 wep.KeyLength = 0 ;
1639 wep.KeyIndex |= 0x80000000; /* transmit key */
1640 memcpy(wep.KeyMaterial, keybuf, wep
[all...]
/drivers/net/wireless/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/net/wireless/wl12xx/
H A Ddebugfs.c164 DEBUGFS_FWSTATS_FILE(wep, addr_key_count, "%u");
165 DEBUGFS_FWSTATS_FILE(wep, default_key_count, "%u");
166 /* skipping wep.reserved */
167 DEBUGFS_FWSTATS_FILE(wep, key_not_found, "%u");
168 DEBUGFS_FWSTATS_FILE(wep, decrypt_fail, "%u");
169 DEBUGFS_FWSTATS_FILE(wep, packets, "%u");
170 DEBUGFS_FWSTATS_FILE(wep, interrupt, "%u");
1051 DEBUGFS_FWSTATS_ADD(wep, addr_key_count);
1052 DEBUGFS_FWSTATS_ADD(wep, default_key_count);
1053 /* skipping wep
[all...]
H A Dacx.h633 struct acx_wep_statistics wep; member in struct:acx_statistics
/drivers/net/ethernet/toshiba/
H A Dps3_gelic_wireless.c1272 /* remember wep info changed */
1762 struct gelic_eurus_wep_cfg *wep; local
1770 wep = (struct gelic_eurus_wep_cfg *)__get_free_page(GFP_KERNEL);
1771 if (!wep)
1774 memset(wep, 0, sizeof(*wep));
1787 pr_info("%s: wrong wep key[%d]=%d\n",
1792 memcpy(wep->key[i], wl->key[i], wl->key_len[i]);
1796 pr_info("%s: all wep key disabled\n", __func__);
1803 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);
2503 u32 mlme, authen, dot1x, filter, wep; local
2508 wep = 1; /* For privacy invoked */
2520 wep = 0;
2534 mgt_set_request(priv, DOT11_OID_PRIVACYINVOKED, 0, &wep);

Completed in 156 milliseconds