Home
last modified time | relevance | path

Searched refs:scan_req (Results 1 – 25 of 30) sorted by relevance

12

/Linux-v4.19/net/mac80211/
Dscan.c226 struct cfg80211_scan_request *scan_req; in ieee80211_scan_rx() local
230 scan_req = rcu_dereference(local->scan_req); in ieee80211_scan_rx()
233 if (scan_req) in ieee80211_scan_rx()
234 scan_req_flags = scan_req->flags; in ieee80211_scan_rx()
299 req = rcu_dereference_protected(local->scan_req, in ieee80211_prep_hw_scan()
361 struct cfg80211_scan_request *scan_req; in __ieee80211_scan_completed() local
376 if (WARN_ON(!local->scan_req)) in __ieee80211_scan_completed()
402 scan_req = rcu_dereference_protected(local->scan_req, in __ieee80211_scan_completed()
405 if (scan_req != local->int_scan_req) { in __ieee80211_scan_completed()
407 cfg80211_scan_done(scan_req, &local->scan_info); in __ieee80211_scan_completed()
[all …]
/Linux-v4.19/drivers/net/wireless/marvell/libertas/
Dcfg.c224 priv->scan_req->channels[priv->scan_channel]->hw_value; in lbs_add_channel_list_tlv()
704 if (priv->scan_req->n_ssids && priv->scan_req->ssids[0].ssid_len > 0) in lbs_scan_worker()
706 priv->scan_req->ssids[0].ssid, in lbs_scan_worker()
707 priv->scan_req->ssids[0].ssid_len); in lbs_scan_worker()
711 if (last_channel > priv->scan_req->n_channels) in lbs_scan_worker()
712 last_channel = priv->scan_req->n_channels; in lbs_scan_worker()
714 priv->scan_req->n_ssids); in lbs_scan_worker()
719 if (priv->scan_channel < priv->scan_req->n_channels) { in lbs_scan_worker()
737 if (priv->scan_channel >= priv->scan_req->n_channels) { in lbs_scan_worker()
752 if (priv->scan_req == NULL) { in lbs_scan_worker()
[all …]
Ddev.h51 struct cfg80211_scan_request *scan_req; member
/Linux-v4.19/drivers/net/wireless/intersil/hostap/
Dhostap_ioctl.c697 struct hfa384x_scan_request scan_req; in prism2_ioctl_siwap()
698 memset(&scan_req, 0, sizeof(scan_req)); in prism2_ioctl_siwap()
699 scan_req.channel_list = cpu_to_le16(0x3fff); in prism2_ioctl_siwap()
700 scan_req.txrate = cpu_to_le16(HFA384X_RATES_1MBPS); in prism2_ioctl_siwap()
702 &scan_req, sizeof(scan_req))) { in prism2_ioctl_siwap()
1639 struct hfa384x_hostscan_request scan_req; in prism2_request_hostscan() local
1644 memset(&scan_req, 0, sizeof(scan_req)); in prism2_request_hostscan()
1645 scan_req.channel_list = cpu_to_le16(local->channel_mask & in prism2_request_hostscan()
1647 scan_req.txrate = cpu_to_le16(HFA384X_RATES_1MBPS); in prism2_request_hostscan()
1651 scan_req.target_ssid_len = cpu_to_le16(ssid_len); in prism2_request_hostscan()
[all …]
Dhostap_common.h405 } scan_req; member
/Linux-v4.19/net/wireless/
Dcore.c224 if (rdev->scan_req && rdev->scan_req->wdev == wdev) { in cfg80211_stop_p2p_device()
225 if (WARN_ON(!rdev->scan_req->notified)) in cfg80211_stop_p2p_device()
226 rdev->scan_req->info.aborted = true; in cfg80211_stop_p2p_device()
1233 if (rdev->scan_req && rdev->scan_req->wdev == wdev) { in cfg80211_netdev_notifier_call()
1234 if (WARN_ON(!rdev->scan_req->notified)) in cfg80211_netdev_notifier_call()
1235 rdev->scan_req->info.aborted = true; in cfg80211_netdev_notifier_call()
Dscan.c236 request = rdev->scan_req; in ___cfg80211_scan_done()
271 rdev->scan_req = NULL; in ___cfg80211_scan_done()
296 WARN_ON(request != wiphy_to_rdev(request->wiphy)->scan_req); in cfg80211_scan_done()
1398 if (rdev->scan_req || rdev->scan_msg) { in cfg80211_wext_siwscan()
1495 rdev->scan_req = creq; in cfg80211_wext_siwscan()
1498 rdev->scan_req = NULL; in cfg80211_wext_siwscan()
1866 if (rdev->scan_req || rdev->scan_msg) in cfg80211_wext_giwscan()
Dsme.c73 if (rdev->scan_req || rdev->scan_msg) in cfg80211_conn_scan()
132 rdev->scan_req = request; in cfg80211_conn_scan()
140 rdev->scan_req = NULL; in cfg80211_conn_scan()
Dcore.h76 struct cfg80211_scan_request *scan_req; /* protected by RTNL */ member
/Linux-v4.19/drivers/staging/wilc1000/
Dhost_interface.c737 struct user_scan_req *scan_req; in handle_scan_done() local
760 scan_req = &hif_drv->usr_scan_req; in handle_scan_done()
761 if (scan_req->scan_result) { in handle_scan_done()
762 scan_req->scan_result(evt, NULL, scan_req->arg, NULL); in handle_scan_done()
763 scan_req->scan_result = NULL; in handle_scan_done()
1400 struct user_scan_req *scan_req = &hif_drv->usr_scan_req; in handle_rcvd_ntwrk_info() local
1404 if (!scan_req->scan_result) in handle_rcvd_ntwrk_info()
1408 if (!info || !scan_req->scan_result) { in handle_rcvd_ntwrk_info()
1414 for (i = 0; i < scan_req->ch_cnt; i++) { in handle_rcvd_ntwrk_info()
1415 if (memcmp(scan_req->net_info[i].bssid, info->bssid, 6) == 0) { in handle_rcvd_ntwrk_info()
[all …]
Dwilc_wfi_netdevice.h73 struct cfg80211_scan_request *scan_req; member
Dwilc_wfi_cfgoperations.c422 if (priv->scan_req) { in cfg_scan_result()
427 cfg80211_scan_done(priv->scan_req, &info); in cfg_scan_result()
430 priv->scan_req = NULL; in cfg_scan_result()
436 if (priv->scan_req) { in cfg_scan_result()
444 cfg80211_scan_done(priv->scan_req, &info); in cfg_scan_result()
446 priv->scan_req = NULL; in cfg_scan_result()
619 priv->scan_req = request; in scan()
/Linux-v4.19/drivers/net/wireless/ath/ath9k/
Dchannel.c793 struct cfg80211_scan_request *req = sc->offchannel.scan_req; in ath_scan_channel_duration()
883 struct cfg80211_scan_request *req = sc->offchannel.scan_req; in ath_scan_next_channel()
914 if (sc->offchannel.scan_req) { in ath_offchannel_next()
976 sc->offchannel.scan_req = NULL; in ath_scan_complete()
992 struct cfg80211_scan_request *req = sc->offchannel.scan_req; in ath_scan_send_probe()
1029 struct cfg80211_scan_request *req = sc->offchannel.scan_req; in ath_scan_channel_start()
1068 if (!sc->offchannel.scan_req) in ath_offchannel_timer()
1085 if (!sc->offchannel.scan_req) in ath_offchannel_timer()
1198 if (!sc->offchannel.scan_req) in ath_offchannel_channel_change()
1208 if (!sc->offchannel.scan_req) in ath_offchannel_channel_change()
Dath9k.h423 struct cfg80211_scan_request *scan_req; member
/Linux-v4.19/drivers/net/wireless/quantenna/qtnfmac/
Dcommands.c2317 struct cfg80211_scan_request *scan_req = mac->scan_req; in qtnf_cmd_send_scan() local
2330 if (scan_req->n_ssids != 0) { in qtnf_cmd_send_scan()
2331 while (count < scan_req->n_ssids) { in qtnf_cmd_send_scan()
2333 scan_req->ssids[count].ssid, in qtnf_cmd_send_scan()
2334 scan_req->ssids[count].ssid_len); in qtnf_cmd_send_scan()
2339 if (scan_req->ie_len != 0) in qtnf_cmd_send_scan()
2341 scan_req->ie, scan_req->ie_len); in qtnf_cmd_send_scan()
2343 if (scan_req->n_channels) { in qtnf_cmd_send_scan()
2344 n_channels = scan_req->n_channels; in qtnf_cmd_send_scan()
2348 sc = scan_req->channels[count]; in qtnf_cmd_send_scan()
[all …]
Dcore.h132 struct cfg80211_scan_request *scan_req; member
Dcore.c347 if (mac->scan_req) { in qtnf_mac_scan_finish()
348 cfg80211_scan_done(mac->scan_req, &info); in qtnf_mac_scan_finish()
349 mac->scan_req = NULL; in qtnf_mac_scan_finish()
Dcfg80211.c603 mac->scan_req = request; in qtnf_scan()
607 mac->scan_req = NULL; in qtnf_scan()
/Linux-v4.19/drivers/net/wireless/ath/wcn36xx/
Dmain.c360 if (wcn->scan_req) { in wcn36xx_stop()
367 wcn->scan_req = NULL; in wcn36xx_stop()
620 struct cfg80211_scan_request *req = wcn->scan_req; in wcn36xx_hw_scan_worker()
657 wcn->scan_req = NULL; in wcn36xx_hw_scan_worker()
667 if (wcn->scan_req) { in wcn36xx_hw_scan()
673 wcn->scan_req = &hw_req->req; in wcn36xx_hw_scan()
Dwcn36xx.h227 struct cfg80211_scan_request *scan_req; member
/Linux-v4.19/drivers/net/wireless/ath/ath6kl/
Dcfg80211.c864 if (vif->scan_req) { in ath6kl_cfg80211_disconnect_event()
869 cfg80211_scan_done(vif->scan_req, &info); in ath6kl_cfg80211_disconnect_event()
870 vif->scan_req = NULL; in ath6kl_cfg80211_disconnect_event()
1057 vif->scan_req = request; in ath6kl_cfg80211_scan()
1068 vif->scan_req = NULL; in ath6kl_cfg80211_scan()
1087 if (!vif->scan_req) in ath6kl_cfg80211_scan_complete_event()
1093 if (vif->scan_req->n_ssids && vif->scan_req->ssids[0].ssid_len) { in ath6kl_cfg80211_scan_complete_event()
1094 for (i = 0; i < vif->scan_req->n_ssids; i++) { in ath6kl_cfg80211_scan_complete_event()
1102 cfg80211_scan_done(vif->scan_req, &info); in ath6kl_cfg80211_scan_complete_event()
1103 vif->scan_req = NULL; in ath6kl_cfg80211_scan_complete_event()
[all …]
Dcore.h631 struct cfg80211_scan_request *scan_req; member
/Linux-v4.19/include/net/
Dieee802154_netdev.h332 int (*scan_req)(struct net_device *dev, member
/Linux-v4.19/Documentation/networking/
Dieee802154.txt64 assoc_req, assoc_resp, disassoc_req, start_req, and scan_req are optional.
/Linux-v4.19/net/ieee802154/
Dnl-mac.c392 if (!ieee802154_mlme_ops(dev)->scan_req) in ieee802154_scan_req()
404 ret = ieee802154_mlme_ops(dev)->scan_req(dev, type, channels, in ieee802154_scan_req()

12