Lines Matching refs:cmd_channels
27 struct wlcore_scan_channels *cmd_channels) in wl18xx_adjust_channels() argument
29 memcpy(cmd->passive, cmd_channels->passive, sizeof(cmd->passive)); in wl18xx_adjust_channels()
30 memcpy(cmd->active, cmd_channels->active, sizeof(cmd->active)); in wl18xx_adjust_channels()
31 cmd->dfs = cmd_channels->dfs; in wl18xx_adjust_channels()
32 cmd->passive_active = cmd_channels->passive_active; in wl18xx_adjust_channels()
34 memcpy(cmd->channels_2, cmd_channels->channels_2, in wl18xx_adjust_channels()
36 memcpy(cmd->channels_5, cmd_channels->channels_5, in wl18xx_adjust_channels()
45 struct wlcore_scan_channels *cmd_channels = NULL; in wl18xx_scan_send() local
84 cmd_channels = kzalloc(sizeof(*cmd_channels), GFP_KERNEL); in wl18xx_scan_send()
85 if (!cmd_channels) { in wl18xx_scan_send()
90 wlcore_set_scan_chan_params(wl, cmd_channels, req->channels, in wl18xx_scan_send()
93 wl18xx_adjust_channels(cmd, cmd_channels); in wl18xx_scan_send()
155 kfree(cmd_channels); in wl18xx_scan_send()
175 struct wlcore_scan_channels *cmd_channels = NULL; in wl18xx_scan_sched_scan_config() local
218 cmd_channels = kzalloc(sizeof(*cmd_channels), GFP_KERNEL); in wl18xx_scan_sched_scan_config()
219 if (!cmd_channels) { in wl18xx_scan_sched_scan_config()
225 wlcore_set_scan_chan_params(wl, cmd_channels, req->channels, in wl18xx_scan_sched_scan_config()
228 wl18xx_adjust_channels(cmd, cmd_channels); in wl18xx_scan_sched_scan_config()
298 kfree(cmd_channels); in wl18xx_scan_sched_scan_config()