Lines Matching refs:wlvif
94 static int wl1271_scan_send(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_scan_send() argument
98 struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif); in wl1271_scan_send()
121 cmd->params.role_id = wlvif->role_id; in wl1271_scan_send()
155 ret = wl12xx_cmd_build_probe_req(wl, wlvif, in wl1271_scan_send()
187 int wl12xx_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl12xx_scan_stop() argument
214 void wl1271_scan_stm(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl1271_scan_stm() argument
226 mask = wlvif->bitrate_masks[band]; in wl1271_scan_stm()
233 ret = wl1271_scan_send(wl, wlvif, band, false, rate); in wl1271_scan_stm()
236 wl1271_scan_stm(wl, wlvif); in wl1271_scan_stm()
243 mask = wlvif->bitrate_masks[band]; in wl1271_scan_stm()
250 ret = wl1271_scan_send(wl, wlvif, band, true, rate); in wl1271_scan_stm()
256 wl1271_scan_stm(wl, wlvif); in wl1271_scan_stm()
263 rate = wl1271_tx_min_rate_get(wl, wlvif->bitrate_masks[band]); in wl1271_scan_stm()
264 ret = wl1271_scan_send(wl, wlvif, band, false, rate); in wl1271_scan_stm()
267 wl1271_scan_stm(wl, wlvif); in wl1271_scan_stm()
274 rate = wl1271_tx_min_rate_get(wl, wlvif->bitrate_masks[band]); in wl1271_scan_stm()
275 ret = wl1271_scan_send(wl, wlvif, band, true, rate); in wl1271_scan_stm()
278 wl1271_scan_stm(wl, wlvif); in wl1271_scan_stm()
318 struct wl12xx_vif *wlvif, in wl1271_scan_sched_scan_config() argument
334 cfg->role_id = wlvif->role_id; in wl1271_scan_sched_scan_config()
352 ret = wlcore_scan_sched_scan_ssid_list(wl, wlvif, req); in wl1271_scan_sched_scan_config()
377 ret = wl12xx_cmd_build_probe_req(wl, wlvif, in wl1271_scan_sched_scan_config()
378 wlvif->role_id, band, in wl1271_scan_sched_scan_config()
394 ret = wl12xx_cmd_build_probe_req(wl, wlvif, in wl1271_scan_sched_scan_config()
395 wlvif->role_id, band, in wl1271_scan_sched_scan_config()
423 int wl1271_scan_sched_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl1271_scan_sched_scan_start() argument
430 if (wlvif->bss_type != BSS_TYPE_STA_BSS) in wl1271_scan_sched_scan_start()
434 test_bit(WLVIF_FLAG_IN_USE, &wlvif->flags)) in wl1271_scan_sched_scan_start()
441 start->role_id = wlvif->role_id; in wl1271_scan_sched_scan_start()
456 int wl12xx_sched_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl12xx_sched_scan_start() argument
462 ret = wl1271_scan_sched_scan_config(wl, wlvif, req, ies); in wl12xx_sched_scan_start()
466 return wl1271_scan_sched_scan_start(wl, wlvif); in wl12xx_sched_scan_start()
469 void wl12xx_scan_sched_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl12xx_scan_sched_scan_stop() argument
483 stop->role_id = wlvif->role_id; in wl12xx_scan_sched_scan_stop()
497 int wl12xx_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl12xx_scan_start() argument
500 wl1271_scan_stm(wl, wlvif); in wl12xx_scan_start()
504 void wl12xx_scan_completed(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl12xx_scan_completed() argument
506 wl1271_scan_stm(wl, wlvif); in wl12xx_scan_completed()