Lines Matching refs:wl
41 static int wl18xx_scan_send(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl18xx_scan_send() argument
74 cmd->n_probe_reqs = wl->conf.scan.num_probe_reqs; in wl18xx_scan_send()
86 wlcore_set_scan_chan_params(wl, cmd_channels, req->channels, in wl18xx_scan_send()
110 ret = wl12xx_cmd_build_probe_req(wl, wlvif, in wl18xx_scan_send()
127 ret = wl12xx_cmd_build_probe_req(wl, wlvif, in wl18xx_scan_send()
144 ret = wl1271_cmd_send(wl, CMD_SCAN, cmd, sizeof(*cmd), 0); in wl18xx_scan_send()
156 void wl18xx_scan_completed(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl18xx_scan_completed() argument
158 wl->scan.failed = false; in wl18xx_scan_completed()
159 cancel_delayed_work(&wl->scan_complete_work); in wl18xx_scan_completed()
160 ieee80211_queue_delayed_work(wl->hw, &wl->scan_complete_work, in wl18xx_scan_completed()
165 int wl18xx_scan_sched_scan_config(struct wl1271 *wl, in wl18xx_scan_sched_scan_config() argument
172 struct conf_sched_scan_settings *c = &wl->conf.sched_scan; in wl18xx_scan_sched_scan_config()
178 filter_type = wlcore_scan_sched_scan_ssid_list(wl, wlvif, req); in wl18xx_scan_sched_scan_config()
221 wlcore_set_scan_chan_params(wl, cmd_channels, req->channels, in wl18xx_scan_sched_scan_config()
240 ret = wl12xx_cmd_build_probe_req(wl, wlvif, in wl18xx_scan_sched_scan_config()
257 ret = wl12xx_cmd_build_probe_req(wl, wlvif, in wl18xx_scan_sched_scan_config()
274 ret = wl1271_cmd_send(wl, CMD_SCAN, cmd, sizeof(*cmd), 0); in wl18xx_scan_sched_scan_config()
286 int wl18xx_sched_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl18xx_sched_scan_start() argument
290 return wl18xx_scan_sched_scan_config(wl, wlvif, req, ies); in wl18xx_sched_scan_start()
293 static int __wl18xx_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif, in __wl18xx_scan_stop() argument
310 ret = wl1271_cmd_send(wl, CMD_STOP_SCAN, stop, sizeof(*stop), 0); in __wl18xx_scan_stop()
321 void wl18xx_scan_sched_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl18xx_scan_sched_scan_stop() argument
323 __wl18xx_scan_stop(wl, wlvif, SCAN_TYPE_PERIODIC); in wl18xx_scan_sched_scan_stop()
325 int wl18xx_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl18xx_scan_start() argument
328 return wl18xx_scan_send(wl, wlvif, req); in wl18xx_scan_start()
331 int wl18xx_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl18xx_scan_stop() argument
333 return __wl18xx_scan_stop(wl, wlvif, SCAN_TYPE_SEARCH); in wl18xx_scan_stop()