Searched refs:user_scan_cfg (Results 1 – 2 of 2) sorted by relevance
1947 struct mwifiex_user_scan_cfg *user_scan_cfg; in mwifiex_active_scan_req_for_passive_chan() local1959 user_scan_cfg = kzalloc(sizeof(*user_scan_cfg), GFP_KERNEL); in mwifiex_active_scan_req_for_passive_chan()1961 if (!user_scan_cfg) in mwifiex_active_scan_req_for_passive_chan()1967 memcpy(&user_scan_cfg->chan_list[id], in mwifiex_active_scan_req_for_passive_chan()1974 ether_addr_copy(user_scan_cfg->random_mac, in mwifiex_active_scan_req_for_passive_chan()1976 user_scan_cfg->num_ssids = priv->scan_request->n_ssids; in mwifiex_active_scan_req_for_passive_chan()1977 user_scan_cfg->ssid_list = priv->scan_request->ssids; in mwifiex_active_scan_req_for_passive_chan()1979 ret = mwifiex_scan_networks(priv, user_scan_cfg); in mwifiex_active_scan_req_for_passive_chan()1980 kfree(user_scan_cfg); in mwifiex_active_scan_req_for_passive_chan()
2550 struct mwifiex_user_scan_cfg *user_scan_cfg; in mwifiex_cfg80211_scan() local2571 user_scan_cfg = kzalloc(sizeof(*user_scan_cfg), GFP_KERNEL); in mwifiex_cfg80211_scan()2572 if (!user_scan_cfg) in mwifiex_cfg80211_scan()2581 ether_addr_copy(user_scan_cfg->random_mac, mac_addr); in mwifiex_cfg80211_scan()2584 user_scan_cfg->num_ssids = request->n_ssids; in mwifiex_cfg80211_scan()2585 user_scan_cfg->ssid_list = request->ssids; in mwifiex_cfg80211_scan()2605 user_scan_cfg->chan_list[i].chan_number = chan->hw_value; in mwifiex_cfg80211_scan()2606 user_scan_cfg->chan_list[i].radio_type = chan->band; in mwifiex_cfg80211_scan()2609 user_scan_cfg->chan_list[i].scan_type = in mwifiex_cfg80211_scan()2612 user_scan_cfg->chan_list[i].scan_type = in mwifiex_cfg80211_scan()[all …]