Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireless/ti/wl18xx/
H A Dscan.c13 struct wlcore_scan_channels *cmd_channels) in wl18xx_adjust_channels() argument
17 cmd->dfs = cmd_channels->dfs; in wl18xx_adjust_channels()
20 memcpy(cmd->channels_2, cmd_channels->channels_2, in wl18xx_adjust_channels()
70 cmd_channels = kzalloc(sizeof(*cmd_channels), GFP_KERNEL); in wl18xx_scan_send()
71 if (!cmd_channels) { in wl18xx_scan_send()
79 wl18xx_adjust_channels(cmd, cmd_channels); in wl18xx_scan_send()
141 kfree(cmd_channels); in wl18xx_scan_send()
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()
214 wl18xx_adjust_channels(cmd, cmd_channels); in wl18xx_scan_sched_scan_config()
[all …]
/openbmc/linux/drivers/net/wireless/ti/wl12xx/
H A Dscan.c293 struct wlcore_scan_channels *cmd_channels) in wl12xx_adjust_channels() argument
295 memcpy(cmd->passive, cmd_channels->passive, sizeof(cmd->passive)); in wl12xx_adjust_channels()
296 memcpy(cmd->active, cmd_channels->active, sizeof(cmd->active)); in wl12xx_adjust_channels()
297 cmd->dfs = cmd_channels->dfs; in wl12xx_adjust_channels()
298 cmd->n_pactive_ch = cmd_channels->passive_active; in wl12xx_adjust_channels()
300 memcpy(cmd->channels_2, cmd_channels->channels_2, in wl12xx_adjust_channels()
302 memcpy(cmd->channels_5, cmd_channels->channels_5, in wl12xx_adjust_channels()