Home
last modified time | relevance | path

Searched refs:scanning (Results 1 – 12 of 12) sorted by relevance

/net/mac80211/
Dscan.c284 if (test_and_clear_bit(SCAN_BEACON_WAIT, &local->scanning)) { in ieee80211_scan_rx()
290 set_bit(SCAN_BEACON_DONE, &local->scanning); in ieee80211_scan_rx()
362 if (test_bit(SCAN_HW_CANCELLED, &local->scanning)) in ieee80211_prep_hw_scan()
419 bool hw_scan = test_bit(SCAN_HW_SCANNING, &local->scanning); in __ieee80211_scan_completed()
420 bool was_scanning = local->scanning; in __ieee80211_scan_completed()
433 if (WARN_ON(!local->scanning && !aborted)) in __ieee80211_scan_completed()
471 local->scanning = 0; in __ieee80211_scan_completed()
515 set_bit(SCAN_COMPLETED, &local->scanning); in ieee80211_scan_completed()
517 set_bit(SCAN_ABORTED, &local->scanning); in ieee80211_scan_completed()
610 if (!local->scan_req || local->scanning) in ieee80211_run_deferred_scan()
[all …]
Diface.c109 bool working, scanning, active; in __ieee80211_recalc_idle() local
121 scanning = test_bit(SCAN_SW_SCANNING, &local->scanning) || in __ieee80211_recalc_idle()
122 test_bit(SCAN_ONCHANNEL_SCANNING, &local->scanning); in __ieee80211_recalc_idle()
124 if (working || scanning) in __ieee80211_recalc_idle()
136 if (working || scanning || active) in __ieee80211_recalc_idle()
1482 if (test_bit(SCAN_SW_SCANNING, &local->scanning)) in ieee80211_iface_work()
Dmain.c45 if (local->monitors || test_bit(SCAN_SW_SCANNING, &local->scanning) || in ieee80211_configure_filter()
46 test_bit(SCAN_ONCHANNEL_SCANNING, &local->scanning)) in ieee80211_configure_filter()
266 WARN(test_bit(SCAN_HW_SCANNING, &local->scanning), in ieee80211_restart_work()
Dieee80211_i.h1371 unsigned long scanning; member
2178 WARN(test_bit(SCAN_HW_SCANNING, &local->scanning) && in __ieee80211_resume()
2179 !test_bit(SCAN_COMPLETED, &local->scanning), in __ieee80211_resume()
Doffchannel.c583 !local->scanning && !ieee80211_is_radar_required(local)) { in ieee80211_start_roc_work()
Dtx.c226 if (local->scanning) in ieee80211_tx_h_dynamic_ps()
294 if (unlikely(test_bit(SCAN_SW_SCANNING, &tx->local->scanning)) && in ieee80211_tx_h_check_assoc()
731 if (WARN(test_bit(SCAN_SW_SCANNING, &tx->local->scanning) && assoc && in ieee80211_tx_h_rate_ctrl()
4455 if (unlikely(test_bit(SCAN_SW_SCANNING, &local->scanning)) && in ieee80211_8023_xmit()
Dstatus.c1041 local->ps_sdata && !(local->scanning)) { in __ieee80211_tx_status()
Dmlme.c1319 if (local->scanning) in ieee80211_sta_process_chanswitch()
1642 if (local->scanning) in ieee80211_enable_ps()
2601 if (sdata->local->tmp_channel || sdata->local->scanning) { in ieee80211_mgd_probe_ap()
5413 if (local->scanning) in ieee80211_prep_connection()
Dutil.c2168 if (test_bit(SCAN_COMPLETED, &local->scanning)) { in ieee80211_flush_completed_scan()
2175 set_bit(SCAN_ABORTED, &local->scanning); in ieee80211_flush_completed_scan()
Dcfg.c3084 if (!list_empty(&local->roc_list) || local->scanning) { in ieee80211_start_radar_detection()
3513 if (!list_empty(&local->roc_list) || local->scanning) in __ieee80211_channel_switch()
Drx.c3053 (!local->scanning && in ieee80211_rx_h_data()
/net/bluetooth/
Dhci_request.c1176 bool scanning = test_bit(HCI_PSCAN, &hdev->flags); in hci_req_set_event_filter() local
1200 if (scan && !scanning) { in hci_req_set_event_filter()
1203 } else if (!scan && scanning) { in hci_req_set_event_filter()