Home
last modified time | relevance | path

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

12

/Linux-v5.4/net/mac80211/
Dscan.c256 struct cfg80211_scan_request *scan_req; in ieee80211_scan_rx() local
260 scan_req = rcu_dereference(local->scan_req); in ieee80211_scan_rx()
263 if (scan_req) in ieee80211_scan_rx()
264 scan_req_flags = scan_req->flags; in ieee80211_scan_rx()
318 req = rcu_dereference_protected(local->scan_req, in ieee80211_prep_hw_scan()
380 struct cfg80211_scan_request *scan_req; in __ieee80211_scan_completed() local
395 if (WARN_ON(!local->scan_req)) in __ieee80211_scan_completed()
421 scan_req = rcu_dereference_protected(local->scan_req, in __ieee80211_scan_completed()
424 if (scan_req != local->int_scan_req) { in __ieee80211_scan_completed()
426 cfg80211_scan_done(scan_req, &local->scan_info); in __ieee80211_scan_completed()
[all …]
/Linux-v5.4/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-v5.4/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-v5.4/drivers/net/wireless/quantenna/qtnfmac/
Dcommands.c2087 struct cfg80211_scan_request *scan_req = mac->scan_req; in qtnf_cmd_scan_set_dwell() local
2092 if (scan_req->duration) { in qtnf_cmd_scan_set_dwell()
2093 dwell_active = scan_req->duration; in qtnf_cmd_scan_set_dwell()
2094 dwell_passive = scan_req->duration; in qtnf_cmd_scan_set_dwell()
2099 scan_req->duration_mandatory ? "mandatory" : "max", in qtnf_cmd_scan_set_dwell()
2117 struct cfg80211_scan_request *scan_req = mac->scan_req; in qtnf_cmd_send_scan() local
2130 if (scan_req->n_ssids != 0) { in qtnf_cmd_send_scan()
2131 while (count < scan_req->n_ssids) { in qtnf_cmd_send_scan()
2133 scan_req->ssids[count].ssid, in qtnf_cmd_send_scan()
2134 scan_req->ssids[count].ssid_len); in qtnf_cmd_send_scan()
[all …]
Dcore.h114 struct cfg80211_scan_request *scan_req; member
Dcore.c354 if (mac->scan_req) { in qtnf_mac_scan_finish()
355 cfg80211_scan_done(mac->scan_req, &info); in qtnf_mac_scan_finish()
356 mac->scan_req = NULL; in qtnf_mac_scan_finish()
Dcfg80211.c619 mac->scan_req = request; in qtnf_scan()
624 mac->scan_req = NULL; in qtnf_scan()
/Linux-v5.4/drivers/staging/wilc1000/
Dwilc_hif.c199 struct wilc_user_scan_req *scan_req; in handle_scan_done() local
220 scan_req = &hif_drv->usr_scan_req; in handle_scan_done()
221 if (scan_req->scan_result) { in handle_scan_done()
222 scan_req->scan_result(evt, NULL, scan_req->arg); in handle_scan_done()
223 scan_req->scan_result = NULL; in handle_scan_done()
571 struct wilc_user_scan_req *scan_req = &msg->vif->hif_drv->usr_scan_req; in handle_rcvd_ntwrk_info() local
593 if (scan_req->scan_result) in handle_rcvd_ntwrk_info()
594 scan_req->scan_result(SCAN_EVENT_NETWORK_FOUND, rcvd_info, in handle_rcvd_ntwrk_info()
595 scan_req->arg); in handle_rcvd_ntwrk_info()
755 struct wilc_user_scan_req *scan_req; in wilc_disconnect() local
[all …]
Dwilc_wfi_cfgoperations.c105 if (priv->scan_req) { in cfg_scan_result()
110 cfg80211_scan_done(priv->scan_req, &info); in cfg_scan_result()
112 priv->scan_req = NULL; in cfg_scan_result()
118 if (priv->scan_req) { in cfg_scan_result()
123 cfg80211_scan_done(priv->scan_req, &info); in cfg_scan_result()
125 priv->scan_req = NULL; in cfg_scan_result()
240 priv->scan_req = request; in scan()
258 priv->scan_req = NULL; in scan()
Dwilc_wfi_netdevice.h133 struct cfg80211_scan_request *scan_req; member
/Linux-v5.4/net/wireless/
Dcore.c238 if (rdev->scan_req && rdev->scan_req->wdev == wdev) { in cfg80211_stop_p2p_device()
239 if (WARN_ON(!rdev->scan_req->notified)) in cfg80211_stop_p2p_device()
240 rdev->scan_req->info.aborted = true; in cfg80211_stop_p2p_device()
1313 if (rdev->scan_req && rdev->scan_req->wdev == wdev) { in cfg80211_netdev_notifier_call()
1314 if (WARN_ON(!rdev->scan_req->notified)) in cfg80211_netdev_notifier_call()
1315 rdev->scan_req->info.aborted = true; in cfg80211_netdev_notifier_call()
Dscan.c469 request = rdev->scan_req; in ___cfg80211_scan_done()
504 rdev->scan_req = NULL; in ___cfg80211_scan_done()
529 WARN_ON(request != wiphy_to_rdev(request->wiphy)->scan_req); in cfg80211_scan_done()
2133 if (rdev->scan_req || rdev->scan_msg) { in cfg80211_wext_siwscan()
2230 rdev->scan_req = creq; in cfg80211_wext_siwscan()
2233 rdev->scan_req = NULL; in cfg80211_wext_siwscan()
2601 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.h78 struct cfg80211_scan_request *scan_req; /* protected by RTNL */ member
/Linux-v5.4/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()
/Linux-v5.4/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-v5.4/drivers/net/wireless/rsi/
Drsi_91x_mgmt.c1807 struct cfg80211_scan_request *scan_req = common->hwscan; in rsi_send_bgscan_params() local
1835 bgscan->num_bgscan_channels = scan_req->n_channels; in rsi_send_bgscan_params()
1838 cpu_to_le16(scan_req->channels[i]->hw_value); in rsi_send_bgscan_params()
1851 struct cfg80211_scan_request *scan_req = common->hwscan; in rsi_send_bgscan_probe_req() local
1865 if (scan_req->n_ssids) { in rsi_send_bgscan_probe_req()
1866 ssid = scan_req->ssids[0].ssid; in rsi_send_bgscan_probe_req()
1867 ssid_len = scan_req->ssids[0].ssid_len; in rsi_send_bgscan_probe_req()
1888 ssid_len, scan_req->ie_len); in rsi_send_bgscan_probe_req()
Drsi_91x_mac80211.c237 struct cfg80211_scan_request *scan_req = &hw_req->req; in rsi_mac80211_hw_scan_start() local
249 scan_req->n_channels == 0) in rsi_mac80211_hw_scan_start()
263 common->hwscan = scan_req; in rsi_mac80211_hw_scan_start()
/Linux-v5.4/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 …]
/Linux-v5.4/include/net/
Dieee802154_netdev.h324 int (*scan_req)(struct net_device *dev, member
/Linux-v5.4/Documentation/networking/
Dieee802154.rst89 assoc_req, assoc_resp, disassoc_req, start_req, and scan_req are optional.
/Linux-v5.4/net/ieee802154/
Dnl-mac.c384 if (!ieee802154_mlme_ops(dev)->scan_req) in ieee802154_scan_req()
396 ret = ieee802154_mlme_ops(dev)->scan_req(dev, type, channels, in ieee802154_scan_req()

12