Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/net/mac80211/
Dscan.c293 struct cfg80211_scan_request *scan_req; in ieee80211_scan_rx() local
297 scan_req = rcu_dereference(local->scan_req); in ieee80211_scan_rx()
300 if (scan_req) in ieee80211_scan_rx()
301 scan_req_flags = scan_req->flags; in ieee80211_scan_rx()
357 req = rcu_dereference_protected(local->scan_req, in ieee80211_prep_hw_scan()
419 struct cfg80211_scan_request *scan_req; in __ieee80211_scan_completed() local
434 if (WARN_ON(!local->scan_req)) in __ieee80211_scan_completed()
463 scan_req = rcu_dereference_protected(local->scan_req, in __ieee80211_scan_completed()
466 RCU_INIT_POINTER(local->scan_req, NULL); in __ieee80211_scan_completed()
474 if (scan_req != local->int_scan_req) { in __ieee80211_scan_completed()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas/
Dcfg.c224 priv->scan_req->channels[priv->scan_channel]->hw_value; in lbs_add_channel_list_tlv()
708 if (priv->scan_req->n_ssids && priv->scan_req->ssids[0].ssid_len > 0) in lbs_scan_worker()
710 priv->scan_req->ssids[0].ssid, in lbs_scan_worker()
711 priv->scan_req->ssids[0].ssid_len); in lbs_scan_worker()
715 if (last_channel > priv->scan_req->n_channels) in lbs_scan_worker()
716 last_channel = priv->scan_req->n_channels; in lbs_scan_worker()
718 priv->scan_req->n_ssids); in lbs_scan_worker()
723 if (priv->scan_channel < priv->scan_req->n_channels) { in lbs_scan_worker()
741 if (priv->scan_channel >= priv->scan_req->n_channels) { in lbs_scan_worker()
756 if (priv->scan_req == NULL) { in lbs_scan_worker()
[all …]
Ddev.h51 struct cfg80211_scan_request *scan_req; member
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/drivers/staging/wfx/
Dscan.c88 struct ieee80211_scan_request *hw_req = wvif->scan_req; in wfx_hw_scan_work()
116 wvif->scan_req = hw_req; in wfx_hw_scan()
Dwfx.h89 struct ieee80211_scan_request *scan_req; member
/kernel/linux/linux-5.10/drivers/net/wireless/quantenna/qtnfmac/
Dcommands.c2018 struct cfg80211_scan_request *scan_req = mac->scan_req; in qtnf_cmd_send_scan() local
2021 struct wireless_dev *wdev = scan_req->wdev; in qtnf_cmd_send_scan()
2038 if (scan_req->duration) { in qtnf_cmd_send_scan()
2039 dwell_active = scan_req->duration; in qtnf_cmd_send_scan()
2040 dwell_passive = scan_req->duration; in qtnf_cmd_send_scan()
2048 cmd->n_ssids = cpu_to_le16(scan_req->n_ssids); in qtnf_cmd_send_scan()
2049 for (count = 0; count < scan_req->n_ssids; ++count) { in qtnf_cmd_send_scan()
2051 scan_req->ssids[count].ssid, in qtnf_cmd_send_scan()
2052 scan_req->ssids[count].ssid_len); in qtnf_cmd_send_scan()
2055 if (scan_req->ie_len != 0) in qtnf_cmd_send_scan()
[all …]
Dcore.h107 struct cfg80211_scan_request *scan_req; member
Dcore.c369 if (mac->scan_req) { in qtnf_mac_scan_finish()
370 cfg80211_scan_done(mac->scan_req, &info); in qtnf_mac_scan_finish()
371 mac->scan_req = NULL; in qtnf_mac_scan_finish()
/kernel/linux/linux-5.10/drivers/net/wireless/microchip/wilc1000/
Dhif.c119 struct wilc_user_scan_req *scan_req; in handle_scan_done() local
140 scan_req = &hif_drv->usr_scan_req; in handle_scan_done()
141 if (scan_req->scan_result) { in handle_scan_done()
142 scan_req->scan_result(evt, NULL, scan_req->arg); in handle_scan_done()
143 scan_req->scan_result = NULL; in handle_scan_done()
509 struct wilc_user_scan_req *scan_req = &msg->vif->hif_drv->usr_scan_req; in handle_rcvd_ntwrk_info() local
531 if (scan_req->scan_result) in handle_rcvd_ntwrk_info()
532 scan_req->scan_result(SCAN_EVENT_NETWORK_FOUND, rcvd_info, in handle_rcvd_ntwrk_info()
533 scan_req->arg); in handle_rcvd_ntwrk_info()
693 struct wilc_user_scan_req *scan_req; in wilc_disconnect() local
[all …]
Dcfg80211.c136 if (priv->scan_req) { in cfg_scan_result()
141 cfg80211_scan_done(priv->scan_req, &info); in cfg_scan_result()
143 priv->scan_req = NULL; in cfg_scan_result()
149 if (priv->scan_req) { in cfg_scan_result()
154 cfg80211_scan_done(priv->scan_req, &info); in cfg_scan_result()
156 priv->scan_req = NULL; in cfg_scan_result()
274 priv->scan_req = request; in scan()
292 priv->scan_req = NULL; in scan()
Dnetdev.h122 struct cfg80211_scan_request *scan_req; member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
242 rdev->scan_req->info.aborted = true; in cfg80211_stop_p2p_device()
1345 if (rdev->scan_req && rdev->scan_req->wdev == wdev) { in cfg80211_netdev_notifier_call()
1346 if (WARN_ON(!rdev->scan_req->notified && in cfg80211_netdev_notifier_call()
1349 rdev->scan_req->info.aborted = true; in cfg80211_netdev_notifier_call()
Dscan.c740 struct cfg80211_scan_request *request, *rdev_req = rdev->scan_req; in cfg80211_scan_6ghz()
897 struct cfg80211_scan_request *rdev_req = rdev->scan_req; in cfg80211_scan()
947 rdev_req = rdev->scan_req; in ___cfg80211_scan_done()
992 kfree(rdev->scan_req); in ___cfg80211_scan_done()
993 rdev->scan_req = NULL; in ___cfg80211_scan_done()
1019 WARN_ON(request != wiphy_to_rdev(request->wiphy)->scan_req && in cfg80211_scan_done()
2724 if (rdev->scan_req || rdev->scan_msg) { in cfg80211_wext_siwscan()
2821 rdev->scan_req = creq; in cfg80211_wext_siwscan()
2824 rdev->scan_req = NULL; in cfg80211_wext_siwscan()
3192 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.h74 struct cfg80211_scan_request *scan_req; /* protected by RTNL */ member
/kernel/linux/linux-5.10/drivers/net/wireless/rsi/
Drsi_91x_mgmt.c1829 struct cfg80211_scan_request *scan_req = common->hwscan; in rsi_send_bgscan_params() local
1857 bgscan->num_bgscan_channels = scan_req->n_channels; in rsi_send_bgscan_params()
1860 cpu_to_le16(scan_req->channels[i]->hw_value); in rsi_send_bgscan_params()
1873 struct cfg80211_scan_request *scan_req = common->hwscan; in rsi_send_bgscan_probe_req() local
1887 if (scan_req->n_ssids) { in rsi_send_bgscan_probe_req()
1888 ssid = scan_req->ssids[0].ssid; in rsi_send_bgscan_probe_req()
1889 ssid_len = scan_req->ssids[0].ssid_len; in rsi_send_bgscan_probe_req()
1910 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()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/wcn36xx/
Dwcn36xx.h232 struct cfg80211_scan_request *scan_req; member
Dmain.c351 if (wcn->scan_req) { in wcn36xx_stop()
358 wcn->scan_req = NULL; in wcn36xx_stop()
676 if (wcn->scan_req) { in wcn36xx_hw_scan()
682 wcn->scan_req = &hw_req->req; in wcn36xx_hw_scan()
/kernel/linux/linux-5.10/include/net/
Dieee802154_netdev.h367 int (*scan_req)(struct net_device *dev, member
/kernel/linux/linux-5.10/Documentation/networking/
Dieee802154.rst91 assoc_req, assoc_resp, disassoc_req, start_req, and scan_req are optional.

12