Searched refs:user_scan_cfg (Results 1 – 2 of 2) sorted by relevance
1920 struct mwifiex_user_scan_cfg *user_scan_cfg; in mwifiex_active_scan_req_for_passive_chan() local1931 user_scan_cfg = kzalloc(sizeof(*user_scan_cfg), GFP_KERNEL); in mwifiex_active_scan_req_for_passive_chan()1933 if (!user_scan_cfg) in mwifiex_active_scan_req_for_passive_chan()1936 memset(user_scan_cfg, 0, sizeof(*user_scan_cfg)); in mwifiex_active_scan_req_for_passive_chan()1941 memcpy(&user_scan_cfg->chan_list[id], in mwifiex_active_scan_req_for_passive_chan()1947 user_scan_cfg->num_ssids = priv->scan_request->n_ssids; in mwifiex_active_scan_req_for_passive_chan()1948 user_scan_cfg->ssid_list = priv->scan_request->ssids; in mwifiex_active_scan_req_for_passive_chan()1950 ret = mwifiex_scan_networks(priv, user_scan_cfg); in mwifiex_active_scan_req_for_passive_chan()1951 kfree(user_scan_cfg); in mwifiex_active_scan_req_for_passive_chan()
2411 struct mwifiex_user_scan_cfg *user_scan_cfg; in mwifiex_cfg80211_scan() local2425 user_scan_cfg = kzalloc(sizeof(*user_scan_cfg), GFP_KERNEL); in mwifiex_cfg80211_scan()2426 if (!user_scan_cfg) in mwifiex_cfg80211_scan()2431 user_scan_cfg->num_ssids = request->n_ssids; in mwifiex_cfg80211_scan()2432 user_scan_cfg->ssid_list = request->ssids; in mwifiex_cfg80211_scan()2452 user_scan_cfg->chan_list[i].chan_number = chan->hw_value; in mwifiex_cfg80211_scan()2453 user_scan_cfg->chan_list[i].radio_type = chan->band; in mwifiex_cfg80211_scan()2456 user_scan_cfg->chan_list[i].scan_type = in mwifiex_cfg80211_scan()2459 user_scan_cfg->chan_list[i].scan_type = in mwifiex_cfg80211_scan()2462 user_scan_cfg->chan_list[i].scan_time = 0; in mwifiex_cfg80211_scan()[all …]