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