Lines Matching refs:erq
602 struct iw_point *erq = &wrqu->encoding; in cfg80211_wext_siwencode() local
625 idx = erq->flags & IW_ENCODE_INDEX; in cfg80211_wext_siwencode()
637 if (erq->flags & IW_ENCODE_DISABLED) in cfg80211_wext_siwencode()
639 else if (erq->length == 0) { in cfg80211_wext_siwencode()
656 params.key_len = erq->length; in cfg80211_wext_siwencode()
657 if (erq->length == 5) { in cfg80211_wext_siwencode()
659 } else if (erq->length == 13) { in cfg80211_wext_siwencode()
679 struct iw_point *erq = &wrqu->encoding; in cfg80211_wext_siwencodeext() local
733 if (erq->flags & IW_ENCODE_DISABLED) in cfg80211_wext_siwencodeext()
736 idx = erq->flags & IW_ENCODE_INDEX; in cfg80211_wext_siwencodeext()
783 struct iw_point *erq = &wrqu->encoding; in cfg80211_wext_giwencode() local
791 idx = erq->flags & IW_ENCODE_INDEX; in cfg80211_wext_giwencode()
801 erq->flags = idx + 1; in cfg80211_wext_giwencode()
804 erq->flags |= IW_ENCODE_DISABLED; in cfg80211_wext_giwencode()
805 erq->length = 0; in cfg80211_wext_giwencode()
809 erq->length = min_t(size_t, erq->length, in cfg80211_wext_giwencode()
811 memcpy(keybuf, wdev->wext.keys->params[idx].key, erq->length); in cfg80211_wext_giwencode()
812 erq->flags |= IW_ENCODE_ENABLED; in cfg80211_wext_giwencode()