Searched refs:cmd_channels (Results 1 – 2 of 2) sorted by relevance
/drivers/net/wireless/ti/wl18xx/ |
D | scan.c | 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() [all …]
|
/drivers/net/wireless/ti/wl12xx/ |
D | scan.c | 293 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()
|