/linux-5.19.10/drivers/net/wireless/intersil/orinoco/ |
D | wext.c | 237 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 …]
|
/linux-5.19.10/drivers/net/wireless/intel/ipw2x00/ |
D | libipw_wx.c | 300 struct iw_point *erq = &(wrqu->encoding); in libipw_wx_set_encode() local 311 key = erq->flags & IW_ENCODE_INDEX; in libipw_wx_set_encode() 327 if (erq->flags & IW_ENCODE_DISABLED) { in libipw_wx_set_encode() 396 if (erq->length > 0) { in libipw_wx_set_encode() 397 len = erq->length <= 5 ? 5 : 13; in libipw_wx_set_encode() 398 memcpy(sec.keys[key], keybuf, erq->length); in libipw_wx_set_encode() 399 if (len > erq->length) in libipw_wx_set_encode() 400 memset(sec.keys[key] + erq->length, 0, in libipw_wx_set_encode() 401 len - erq->length); in libipw_wx_set_encode() 404 erq->length, len); in libipw_wx_set_encode() [all …]
|
/linux-5.19.10/drivers/staging/rtl8192e/ |
D | rtllib_wx.c | 288 struct iw_point *erq = &(wrqu->encoding); in rtllib_wx_set_encode() local 296 key = erq->flags & IW_ENCODE_INDEX; in rtllib_wx_set_encode() 310 if (erq->flags & IW_ENCODE_DISABLED) { in rtllib_wx_set_encode() 379 if (erq->length > 0) { in rtllib_wx_set_encode() 380 len = erq->length <= 5 ? 5 : 13; in rtllib_wx_set_encode() 381 memcpy(sec.keys[key], keybuf, erq->length); in rtllib_wx_set_encode() 382 if (len > erq->length) in rtllib_wx_set_encode() 383 memset(sec.keys[key] + erq->length, 0, in rtllib_wx_set_encode() 384 len - erq->length); in rtllib_wx_set_encode() 386 key, escape_essid(sec.keys[key], len), erq->length, in rtllib_wx_set_encode() [all …]
|
/linux-5.19.10/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_wx.c | 275 struct iw_point *erq = &(wrqu->encoding); in ieee80211_wx_set_encode() local 285 key = erq->flags & IW_ENCODE_INDEX; in ieee80211_wx_set_encode() 300 if (erq->flags & IW_ENCODE_DISABLED) { in ieee80211_wx_set_encode() 365 if (erq->length > 0) { in ieee80211_wx_set_encode() 366 len = erq->length <= 5 ? 5 : 13; in ieee80211_wx_set_encode() 367 memcpy(sec.keys[key], keybuf, erq->length); in ieee80211_wx_set_encode() 368 if (len > erq->length) in ieee80211_wx_set_encode() 369 memset(sec.keys[key] + erq->length, 0, in ieee80211_wx_set_encode() 370 len - erq->length); in ieee80211_wx_set_encode() 373 erq->length, len); in ieee80211_wx_set_encode() [all …]
|
/linux-5.19.10/net/wireless/ |
D | wext-compat.c | 590 struct iw_point *erq, char *keybuf) in cfg80211_wext_siwencode() argument 614 idx = erq->flags & IW_ENCODE_INDEX; in cfg80211_wext_siwencode() 626 if (erq->flags & IW_ENCODE_DISABLED) in cfg80211_wext_siwencode() 628 else if (erq->length == 0) { in cfg80211_wext_siwencode() 645 params.key_len = erq->length; in cfg80211_wext_siwencode() 646 if (erq->length == 5) { in cfg80211_wext_siwencode() 648 } else if (erq->length == 13) { in cfg80211_wext_siwencode() 666 struct iw_point *erq, char *extra) in cfg80211_wext_siwencodeext() argument 714 if (erq->flags & IW_ENCODE_DISABLED) in cfg80211_wext_siwencodeext() 717 idx = erq->flags & IW_ENCODE_INDEX; in cfg80211_wext_siwencodeext() [all …]
|
/linux-5.19.10/drivers/staging/rtl8712/ |
D | rtl871x_ioctl_linux.c | 1497 struct iw_point *erq = &wrqu->encoding; in r8711_wx_set_enc() local 1500 key = erq->flags & IW_ENCODE_INDEX; in r8711_wx_set_enc() 1502 if (erq->flags & IW_ENCODE_DISABLED) { in r8711_wx_set_enc() 1523 if (erq->flags & IW_ENCODE_OPEN) { in r8711_wx_set_enc() 1532 } else if (erq->flags & IW_ENCODE_RESTRICTED) { in r8711_wx_set_enc() 1552 if (erq->length > 0) { in r8711_wx_set_enc() 1553 wep.KeyLength = erq->length <= 5 ? 5 : 13; in r8711_wx_set_enc() 1592 struct iw_point *erq = &wrqu->encoding; in r8711_wx_get_enc() local 1598 erq->length = 0; in r8711_wx_get_enc() 1599 erq->flags |= IW_ENCODE_DISABLED; in r8711_wx_get_enc() [all …]
|
/linux-5.19.10/drivers/net/wireless/zydas/ |
D | zd1201.c | 1389 struct iw_request_info *info, struct iw_point *erq, char *key) in zd1201_set_encode() argument 1395 if (erq->length > ZD1201_MAXKEYLEN) in zd1201_set_encode() 1398 i = (erq->flags & IW_ENCODE_INDEX)-1; in zd1201_set_encode() 1413 err = zd1201_setconfig(zd, rid, key, erq->length, 1); in zd1201_set_encode() 1416 zd->encode_keylen[i] = erq->length; in zd1201_set_encode() 1417 memcpy(zd->encode_keys[i], key, erq->length); in zd1201_set_encode() 1420 if (!(erq->flags & IW_ENCODE_DISABLED & IW_ENCODE_MODE)) { in zd1201_set_encode() 1425 if (erq->flags & IW_ENCODE_RESTRICTED & IW_ENCODE_MODE) { in zd1201_set_encode() 1446 struct iw_request_info *info, struct iw_point *erq, char *key) in zd1201_get_encode() argument 1453 erq->flags = IW_ENCODE_ENABLED; in zd1201_get_encode() [all …]
|
/linux-5.19.10/drivers/gpu/drm/i915/ |
D | i915_gpu_error.c | 496 const struct i915_request_coredump *erq) in error_print_request() argument 498 if (!erq->seqno) in error_print_request() 502 prefix, erq->pid, erq->context, erq->seqno, in error_print_request() 504 &erq->flags) ? "!" : "", in error_print_request() 506 &erq->flags) ? "+" : "", in error_print_request() 507 erq->sched_attr.priority, in error_print_request() 508 erq->head, erq->tail); in error_print_request() 1299 struct i915_request_coredump *erq) in record_request() argument 1301 erq->flags = request->fence.flags; in record_request() 1302 erq->context = request->fence.context; in record_request() [all …]
|
/linux-5.19.10/drivers/net/wireless/intersil/hostap/ |
D | hostap_ioctl.c | 116 struct iw_point *erq, char *keybuf) in prism2_ioctl_siwencode() argument 126 i = erq->flags & IW_ENCODE_INDEX; in prism2_ioctl_siwencode() 136 if (erq->flags & IW_ENCODE_DISABLED) { in prism2_ioctl_siwencode() 175 if (erq->length > 0) { in prism2_ioctl_siwencode() 176 int len = erq->length <= 5 ? 5 : 13; in prism2_ioctl_siwencode() 178 if (len > erq->length) in prism2_ioctl_siwencode() 179 memset(keybuf + erq->length, 0, len - erq->length); in prism2_ioctl_siwencode() 195 local->open_wep = erq->flags & IW_ENCODE_OPEN; in prism2_ioctl_siwencode() 218 struct iw_point *erq, char *key) in prism2_ioctl_giwencode() argument 229 i = erq->flags & IW_ENCODE_INDEX; in prism2_ioctl_giwencode() [all …]
|
/linux-5.19.10/drivers/staging/r8188eu/os_dep/ |
D | ioctl_linux.c | 1537 struct iw_point *erq = &wrqu->encoding; in rtw_wx_set_enc() local 1543 key = erq->flags & IW_ENCODE_INDEX; in rtw_wx_set_enc() 1547 if (erq->flags & IW_ENCODE_DISABLED) { in rtw_wx_set_enc() 1569 if (erq->flags & IW_ENCODE_OPEN) { in rtw_wx_set_enc() 1576 } else if (erq->flags & IW_ENCODE_RESTRICTED) { in rtw_wx_set_enc() 1593 if (erq->length > 0) { in rtw_wx_set_enc() 1594 wep.KeyLength = erq->length <= 5 ? 5 : 13; in rtw_wx_set_enc() 1643 struct iw_point *erq = &wrqu->encoding; in rtw_wx_get_enc() local 1650 erq->length = 0; in rtw_wx_get_enc() 1651 erq->flags |= IW_ENCODE_DISABLED; in rtw_wx_get_enc() [all …]
|