Searched refs:bgscan_cfg (Results 1 – 2 of 2) sorted by relevance
2740 struct mwifiex_bg_scan_cfg *bgscan_cfg; in mwifiex_cfg80211_sched_scan_start() local2755 bgscan_cfg = kzalloc(sizeof(*bgscan_cfg), GFP_KERNEL); in mwifiex_cfg80211_sched_scan_start()2756 if (!bgscan_cfg) in mwifiex_cfg80211_sched_scan_start()2760 bgscan_cfg->start_later = true; in mwifiex_cfg80211_sched_scan_start()2762 bgscan_cfg->num_ssids = request->n_match_sets; in mwifiex_cfg80211_sched_scan_start()2763 bgscan_cfg->ssid_list = request->match_sets; in mwifiex_cfg80211_sched_scan_start()2783 bgscan_cfg->chan_list[i].chan_number = chan->hw_value; in mwifiex_cfg80211_sched_scan_start()2784 bgscan_cfg->chan_list[i].radio_type = chan->band; in mwifiex_cfg80211_sched_scan_start()2787 bgscan_cfg->chan_list[i].scan_type = in mwifiex_cfg80211_sched_scan_start()2790 bgscan_cfg->chan_list[i].scan_type = in mwifiex_cfg80211_sched_scan_start()[all …]
2457 struct mwifiex_bg_scan_cfg *bgscan_cfg; in mwifiex_stop_bg_scan() local2464 bgscan_cfg = kzalloc(sizeof(*bgscan_cfg), GFP_KERNEL); in mwifiex_stop_bg_scan()2465 if (!bgscan_cfg) in mwifiex_stop_bg_scan()2468 bgscan_cfg->bss_type = MWIFIEX_BSS_MODE_INFRA; in mwifiex_stop_bg_scan()2469 bgscan_cfg->action = MWIFIEX_BGSCAN_ACT_SET; in mwifiex_stop_bg_scan()2470 bgscan_cfg->enable = false; in mwifiex_stop_bg_scan()2473 HostCmd_ACT_GEN_SET, 0, bgscan_cfg, true)) { in mwifiex_stop_bg_scan()2474 kfree(bgscan_cfg); in mwifiex_stop_bg_scan()2478 kfree(bgscan_cfg); in mwifiex_stop_bg_scan()