Home
last modified time | relevance | path

Searched refs:scan_req (Results 1 – 25 of 44) 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/marvell/libertas/
H A Dcfg.c224 priv->scan_req->channels[priv->scan_channel]->hw_value; in lbs_add_channel_list_tlv()
752 if (priv->scan_req->n_ssids && priv->scan_req->ssids[0].ssid_len > 0) in lbs_scan_worker()
754 priv->scan_req->ssids[0].ssid, in lbs_scan_worker()
755 priv->scan_req->ssids[0].ssid_len); in lbs_scan_worker()
759 if (last_channel > priv->scan_req->n_channels) in lbs_scan_worker()
760 last_channel = priv->scan_req->n_channels; in lbs_scan_worker()
762 priv->scan_req->n_ssids); in lbs_scan_worker()
768 if (priv->scan_req->ie && priv->scan_req->ie_len) in lbs_scan_worker()
769 tlv += lbs_add_wps_enrollee_tlv(tlv, priv->scan_req->ie, in lbs_scan_worker()
770 priv->scan_req->ie_len); in lbs_scan_worker()
[all …]
H A Ddev.h51 struct cfg80211_scan_request *scan_req; member
/linux/drivers/net/wireless/quantenna/qtnfmac/
H A Dcommands.c1988 struct cfg80211_scan_request *scan_req = mac->scan_req; in qtnf_cmd_send_scan() local
1991 struct wireless_dev *wdev = scan_req->wdev; in qtnf_cmd_send_scan()
2008 if (scan_req->duration) { in qtnf_cmd_send_scan()
2009 dwell_active = scan_req->duration; in qtnf_cmd_send_scan()
2010 dwell_passive = scan_req->duration; in qtnf_cmd_send_scan()
2018 cmd->n_ssids = cpu_to_le16(scan_req->n_ssids); in qtnf_cmd_send_scan()
2019 for (count = 0; count < scan_req->n_ssids; ++count) { in qtnf_cmd_send_scan()
2021 scan_req->ssids[count].ssid, in qtnf_cmd_send_scan()
2022 scan_req->ssids[count].ssid_len); in qtnf_cmd_send_scan()
2025 if (scan_req->ie_len != 0) in qtnf_cmd_send_scan()
[all …]
H A Dcore.h105 struct cfg80211_scan_request *scan_req; member
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()
/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 Dcfg80211.c137 if (priv->scan_req) { in cfg_scan_result()
142 cfg80211_scan_done(priv->scan_req, &info); in cfg_scan_result()
144 priv->scan_req = NULL; in cfg_scan_result()
150 if (priv->scan_req) { in cfg_scan_result()
155 cfg80211_scan_done(priv->scan_req, &info); in cfg_scan_result()
157 priv->scan_req = NULL; in cfg_scan_result()
274 priv->scan_req = request; in scan()
291 priv->scan_req = NULL; in scan()
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()
/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()
1511 if (rdev->scan_req && rdev->scan_req->wdev == wdev) { in cfg80211_netdev_notifier_call()
1512 if (WARN_ON(!rdev->scan_req->notified && in cfg80211_netdev_notifier_call()
1515 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()
1033 struct cfg80211_scan_request *rdev_req = rdev->scan_req; in cfg80211_scan()
1083 rdev_req = rdev->scan_req; in ___cfg80211_scan_done()
1127 kfree(rdev->scan_req); in ___cfg80211_scan_done()
1128 rdev->scan_req = NULL; in ___cfg80211_scan_done()
1147 WARN_ON(request != wiphy_to_rdev(request->wiphy)->scan_req && in cfg80211_scan_done()
3484 if (rdev->scan_req || rdev->scan_msg) in cfg80211_wext_siwscan()
3585 rdev->scan_req = creq; in cfg80211_wext_siwscan()
3588 rdev->scan_req = NULL; in cfg80211_wext_siwscan()
3961 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()
132 rdev->scan_req = request; in cfg80211_conn_scan()
140 rdev->scan_req = NULL; in cfg80211_conn_scan()
/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 …]
/linux/drivers/net/wireless/realtek/rtw88/
H A Dfw.c2063 struct cfg80211_scan_request *req = rtwvif->scan_req; in rtw_hw_scan_update_probe_req()
2128 struct cfg80211_scan_request *req = rtwvif->scan_req; in rtw_add_chan_list()
2177 struct cfg80211_scan_request *req = rtwvif->scan_req; in rtw_fw_set_scan_offload()
2208 struct ieee80211_scan_request *scan_req) in rtw_hw_scan_start() argument
2211 struct cfg80211_scan_request *req = &scan_req->req; in rtw_hw_scan_start()
2215 rtwvif->scan_ies = &scan_req->ies; in rtw_hw_scan_start()
2216 rtwvif->scan_req = req; in rtw_hw_scan_start()
2260 rtwvif->scan_req = NULL; in rtw_hw_scan_complete()
2268 struct cfg80211_scan_request *req = rtwvif->scan_req; in rtw_hw_scan_prehandle()
/linux/drivers/net/wireless/ath/wcn36xx/
H A Dwcn36xx.h260 struct cfg80211_scan_request *scan_req; member
H A Dmain.c288 if (wcn->scan_req) { in wcn36xx_stop()
295 wcn->scan_req = NULL; in wcn36xx_stop()
650 if (wcn->scan_req) { in wcn36xx_hw_scan()
656 wcn->scan_req = &hw_req->req; in wcn36xx_hw_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);

12