Lines Matching refs:creq
1274 struct cfg80211_scan_request *creq = NULL; in _new_connect_scan_req() local
1278 creq = kzalloc(sizeof(*creq) + sizeof(struct cfg80211_ssid) + in _new_connect_scan_req()
1281 if (!creq) in _new_connect_scan_req()
1285 creq->ssids = (void *)&creq->channels[n_channels]; in _new_connect_scan_req()
1286 creq->n_channels = n_channels; in _new_connect_scan_req()
1287 creq->n_ssids = 1; in _new_connect_scan_req()
1303 creq->channels[i] = &wiphy->bands[band]->channels[j]; in _new_connect_scan_req()
1309 creq->n_channels = i; in _new_connect_scan_req()
1312 memcpy(creq->ssids[0].ssid, sme->ssid, sme->ssid_len); in _new_connect_scan_req()
1313 creq->ssids[0].ssid_len = sme->ssid_len; in _new_connect_scan_req()
1316 kfree(creq); in _new_connect_scan_req()
1317 creq = NULL; in _new_connect_scan_req()
1320 return creq; in _new_connect_scan_req()
1335 struct cfg80211_scan_request *creq; in lbs_cfg_connect() local
1346 creq = _new_connect_scan_req(wiphy, sme); in lbs_cfg_connect()
1347 if (!creq) { in lbs_cfg_connect()
1353 _internal_start_scan(priv, true, creq); in lbs_cfg_connect()