Lines Matching refs:cmd_channels
13 struct wlcore_scan_channels *cmd_channels) in wl18xx_adjust_channels() argument
15 memcpy(cmd->passive, cmd_channels->passive, sizeof(cmd->passive)); in wl18xx_adjust_channels()
16 memcpy(cmd->active, cmd_channels->active, sizeof(cmd->active)); in wl18xx_adjust_channels()
17 cmd->dfs = cmd_channels->dfs; in wl18xx_adjust_channels()
18 cmd->passive_active = cmd_channels->passive_active; in wl18xx_adjust_channels()
20 memcpy(cmd->channels_2, cmd_channels->channels_2, in wl18xx_adjust_channels()
22 memcpy(cmd->channels_5, cmd_channels->channels_5, in wl18xx_adjust_channels()
31 struct wlcore_scan_channels *cmd_channels = NULL; in wl18xx_scan_send() local
70 cmd_channels = kzalloc(sizeof(*cmd_channels), GFP_KERNEL); in wl18xx_scan_send()
71 if (!cmd_channels) { in wl18xx_scan_send()
76 wlcore_set_scan_chan_params(wl, cmd_channels, req->channels, in wl18xx_scan_send()
79 wl18xx_adjust_channels(cmd, cmd_channels); in wl18xx_scan_send()
141 kfree(cmd_channels); in wl18xx_scan_send()
161 struct wlcore_scan_channels *cmd_channels = NULL; in wl18xx_scan_sched_scan_config() local
204 cmd_channels = kzalloc(sizeof(*cmd_channels), GFP_KERNEL); in wl18xx_scan_sched_scan_config()
205 if (!cmd_channels) { in wl18xx_scan_sched_scan_config()
211 wlcore_set_scan_chan_params(wl, cmd_channels, req->channels, in wl18xx_scan_sched_scan_config()
214 wl18xx_adjust_channels(cmd, cmd_channels); in wl18xx_scan_sched_scan_config()
284 kfree(cmd_channels); in wl18xx_scan_sched_scan_config()