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()
122 if (wlcore_is_p2p_mgmt(wlvif)) in wl1271_scan_send()
123 cmd->params.role_id = wlvif->dev_role_id; in wl1271_scan_send()
125 cmd->params.role_id = wlvif->role_id; in wl1271_scan_send()
159 ret = wl12xx_cmd_build_probe_req(wl, wlvif, in wl1271_scan_send()
191 int wl12xx_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl12xx_scan_stop() argument
218 void wl1271_scan_stm(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl1271_scan_stm() argument
230 mask = wlvif->bitrate_masks[band]; in wl1271_scan_stm()
237 ret = wl1271_scan_send(wl, wlvif, band, false, rate); in wl1271_scan_stm()
240 wl1271_scan_stm(wl, wlvif); in wl1271_scan_stm()
247 mask = wlvif->bitrate_masks[band]; in wl1271_scan_stm()
254 ret = wl1271_scan_send(wl, wlvif, band, true, rate); in wl1271_scan_stm()
260 wl1271_scan_stm(wl, wlvif); in wl1271_scan_stm()
267 rate = wl1271_tx_min_rate_get(wl, wlvif->bitrate_masks[band]); in wl1271_scan_stm()
268 ret = wl1271_scan_send(wl, wlvif, band, false, rate); in wl1271_scan_stm()
271 wl1271_scan_stm(wl, wlvif); in wl1271_scan_stm()
278 rate = wl1271_tx_min_rate_get(wl, wlvif->bitrate_masks[band]); in wl1271_scan_stm()
279 ret = wl1271_scan_send(wl, wlvif, band, true, rate); in wl1271_scan_stm()
282 wl1271_scan_stm(wl, wlvif); in wl1271_scan_stm()
322 struct wl12xx_vif *wlvif, in wl1271_scan_sched_scan_config() argument
338 cfg->role_id = wlvif->role_id; in wl1271_scan_sched_scan_config()
357 ret = wlcore_scan_sched_scan_ssid_list(wl, wlvif, req); in wl1271_scan_sched_scan_config()
382 ret = wl12xx_cmd_build_probe_req(wl, wlvif, in wl1271_scan_sched_scan_config()
383 wlvif->role_id, band, in wl1271_scan_sched_scan_config()
399 ret = wl12xx_cmd_build_probe_req(wl, wlvif, in wl1271_scan_sched_scan_config()
400 wlvif->role_id, band, in wl1271_scan_sched_scan_config()
428 int wl1271_scan_sched_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl1271_scan_sched_scan_start() argument
435 if (wlvif->bss_type != BSS_TYPE_STA_BSS) in wl1271_scan_sched_scan_start()
439 test_bit(WLVIF_FLAG_IN_USE, &wlvif->flags)) in wl1271_scan_sched_scan_start()
446 start->role_id = wlvif->role_id; in wl1271_scan_sched_scan_start()
461 int wl12xx_sched_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl12xx_sched_scan_start() argument
467 ret = wl1271_scan_sched_scan_config(wl, wlvif, req, ies); in wl12xx_sched_scan_start()
471 return wl1271_scan_sched_scan_start(wl, wlvif); in wl12xx_sched_scan_start()
474 void wl12xx_scan_sched_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl12xx_scan_sched_scan_stop() argument
488 stop->role_id = wlvif->role_id; in wl12xx_scan_sched_scan_stop()
502 int wl12xx_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl12xx_scan_start() argument
505 wl1271_scan_stm(wl, wlvif); in wl12xx_scan_start()
509 void wl12xx_scan_completed(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl12xx_scan_completed() argument
511 wl1271_scan_stm(wl, wlvif); in wl12xx_scan_completed()