Home
last modified time | relevance | path

Searched refs:erq (Results 1 – 11 of 11) sorted by relevance

/drivers/net/wireless/orinoco/
Dwext.c237 struct iw_point *erq, in orinoco_ioctl_setiwencode() argument
241 int index = (erq->flags & IW_ENCODE_INDEX) - 1; in orinoco_ioctl_setiwencode()
251 if (erq->pointer) { in orinoco_ioctl_setiwencode()
253 if (erq->length > LARGE_KEY_SIZE) in orinoco_ioctl_setiwencode()
256 if ((erq->length > SMALL_KEY_SIZE) && !priv->has_big_wep) in orinoco_ioctl_setiwencode()
267 if (erq->length > 0) { in orinoco_ioctl_setiwencode()
281 if ((index != -1) || (erq->flags == 0)) { in orinoco_ioctl_setiwencode()
295 if (erq->flags & IW_ENCODE_DISABLED) in orinoco_ioctl_setiwencode()
297 if (erq->flags & IW_ENCODE_OPEN) in orinoco_ioctl_setiwencode()
299 if (erq->flags & IW_ENCODE_RESTRICTED) in orinoco_ioctl_setiwencode()
[all …]
/drivers/net/wireless/ipw2x00/
Dlibipw_wx.c314 struct iw_point *erq = &(wrqu->encoding); in libipw_wx_set_encode() local
325 key = erq->flags & IW_ENCODE_INDEX; in libipw_wx_set_encode()
341 if (erq->flags & IW_ENCODE_DISABLED) { in libipw_wx_set_encode()
410 if (erq->length > 0) { in libipw_wx_set_encode()
411 len = erq->length <= 5 ? 5 : 13; in libipw_wx_set_encode()
412 memcpy(sec.keys[key], keybuf, erq->length); in libipw_wx_set_encode()
413 if (len > erq->length) in libipw_wx_set_encode()
414 memset(sec.keys[key] + erq->length, 0, in libipw_wx_set_encode()
415 len - erq->length); in libipw_wx_set_encode()
418 erq->length, len); in libipw_wx_set_encode()
[all …]
/drivers/staging/rtl8192u/ieee80211/
Dieee80211_wx.c294 struct iw_point *erq = &(wrqu->encoding); in ieee80211_wx_set_encode() local
304 key = erq->flags & IW_ENCODE_INDEX; in ieee80211_wx_set_encode()
319 if (erq->flags & IW_ENCODE_DISABLED) { in ieee80211_wx_set_encode()
388 if (erq->length > 0) { in ieee80211_wx_set_encode()
389 len = erq->length <= 5 ? 5 : 13; in ieee80211_wx_set_encode()
390 memcpy(sec.keys[key], keybuf, erq->length); in ieee80211_wx_set_encode()
391 if (len > erq->length) in ieee80211_wx_set_encode()
392 memset(sec.keys[key] + erq->length, 0, in ieee80211_wx_set_encode()
393 len - erq->length); in ieee80211_wx_set_encode()
396 erq->length, len); in ieee80211_wx_set_encode()
[all …]
/drivers/staging/rtl8192e/
Drtllib_wx.c308 struct iw_point *erq = &(wrqu->encoding); in rtllib_wx_set_encode() local
318 key = erq->flags & IW_ENCODE_INDEX; in rtllib_wx_set_encode()
332 if (erq->flags & IW_ENCODE_DISABLED) { in rtllib_wx_set_encode()
402 if (erq->length > 0) { in rtllib_wx_set_encode()
403 len = erq->length <= 5 ? 5 : 13; in rtllib_wx_set_encode()
404 memcpy(sec.keys[key], keybuf, erq->length); in rtllib_wx_set_encode()
405 if (len > erq->length) in rtllib_wx_set_encode()
406 memset(sec.keys[key] + erq->length, 0, in rtllib_wx_set_encode()
407 len - erq->length); in rtllib_wx_set_encode()
410 erq->length, len); in rtllib_wx_set_encode()
[all …]
/drivers/staging/rtl8712/
Drtl871x_ioctl_linux.c1538 struct iw_point *erq = &(wrqu->encoding); in r8711_wx_set_enc() local
1541 key = erq->flags & IW_ENCODE_INDEX; in r8711_wx_set_enc()
1543 if (erq->flags & IW_ENCODE_DISABLED) { in r8711_wx_set_enc()
1564 if (erq->flags & IW_ENCODE_OPEN) { in r8711_wx_set_enc()
1573 } else if (erq->flags & IW_ENCODE_RESTRICTED) { in r8711_wx_set_enc()
1593 if (erq->length > 0) { in r8711_wx_set_enc()
1594 wep.KeyLength = erq->length <= 5 ? 5 : 13; in r8711_wx_set_enc()
1632 struct iw_point *erq = &(wrqu->encoding); in r8711_wx_get_enc() local
1637 erq->length = 0; in r8711_wx_get_enc()
1638 erq->flags |= IW_ENCODE_DISABLED; in r8711_wx_get_enc()
[all …]
/drivers/net/wireless/
Dzd1201.c1393 struct iw_request_info *info, struct iw_point *erq, char *key) in zd1201_set_encode() argument
1399 if (erq->length > ZD1201_MAXKEYLEN) in zd1201_set_encode()
1402 i = (erq->flags & IW_ENCODE_INDEX)-1; in zd1201_set_encode()
1417 err = zd1201_setconfig(zd, rid, key, erq->length, 1); in zd1201_set_encode()
1420 zd->encode_keylen[i] = erq->length; in zd1201_set_encode()
1421 memcpy(zd->encode_keys[i], key, erq->length); in zd1201_set_encode()
1424 if (!(erq->flags & IW_ENCODE_DISABLED & IW_ENCODE_MODE)) { in zd1201_set_encode()
1429 if (erq->flags & IW_ENCODE_RESTRICTED & IW_ENCODE_MODE) { in zd1201_set_encode()
1450 struct iw_request_info *info, struct iw_point *erq, char *key) in zd1201_get_encode() argument
1457 erq->flags = IW_ENCODE_ENABLED; in zd1201_get_encode()
[all …]
/drivers/net/wireless/hostap/
Dhostap_ioctl.c126 struct iw_point *erq, char *keybuf) in prism2_ioctl_siwencode() argument
136 i = erq->flags & IW_ENCODE_INDEX; in prism2_ioctl_siwencode()
146 if (erq->flags & IW_ENCODE_DISABLED) { in prism2_ioctl_siwencode()
185 if (erq->length > 0) { in prism2_ioctl_siwencode()
186 int len = erq->length <= 5 ? 5 : 13; in prism2_ioctl_siwencode()
188 if (len > erq->length) in prism2_ioctl_siwencode()
189 memset(keybuf + erq->length, 0, len - erq->length); in prism2_ioctl_siwencode()
205 local->open_wep = erq->flags & IW_ENCODE_OPEN; in prism2_ioctl_siwencode()
228 struct iw_point *erq, char *key) in prism2_ioctl_giwencode() argument
239 i = erq->flags & IW_ENCODE_INDEX; in prism2_ioctl_giwencode()
[all …]
/drivers/staging/rtl8188eu/os_dep/
Dioctl_linux.c1606 struct iw_point *erq = &(wrqu->encoding); in rtw_wx_set_enc() local
1609 DBG_88E("+rtw_wx_set_enc, flags = 0x%x\n", erq->flags); in rtw_wx_set_enc()
1613 key = erq->flags & IW_ENCODE_INDEX; in rtw_wx_set_enc()
1616 if (erq->flags & IW_ENCODE_DISABLED) { in rtw_wx_set_enc()
1640 if (erq->flags & IW_ENCODE_OPEN) { in rtw_wx_set_enc()
1648 } else if (erq->flags & IW_ENCODE_RESTRICTED) { in rtw_wx_set_enc()
1657 DBG_88E("rtw_wx_set_enc():erq->flags = 0x%x\n", erq->flags); in rtw_wx_set_enc()
1668 if (erq->length > 0) { in rtw_wx_set_enc()
1669 wep.KeyLength = erq->length <= 5 ? 5 : 13; in rtw_wx_set_enc()
1719 struct iw_point *erq = &(wrqu->encoding); in rtw_wx_get_enc() local
[all …]
/drivers/isdn/hisax/
Dhisax_if.h58 struct sk_buff_head erq; member
Dconfig.c1630 skb_queue_head_init(&hisax_d_if->erq); in hisax_register()
1640 skb_queue_purge(&hisax_d_if->erq); in hisax_unregister()
1726 skb_queue_tail(&d_if->erq, arg); in hisax_d_l1l2()
1886 while ((skb = skb_dequeue(&d_if->erq)) != NULL) { in EChannel_proc_rcv()
/drivers/gpu/drm/i915/
Di915_gpu_error.c1065 struct drm_i915_error_request *erq; in i915_gem_record_rings() local
1067 erq = &error->ring[i].requests[count++]; in i915_gem_record_rings()
1068 erq->seqno = request->seqno; in i915_gem_record_rings()
1069 erq->jiffies = request->emitted_jiffies; in i915_gem_record_rings()
1070 erq->tail = request->tail; in i915_gem_record_rings()