Searched refs:bgscan_cfg (Results 1 – 2 of 2) sorted by relevance
2670 struct mwifiex_bg_scan_cfg *bgscan_cfg; in mwifiex_cfg80211_sched_scan_start() local2685 bgscan_cfg = kzalloc(sizeof(*bgscan_cfg), GFP_KERNEL); in mwifiex_cfg80211_sched_scan_start()2686 if (!bgscan_cfg) in mwifiex_cfg80211_sched_scan_start()2690 bgscan_cfg->start_later = true; in mwifiex_cfg80211_sched_scan_start()2692 bgscan_cfg->num_ssids = request->n_match_sets; in mwifiex_cfg80211_sched_scan_start()2693 bgscan_cfg->ssid_list = request->match_sets; in mwifiex_cfg80211_sched_scan_start()2713 bgscan_cfg->chan_list[i].chan_number = chan->hw_value; in mwifiex_cfg80211_sched_scan_start()2714 bgscan_cfg->chan_list[i].radio_type = chan->band; in mwifiex_cfg80211_sched_scan_start()2717 bgscan_cfg->chan_list[i].scan_type = in mwifiex_cfg80211_sched_scan_start()2720 bgscan_cfg->chan_list[i].scan_type = in mwifiex_cfg80211_sched_scan_start()[all …]
2475 struct mwifiex_bg_scan_cfg *bgscan_cfg; in mwifiex_stop_bg_scan() local2482 bgscan_cfg = kzalloc(sizeof(*bgscan_cfg), GFP_KERNEL); in mwifiex_stop_bg_scan()2483 if (!bgscan_cfg) in mwifiex_stop_bg_scan()2486 bgscan_cfg->bss_type = MWIFIEX_BSS_MODE_INFRA; in mwifiex_stop_bg_scan()2487 bgscan_cfg->action = MWIFIEX_BGSCAN_ACT_SET; in mwifiex_stop_bg_scan()2488 bgscan_cfg->enable = false; in mwifiex_stop_bg_scan()2491 HostCmd_ACT_GEN_SET, 0, bgscan_cfg, true)) { in mwifiex_stop_bg_scan()2492 kfree(bgscan_cfg); in mwifiex_stop_bg_scan()2496 kfree(bgscan_cfg); in mwifiex_stop_bg_scan()