/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/drivers/staging/rtl8192e/ |
D | rtllib_wx.c | 280 struct iw_point *erq = &wrqu->encoding; in rtllib_wx_set_encode() local 288 key = erq->flags & IW_ENCODE_INDEX; in rtllib_wx_set_encode() 302 if (erq->flags & IW_ENCODE_DISABLED) { in rtllib_wx_set_encode() 372 if (erq->length > 0) { in rtllib_wx_set_encode() 373 len = erq->length <= 5 ? 5 : 13; in rtllib_wx_set_encode() 374 memcpy(sec.keys[key], keybuf, erq->length); in rtllib_wx_set_encode() 375 if (len > erq->length) in rtllib_wx_set_encode() 376 memset(sec.keys[key] + erq->length, 0, in rtllib_wx_set_encode() 377 len - erq->length); in rtllib_wx_set_encode() 379 key, escape_essid(sec.keys[key], len), erq->length, in rtllib_wx_set_encode() [all …]
|
/linux-6.1.9/net/wireless/ |
D | wext-compat.c | 591 struct iw_point *erq, char *keybuf) in cfg80211_wext_siwencode() argument 615 idx = erq->flags & IW_ENCODE_INDEX; in cfg80211_wext_siwencode() 627 if (erq->flags & IW_ENCODE_DISABLED) in cfg80211_wext_siwencode() 629 else if (erq->length == 0) { in cfg80211_wext_siwencode() 646 params.key_len = erq->length; in cfg80211_wext_siwencode() 647 if (erq->length == 5) { in cfg80211_wext_siwencode() 649 } else if (erq->length == 13) { in cfg80211_wext_siwencode() 667 struct iw_point *erq, char *extra) in cfg80211_wext_siwencodeext() argument 722 if (erq->flags & IW_ENCODE_DISABLED) in cfg80211_wext_siwencodeext() 725 idx = erq->flags & IW_ENCODE_INDEX; in cfg80211_wext_siwencodeext() [all …]
|
/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/drivers/gpu/drm/i915/ |
D | i915_gpu_error.c | 484 const struct i915_request_coredump *erq) in error_print_request() argument 486 if (!erq->seqno) in error_print_request() 490 prefix, erq->pid, erq->context, erq->seqno, in error_print_request() 492 &erq->flags) ? "!" : "", in error_print_request() 494 &erq->flags) ? "+" : "", in error_print_request() 495 erq->sched_attr.priority, in error_print_request() 496 erq->head, erq->tail); in error_print_request() 1335 struct i915_request_coredump *erq) in record_request() argument 1337 erq->flags = request->fence.flags; in record_request() 1338 erq->context = request->fence.context; in record_request() [all …]
|
/linux-6.1.9/drivers/staging/r8188eu/os_dep/ |
D | ioctl_linux.c | 1529 struct iw_point *erq = &wrqu->encoding; in rtw_wx_set_enc() local 1535 key = erq->flags & IW_ENCODE_INDEX; in rtw_wx_set_enc() 1539 if (erq->flags & IW_ENCODE_DISABLED) { in rtw_wx_set_enc() 1561 if (erq->flags & IW_ENCODE_OPEN) { in rtw_wx_set_enc() 1568 } else if (erq->flags & IW_ENCODE_RESTRICTED) { in rtw_wx_set_enc() 1585 if (erq->length > 0) { in rtw_wx_set_enc() 1586 wep.KeyLength = erq->length <= 5 ? 5 : 13; in rtw_wx_set_enc() 1635 struct iw_point *erq = &wrqu->encoding; in rtw_wx_get_enc() local 1642 erq->length = 0; in rtw_wx_get_enc() 1643 erq->flags |= IW_ENCODE_DISABLED; in rtw_wx_get_enc() [all …]
|