Lines Matching refs:local

14 static void ieee80211_sched_scan_cancel(struct ieee80211_local *local)
16 if (ieee80211_request_sched_scan_stop(local))
18 cfg80211_sched_scan_stopped_locked(local->hw.wiphy, 0);
23 struct ieee80211_local *local = hw_to_local(hw);
27 if (!local->open_count)
30 local->suspending = true;
33 ieee80211_scan_cancel(local);
35 ieee80211_dfs_cac_cancel(local);
37 ieee80211_roc_purge(local, NULL);
39 ieee80211_del_virtual_monitor(local);
43 lockdep_assert_wiphy(local->hw.wiphy);
44 list_for_each_entry(sta, &local->sta_list, list) {
53 ieee80211_sched_scan_cancel(local);
63 ieee80211_flush_queues(local, NULL, true);
65 local->quiescing = true;
69 flush_workqueue(local->workqueue);
72 del_timer_sync(&local->sta_cleanup);
78 wiphy_work_cancel(local->hw.wiphy, &local->dynamic_ps_enable_work);
79 del_timer_sync(&local->dynamic_ps_timer);
81 local->wowlan = wowlan;
82 if (local->wowlan) {
92 list_for_each_entry(sdata, &local->interfaces, list) {
109 !(local->hw.conf.flags & IEEE80211_CONF_PS)) {
110 local->hw.conf.flags |= IEEE80211_CONF_PS;
111 ieee80211_hw_config(local,
116 err = drv_suspend(local, wowlan);
118 local->quiescing = false;
119 local->wowlan = false;
121 lockdep_assert_wiphy(local->hw.wiphy);
123 &local->sta_list, list) {
148 list_for_each_entry(sdata, &local->interfaces, list) {
162 wiphy_delayed_work_flush(local->hw.wiphy,
164 drv_remove_interface(local, sdata);
171 WARN_ON(!list_empty(&local->chanctx_list));
174 ieee80211_stop_device(local);
177 local->suspended = true;
180 local->quiescing = false;
181 local->suspending = false;