Lines Matching refs:erq
589 struct iw_point *erq, char *keybuf) in cfg80211_wext_siwencode() argument
607 idx = erq->flags & IW_ENCODE_INDEX; in cfg80211_wext_siwencode()
617 if (erq->flags & IW_ENCODE_DISABLED) in cfg80211_wext_siwencode()
619 else if (erq->length == 0) { in cfg80211_wext_siwencode()
634 params.key_len = erq->length; in cfg80211_wext_siwencode()
635 if (erq->length == 5) in cfg80211_wext_siwencode()
637 else if (erq->length == 13) in cfg80211_wext_siwencode()
649 struct iw_point *erq, char *extra) in cfg80211_wext_siwencodeext() argument
696 if (erq->flags & IW_ENCODE_DISABLED) in cfg80211_wext_siwencodeext()
699 idx = erq->flags & IW_ENCODE_INDEX; in cfg80211_wext_siwencodeext()
740 struct iw_point *erq, char *keybuf) in cfg80211_wext_giwencode() argument
749 idx = erq->flags & IW_ENCODE_INDEX; in cfg80211_wext_giwencode()
759 erq->flags = idx + 1; in cfg80211_wext_giwencode()
762 erq->flags |= IW_ENCODE_DISABLED; in cfg80211_wext_giwencode()
763 erq->length = 0; in cfg80211_wext_giwencode()
767 erq->length = min_t(size_t, erq->length, in cfg80211_wext_giwencode()
769 memcpy(keybuf, wdev->wext.keys->params[idx].key, erq->length); in cfg80211_wext_giwencode()
770 erq->flags |= IW_ENCODE_ENABLED; in cfg80211_wext_giwencode()