Home
last modified time | relevance | path

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

12

/linux/net/mac80211/
H A Dscan.c301 struct cfg80211_scan_request *scan_req; in ieee80211_scan_rx() local
311 scan_req = rcu_dereference(local->scan_req); in ieee80211_scan_rx()
314 if (scan_req) in ieee80211_scan_rx()
315 scan_req_flags = scan_req->flags; in ieee80211_scan_rx()
365 req = rcu_dereference_protected(local->scan_req, in ieee80211_prep_hw_scan()
429 struct cfg80211_scan_request *scan_req; in __ieee80211_scan_completed() local
444 if (WARN_ON(!local->scan_req)) in __ieee80211_scan_completed()
473 scan_req = rcu_dereference_protected(local->scan_req, in __ieee80211_scan_completed()
476 RCU_INIT_POINTER(local->scan_req, NULL); in __ieee80211_scan_completed()
484 if (scan_req != local->int_scan_req) { in __ieee80211_scan_completed()
[all …]
/linux/net/mac802154/
H A Dscan.c56 request = rcu_replace_pointer(local->scan_req, NULL, 1); in mac802154_scan_cleanup_locked()
118 struct cfg802154_scan_request *scan_req, in mac802154_scan_get_next_channel() argument
122 *channel = find_next_bit((const unsigned long *)&scan_req->channels, in mac802154_scan_get_next_channel()
128 struct cfg802154_scan_request *scan_req, in mac802154_scan_find_next_chan() argument
131 mac802154_scan_get_next_channel(local, scan_req, channel); in mac802154_scan_find_next_chan()
178 struct cfg802154_scan_request *scan_req; in mac802154_scan_worker() local
196 scan_req = rcu_dereference(local->scan_req); in mac802154_scan_worker()
197 if (unlikely(!scan_req)) { in mac802154_scan_worker()
202 sdata = IEEE802154_WPAN_DEV_TO_SUB_IF(scan_req->wpan_dev); in mac802154_scan_worker()
212 wpan_phy = scan_req->wpan_phy; in mac802154_scan_worker()
[all …]
H A Dieee802154_i.h63 struct cfg802154_scan_request __rcu *scan_req; member
/linux/drivers/net/wireless/microchip/wilc1000/
H A Dhif.c124 struct wilc_user_scan_req *scan_req; in handle_scan_done() local
145 scan_req = &hif_drv->usr_scan_req; in handle_scan_done()
146 if (scan_req->scan_result) { in handle_scan_done()
147 scan_req->scan_result(evt, NULL, scan_req->priv); in handle_scan_done()
148 scan_req->scan_result = NULL; in handle_scan_done()
542 struct wilc_user_scan_req *scan_req = &msg->vif->hif_drv->usr_scan_req; in handle_rcvd_ntwrk_info() local
564 if (scan_req->scan_result) in handle_rcvd_ntwrk_info()
565 scan_req->scan_result(SCAN_EVENT_NETWORK_FOUND, rcvd_info, in handle_rcvd_ntwrk_info()
566 scan_req->priv); in handle_rcvd_ntwrk_info()
729 struct wilc_user_scan_req *scan_req; in wilc_disconnect() local
[all …]
H A Dnetdev.h123 struct cfg80211_scan_request *scan_req; member
/linux/drivers/net/wireless/ath/ath9k/
H A 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()
H A Dath9k.h419 struct cfg80211_scan_request *scan_req; member
/linux/drivers/net/wireless/silabs/wfx/
H A Dscan.c94 struct ieee80211_scan_request *hw_req = wvif->scan_req; in wfx_hw_scan_work()
130 wvif->scan_req = hw_req; in wfx_hw_scan()
H A Dwfx.h89 struct ieee80211_scan_request *scan_req; member
/linux/net/wireless/
H A Dcore.c245 if (rdev->scan_req && rdev->scan_req->wdev == wdev) { in cfg80211_stop_p2p_device()
246 if (WARN_ON(!rdev->scan_req->notified && in cfg80211_stop_p2p_device()
249 rdev->scan_req->info.aborted = true; in cfg80211_stop_p2p_device()
1557 if (rdev->scan_req && rdev->scan_req->wdev == wdev) { in cfg80211_netdev_notifier_call()
1558 if (WARN_ON(!rdev->scan_req->notified && in cfg80211_netdev_notifier_call()
1561 rdev->scan_req->info.aborted = true; in cfg80211_netdev_notifier_call()
H A Dscan.c811 struct cfg80211_scan_request *request, *rdev_req = rdev->scan_req; in cfg80211_scan_6ghz()
1034 struct cfg80211_scan_request *rdev_req = rdev->scan_req; in cfg80211_scan()
1084 rdev_req = rdev->scan_req; in ___cfg80211_scan_done()
1128 kfree(rdev->scan_req); in ___cfg80211_scan_done()
1129 rdev->scan_req = NULL; in ___cfg80211_scan_done()
1148 WARN_ON(request != wiphy_to_rdev(request->wiphy)->scan_req && in cfg80211_scan_done()
3485 if (rdev->scan_req || rdev->scan_msg) in cfg80211_wext_siwscan()
3589 rdev->scan_req = creq; in cfg80211_wext_siwscan()
3592 rdev->scan_req = NULL; in cfg80211_wext_siwscan()
3964 if (rdev->scan_req || rdev->scan_msg) in cfg80211_wext_giwscan()
H A Dsme.c72 if (rdev->scan_req || rdev->scan_msg) in cfg80211_conn_scan()
133 rdev->scan_req = request; in cfg80211_conn_scan()
141 rdev->scan_req = NULL; in cfg80211_conn_scan()
H A Dcore.h73 struct cfg80211_scan_request *scan_req; /* protected by RTNL */ member
/linux/drivers/net/wireless/rsi/
H A Drsi_91x_mgmt.c1827 struct cfg80211_scan_request *scan_req = common->hwscan; in rsi_send_bgscan_params() local
1855 bgscan->num_bgscan_channels = scan_req->n_channels; in rsi_send_bgscan_params()
1858 cpu_to_le16(scan_req->channels[i]->hw_value); in rsi_send_bgscan_params()
1871 struct cfg80211_scan_request *scan_req = common->hwscan; in rsi_send_bgscan_probe_req() local
1885 if (scan_req->n_ssids) { in rsi_send_bgscan_probe_req()
1886 ssid = scan_req->ssids[0].ssid; in rsi_send_bgscan_probe_req()
1887 ssid_len = scan_req->ssids[0].ssid_len; in rsi_send_bgscan_probe_req()
1908 ssid_len, scan_req->ie_len); in rsi_send_bgscan_probe_req()
H A Drsi_91x_mac80211.c237 struct cfg80211_scan_request *scan_req = &hw_req->req; in rsi_mac80211_hw_scan_start() local
248 scan_req->n_channels == 0) in rsi_mac80211_hw_scan_start()
262 common->hwscan = scan_req; in rsi_mac80211_hw_scan_start()
/linux/drivers/net/wireless/ath/ath6kl/
H A 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 …]
H A Dcore.h631 struct cfg80211_scan_request *scan_req; member
/linux/drivers/net/wireless/realtek/rtw88/
H A Dfw.c2073 struct cfg80211_scan_request *req = rtwvif->scan_req; in rtw_hw_scan_update_probe_req()
2138 struct cfg80211_scan_request *req = rtwvif->scan_req; in rtw_add_chan_list()
2187 struct cfg80211_scan_request *req = rtwvif->scan_req; in rtw_fw_set_scan_offload()
2218 struct ieee80211_scan_request *scan_req) in rtw_hw_scan_start() argument
2221 struct cfg80211_scan_request *req = &scan_req->req; in rtw_hw_scan_start()
2225 rtwvif->scan_ies = &scan_req->ies; in rtw_hw_scan_start()
2226 rtwvif->scan_req = req; in rtw_hw_scan_start()
2270 rtwvif->scan_req = NULL; in rtw_hw_scan_complete()
2278 struct cfg80211_scan_request *req = rtwvif->scan_req; in rtw_hw_scan_prehandle()
/linux/drivers/net/wireless/marvell/libertas/
H A Ddev.h51 struct cfg80211_scan_request *scan_req; member
/linux/drivers/net/wireless/quantenna/qtnfmac/
H A Dcore.c353 if (mac->scan_req) { in qtnf_mac_scan_finish()
354 cfg80211_scan_done(mac->scan_req, &info); in qtnf_mac_scan_finish()
355 mac->scan_req = NULL; in qtnf_mac_scan_finish()
H A Dcfg80211.c647 mac->scan_req = request; in qtnf_scan()
652 mac->scan_req = NULL; in qtnf_scan()
/linux/include/net/
H A Dieee802154_netdev.h505 int (*scan_req)(struct net_device *dev, member
/linux/drivers/net/wireless/mediatek/mt76/mt7925/
H A Dmcu.h621 struct ieee80211_scan_request *scan_req);
/linux/Documentation/networking/
H A Dieee802154.rst91 assoc_req, assoc_resp, disassoc_req, start_req, and scan_req are optional.
/linux/drivers/net/wireless/realtek/rtw89/
H A Dfw.c5162 struct cfg80211_scan_request *req = rtwvif->scan_req; in rtw89_fw_h2c_scan_offload_be()
6109 struct cfg80211_scan_request *req = rtwvif->scan_req; in rtw89_append_probe_req_ie()
6154 struct cfg80211_scan_request *req = rtwvif->scan_req; in rtw89_hw_scan_update_probe_req()
6308 struct cfg80211_scan_request *req = rtwvif->scan_req; in rtw89_hw_scan_add_chan()
6427 struct cfg80211_scan_request *req = rtwvif->scan_req; in rtw89_hw_scan_add_chan_be()
6538 struct cfg80211_scan_request *req = rtwvif->scan_req; in rtw89_hw_scan_add_chan_list_ax()
6669 struct cfg80211_scan_request *req = rtwvif->scan_req; in rtw89_hw_scan_add_chan_list_be()
6744 struct ieee80211_scan_request *scan_req) in rtw89_hw_scan_start() argument
6747 struct cfg80211_scan_request *req = &scan_req->req; in rtw89_hw_scan_start()
6761 rtwvif->scan_ies = &scan_req->ies; in rtw89_hw_scan_start()
[all …]

12