Searched refs:cmd_channels (Results 1 – 2 of 2) sorted by relevance
/drivers/net/wireless/ti/wl18xx/ |
D | scan.c | 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() [all …]
|
/drivers/net/wireless/ti/wl12xx/ |
D | scan.c | 307 struct wlcore_scan_channels *cmd_channels) in wl12xx_adjust_channels() argument 309 memcpy(cmd->passive, cmd_channels->passive, sizeof(cmd->passive)); in wl12xx_adjust_channels() 310 memcpy(cmd->active, cmd_channels->active, sizeof(cmd->active)); in wl12xx_adjust_channels() 311 cmd->dfs = cmd_channels->dfs; in wl12xx_adjust_channels() 312 cmd->n_pactive_ch = cmd_channels->passive_active; in wl12xx_adjust_channels() 314 memcpy(cmd->channels_2, cmd_channels->channels_2, in wl12xx_adjust_channels() 316 memcpy(cmd->channels_5, cmd_channels->channels_5, in wl12xx_adjust_channels()
|