drm/rockchip: Don't change hdmi reference clock rate
[drm/drm-misc.git] / drivers / net / wireless / silabs / wfx / scan.h
blob995ab8c6cb5ef771f7383acb1256b5f45e40ba71
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Scan related functions.
5 * Copyright (c) 2017-2020, Silicon Laboratories, Inc.
6 * Copyright (c) 2010, ST-Ericsson
7 */
8 #ifndef WFX_SCAN_H
9 #define WFX_SCAN_H
11 #include <net/mac80211.h>
13 struct wfx_dev;
14 struct wfx_vif;
16 void wfx_hw_scan_work(struct work_struct *work);
17 int wfx_hw_scan(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
18 struct ieee80211_scan_request *req);
19 void wfx_cancel_hw_scan(struct ieee80211_hw *hw, struct ieee80211_vif *vif);
20 void wfx_scan_complete(struct wfx_vif *wvif, int nb_chan_done);
22 void wfx_remain_on_channel_work(struct work_struct *work);
23 int wfx_remain_on_channel(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
24 struct ieee80211_channel *chan, int duration,
25 enum ieee80211_roc_type type);
26 int wfx_cancel_remain_on_channel(struct ieee80211_hw *hw, struct ieee80211_vif *vif);
28 #endif