Lines Matching refs:wl
41 static int wl18xx_scan_send(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl18xx_scan_send() argument
78 cmd->n_probe_reqs = wl->conf.scan.num_probe_reqs; in wl18xx_scan_send()
90 wlcore_set_scan_chan_params(wl, cmd_channels, req->channels, in wl18xx_scan_send()
114 ret = wl12xx_cmd_build_probe_req(wl, wlvif, in wl18xx_scan_send()
131 ret = wl12xx_cmd_build_probe_req(wl, wlvif, in wl18xx_scan_send()
148 ret = wl1271_cmd_send(wl, CMD_SCAN, cmd, sizeof(*cmd), 0); in wl18xx_scan_send()
160 void wl18xx_scan_completed(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl18xx_scan_completed() argument
162 wl->scan.failed = false; in wl18xx_scan_completed()
163 cancel_delayed_work(&wl->scan_complete_work); in wl18xx_scan_completed()
164 ieee80211_queue_delayed_work(wl->hw, &wl->scan_complete_work, in wl18xx_scan_completed()
169 int wl18xx_scan_sched_scan_config(struct wl1271 *wl, in wl18xx_scan_sched_scan_config() argument
176 struct conf_sched_scan_settings *c = &wl->conf.sched_scan; in wl18xx_scan_sched_scan_config()
182 filter_type = wlcore_scan_sched_scan_ssid_list(wl, wlvif, req); in wl18xx_scan_sched_scan_config()
225 wlcore_set_scan_chan_params(wl, cmd_channels, req->channels, in wl18xx_scan_sched_scan_config()
257 ret = wl12xx_cmd_build_probe_req(wl, wlvif, in wl18xx_scan_sched_scan_config()
274 ret = wl12xx_cmd_build_probe_req(wl, wlvif, in wl18xx_scan_sched_scan_config()
291 ret = wl1271_cmd_send(wl, CMD_SCAN, cmd, sizeof(*cmd), 0); in wl18xx_scan_sched_scan_config()
303 int wl18xx_sched_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl18xx_sched_scan_start() argument
307 return wl18xx_scan_sched_scan_config(wl, wlvif, req, ies); in wl18xx_sched_scan_start()
310 static int __wl18xx_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif, in __wl18xx_scan_stop() argument
327 ret = wl1271_cmd_send(wl, CMD_STOP_SCAN, stop, sizeof(*stop), 0); in __wl18xx_scan_stop()
338 void wl18xx_scan_sched_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl18xx_scan_sched_scan_stop() argument
340 __wl18xx_scan_stop(wl, wlvif, SCAN_TYPE_PERIODIC); in wl18xx_scan_sched_scan_stop()
342 int wl18xx_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl18xx_scan_start() argument
345 return wl18xx_scan_send(wl, wlvif, req); in wl18xx_scan_start()
348 int wl18xx_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl18xx_scan_stop() argument
350 return __wl18xx_scan_stop(wl, wlvif, SCAN_TYPE_SEARCH); in wl18xx_scan_stop()