Lines Matching defs:wlvif
80 static int wl1271_scan_send(struct wl1271 *wl, struct wl12xx_vif *wlvif,
84 struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif);
108 if (wlcore_is_p2p_mgmt(wlvif))
109 cmd->params.role_id = wlvif->dev_role_id;
111 cmd->params.role_id = wlvif->role_id;
145 ret = wl12xx_cmd_build_probe_req(wl, wlvif,
177 int wl12xx_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif)
204 void wl1271_scan_stm(struct wl1271 *wl, struct wl12xx_vif *wlvif)
216 mask = wlvif->bitrate_masks[band];
223 ret = wl1271_scan_send(wl, wlvif, band, false, rate);
226 wl1271_scan_stm(wl, wlvif);
233 mask = wlvif->bitrate_masks[band];
240 ret = wl1271_scan_send(wl, wlvif, band, true, rate);
246 wl1271_scan_stm(wl, wlvif);
253 rate = wl1271_tx_min_rate_get(wl, wlvif->bitrate_masks[band]);
254 ret = wl1271_scan_send(wl, wlvif, band, false, rate);
257 wl1271_scan_stm(wl, wlvif);
264 rate = wl1271_tx_min_rate_get(wl, wlvif->bitrate_masks[band]);
265 ret = wl1271_scan_send(wl, wlvif, band, true, rate);
268 wl1271_scan_stm(wl, wlvif);
308 struct wl12xx_vif *wlvif,
324 cfg->role_id = wlvif->role_id;
343 ret = wlcore_scan_sched_scan_ssid_list(wl, wlvif, req);
368 ret = wl12xx_cmd_build_probe_req(wl, wlvif,
369 wlvif->role_id, band,
385 ret = wl12xx_cmd_build_probe_req(wl, wlvif,
386 wlvif->role_id, band,
414 int wl1271_scan_sched_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif)
421 if (wlvif->bss_type != BSS_TYPE_STA_BSS)
425 test_bit(WLVIF_FLAG_IN_USE, &wlvif->flags))
432 start->role_id = wlvif->role_id;
447 int wl12xx_sched_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif,
453 ret = wl1271_scan_sched_scan_config(wl, wlvif, req, ies);
457 return wl1271_scan_sched_scan_start(wl, wlvif);
460 void wl12xx_scan_sched_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif)
474 stop->role_id = wlvif->role_id;
488 int wl12xx_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif,
491 wl1271_scan_stm(wl, wlvif);
495 void wl12xx_scan_completed(struct wl1271 *wl, struct wl12xx_vif *wlvif)
497 wl1271_scan_stm(wl, wlvif);