Lines Matching refs:creq
2862 struct cfg80211_scan_request *creq; in cfg80211_wext_siwscan() local
2888 creq = kzalloc(sizeof(*creq) + sizeof(struct cfg80211_ssid) + in cfg80211_wext_siwscan()
2891 if (!creq) in cfg80211_wext_siwscan()
2894 creq->wiphy = wiphy; in cfg80211_wext_siwscan()
2895 creq->wdev = dev->ieee80211_ptr; in cfg80211_wext_siwscan()
2897 creq->ssids = (void *)&creq->channels[n_channels]; in cfg80211_wext_siwscan()
2898 creq->n_channels = n_channels; in cfg80211_wext_siwscan()
2899 creq->n_ssids = 1; in cfg80211_wext_siwscan()
2900 creq->scan_start = jiffies; in cfg80211_wext_siwscan()
2936 creq->channels[i] = &wiphy->bands[band]->channels[j]; in cfg80211_wext_siwscan()
2948 creq->n_channels = i; in cfg80211_wext_siwscan()
2957 memcpy(creq->ssids[0].ssid, wreq->essid, wreq->essid_len); in cfg80211_wext_siwscan()
2958 creq->ssids[0].ssid_len = wreq->essid_len; in cfg80211_wext_siwscan()
2961 creq->n_ssids = 0; in cfg80211_wext_siwscan()
2966 creq->rates[i] = (1 << wiphy->bands[i]->n_bitrates) - 1; in cfg80211_wext_siwscan()
2968 eth_broadcast_addr(creq->bssid); in cfg80211_wext_siwscan()
2972 rdev->scan_req = creq; in cfg80211_wext_siwscan()
2973 err = rdev_scan(rdev, creq); in cfg80211_wext_siwscan()
2980 creq = NULL; in cfg80211_wext_siwscan()
2985 kfree(creq); in cfg80211_wext_siwscan()