Lines Matching refs:bgscan_cfg
2740 struct mwifiex_bg_scan_cfg *bgscan_cfg; in mwifiex_cfg80211_sched_scan_start() local
2755 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()
2793 bgscan_cfg->chan_list[i].scan_time = 0; in mwifiex_cfg80211_sched_scan_start()
2796 bgscan_cfg->chan_per_scan = min_t(u32, request->n_channels, in mwifiex_cfg80211_sched_scan_start()
2800 bgscan_cfg->scan_interval = (request->scan_plans->interval > in mwifiex_cfg80211_sched_scan_start()
2805 bgscan_cfg->repeat_count = MWIFIEX_BGSCAN_REPEAT_COUNT; in mwifiex_cfg80211_sched_scan_start()
2806 bgscan_cfg->report_condition = MWIFIEX_BGSCAN_SSID_MATCH | in mwifiex_cfg80211_sched_scan_start()
2808 bgscan_cfg->bss_type = MWIFIEX_BSS_MODE_INFRA; in mwifiex_cfg80211_sched_scan_start()
2809 bgscan_cfg->action = MWIFIEX_BGSCAN_ACT_SET; in mwifiex_cfg80211_sched_scan_start()
2810 bgscan_cfg->enable = true; in mwifiex_cfg80211_sched_scan_start()
2812 bgscan_cfg->report_condition |= MWIFIEX_BGSCAN_SSID_RSSI_MATCH; in mwifiex_cfg80211_sched_scan_start()
2813 bgscan_cfg->rssi_threshold = request->min_rssi_thold; in mwifiex_cfg80211_sched_scan_start()
2817 HostCmd_ACT_GEN_SET, 0, bgscan_cfg, true)) { in mwifiex_cfg80211_sched_scan_start()
2818 kfree(bgscan_cfg); in mwifiex_cfg80211_sched_scan_start()
2824 kfree(bgscan_cfg); in mwifiex_cfg80211_sched_scan_start()