Lines Matching refs:wreq
3181 struct iw_scan_req *wreq = NULL; in cfg80211_wext_siwscan() local
3190 wreq = (struct iw_scan_req *)extra; in cfg80211_wext_siwscan()
3203 if (wreq && wreq->num_channels) { in cfg80211_wext_siwscan()
3205 if (unlikely(wreq->num_channels > IW_MAX_FREQUENCIES)) in cfg80211_wext_siwscan()
3207 n_channels = wreq->num_channels; in cfg80211_wext_siwscan()
3244 if (wreq && wreq->num_channels) { in cfg80211_wext_siwscan()
3247 for (k = 0; k < wreq->num_channels; k++) { in cfg80211_wext_siwscan()
3249 &wreq->channel_list[k]; in cfg80211_wext_siwscan()
3275 if (wreq) { in cfg80211_wext_siwscan()
3277 if (wreq->essid_len > IEEE80211_MAX_SSID_LEN) { in cfg80211_wext_siwscan()
3281 memcpy(creq->ssids[0].ssid, wreq->essid, wreq->essid_len); in cfg80211_wext_siwscan()
3282 creq->ssids[0].ssid_len = wreq->essid_len; in cfg80211_wext_siwscan()
3284 if (wreq->scan_type == IW_SCAN_TYPE_PASSIVE) { in cfg80211_wext_siwscan()