Searched refs:cmd_channels (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/net/wireless/ti/wl18xx/
H A Dscan.c27 struct wlcore_scan_channels *cmd_channels) wl18xx_adjust_channels()
29 memcpy(cmd->passive, cmd_channels->passive, sizeof(cmd->passive)); wl18xx_adjust_channels()
30 memcpy(cmd->active, cmd_channels->active, sizeof(cmd->active)); wl18xx_adjust_channels()
31 cmd->dfs = cmd_channels->dfs; wl18xx_adjust_channels()
32 cmd->passive_active = cmd_channels->passive_active; wl18xx_adjust_channels()
34 memcpy(cmd->channels_2, cmd_channels->channels_2, wl18xx_adjust_channels()
36 memcpy(cmd->channels_5, cmd_channels->channels_5, wl18xx_adjust_channels()
45 struct wlcore_scan_channels *cmd_channels = NULL; wl18xx_scan_send() local
80 cmd_channels = kzalloc(sizeof(*cmd_channels), GFP_KERNEL); wl18xx_scan_send()
81 if (!cmd_channels) { wl18xx_scan_send()
86 wlcore_set_scan_chan_params(wl, cmd_channels, req->channels, wl18xx_scan_send()
89 wl18xx_adjust_channels(cmd, cmd_channels); wl18xx_scan_send()
151 kfree(cmd_channels); wl18xx_scan_send()
171 struct wlcore_scan_channels *cmd_channels = NULL; wl18xx_scan_sched_scan_config() local
214 cmd_channels = kzalloc(sizeof(*cmd_channels), GFP_KERNEL); wl18xx_scan_sched_scan_config()
215 if (!cmd_channels) { wl18xx_scan_sched_scan_config()
221 wlcore_set_scan_chan_params(wl, cmd_channels, req->channels, wl18xx_scan_sched_scan_config()
224 wl18xx_adjust_channels(cmd, cmd_channels); wl18xx_scan_sched_scan_config()
281 kfree(cmd_channels); wl18xx_scan_sched_scan_config()
26 wl18xx_adjust_channels(struct wl18xx_cmd_scan_params *cmd, struct wlcore_scan_channels *cmd_channels) wl18xx_adjust_channels() argument
/linux-4.1.27/drivers/net/wireless/ti/wl12xx/
H A Dscan.c303 struct wlcore_scan_channels *cmd_channels) wl12xx_adjust_channels()
305 memcpy(cmd->passive, cmd_channels->passive, sizeof(cmd->passive)); wl12xx_adjust_channels()
306 memcpy(cmd->active, cmd_channels->active, sizeof(cmd->active)); wl12xx_adjust_channels()
307 cmd->dfs = cmd_channels->dfs; wl12xx_adjust_channels()
308 cmd->n_pactive_ch = cmd_channels->passive_active; wl12xx_adjust_channels()
310 memcpy(cmd->channels_2, cmd_channels->channels_2, wl12xx_adjust_channels()
312 memcpy(cmd->channels_5, cmd_channels->channels_5, wl12xx_adjust_channels()
302 wl12xx_adjust_channels(struct wl1271_cmd_sched_scan_config *cmd, struct wlcore_scan_channels *cmd_channels) wl12xx_adjust_channels() argument

Completed in 159 milliseconds