Lines Matching refs:creq
3145 struct cfg80211_scan_request *creq; in cfg80211_wext_siwscan() local
3171 creq = kzalloc(sizeof(*creq) + sizeof(struct cfg80211_ssid) + in cfg80211_wext_siwscan()
3174 if (!creq) in cfg80211_wext_siwscan()
3177 creq->wiphy = wiphy; in cfg80211_wext_siwscan()
3178 creq->wdev = dev->ieee80211_ptr; in cfg80211_wext_siwscan()
3180 creq->ssids = (void *)&creq->channels[n_channels]; in cfg80211_wext_siwscan()
3181 creq->n_channels = n_channels; in cfg80211_wext_siwscan()
3182 creq->n_ssids = 1; in cfg80211_wext_siwscan()
3183 creq->scan_start = jiffies; in cfg80211_wext_siwscan()
3219 creq->channels[i] = &wiphy->bands[band]->channels[j]; in cfg80211_wext_siwscan()
3231 creq->n_channels = i; in cfg80211_wext_siwscan()
3240 memcpy(creq->ssids[0].ssid, wreq->essid, wreq->essid_len); in cfg80211_wext_siwscan()
3241 creq->ssids[0].ssid_len = wreq->essid_len; in cfg80211_wext_siwscan()
3244 creq->n_ssids = 0; in cfg80211_wext_siwscan()
3249 creq->rates[i] = (1 << wiphy->bands[i]->n_bitrates) - 1; in cfg80211_wext_siwscan()
3251 eth_broadcast_addr(creq->bssid); in cfg80211_wext_siwscan()
3255 rdev->scan_req = creq; in cfg80211_wext_siwscan()
3256 err = rdev_scan(rdev, creq); in cfg80211_wext_siwscan()
3263 creq = NULL; in cfg80211_wext_siwscan()
3268 kfree(creq); in cfg80211_wext_siwscan()