2019-09-19 14:25:47 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
|
|
/*
|
|
|
|
* Scan related functions.
|
|
|
|
*
|
2020-10-07 12:19:41 +02:00
|
|
|
* Copyright (c) 2017-2020, Silicon Laboratories, Inc.
|
2019-09-19 14:25:47 +00:00
|
|
|
* Copyright (c) 2010, ST-Ericsson
|
|
|
|
*/
|
|
|
|
#ifndef WFX_SCAN_H
|
|
|
|
#define WFX_SCAN_H
|
|
|
|
|
2021-03-09 15:51:56 +01:00
|
|
|
#include <net/mac80211.h>
|
|
|
|
|
2019-09-19 14:25:47 +00:00
|
|
|
struct wfx_dev;
|
|
|
|
struct wfx_vif;
|
|
|
|
|
2019-12-17 16:15:37 +00:00
|
|
|
void wfx_hw_scan_work(struct work_struct *work);
|
2019-09-19 14:25:47 +00:00
|
|
|
int wfx_hw_scan(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
|
|
|
|
struct ieee80211_scan_request *req);
|
2019-12-17 16:15:41 +00:00
|
|
|
void wfx_cancel_hw_scan(struct ieee80211_hw *hw, struct ieee80211_vif *vif);
|
2021-09-13 15:01:36 +02:00
|
|
|
void wfx_scan_complete(struct wfx_vif *wvif, int nb_chan_done);
|
2019-09-19 14:25:47 +00:00
|
|
|
|
2023-10-04 19:28:43 +02:00
|
|
|
void wfx_remain_on_channel_work(struct work_struct *work);
|
|
|
|
int wfx_remain_on_channel(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
|
|
|
|
struct ieee80211_channel *chan, int duration,
|
|
|
|
enum ieee80211_roc_type type);
|
|
|
|
int wfx_cancel_remain_on_channel(struct ieee80211_hw *hw, struct ieee80211_vif *vif);
|
|
|
|
|
2021-09-13 15:02:00 +02:00
|
|
|
#endif
|