summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mediatek/mt76/mt76x02_dfs.h
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>2018-10-22 23:42:12 +0200
committerFelix Fietkau <nbd@nbd.name>2018-11-30 12:21:42 +0100
commite6cb3291053fdf21e5caba68137b4bab112815fc (patch)
treeea49af17840530a9c7ba6b64d1d37ff6f8b678ff /drivers/net/wireless/mediatek/mt76/mt76x02_dfs.h
parentcc726268e4dcec33c6ed65d664d70b9e13cb4760 (diff)
downloadlinux-stable-e6cb3291053fdf21e5caba68137b4bab112815fc.tar.gz
linux-stable-e6cb3291053fdf21e5caba68137b4bab112815fc.tar.bz2
linux-stable-e6cb3291053fdf21e5caba68137b4bab112815fc.zip
mt76: move dfs support in mt76x02-lib module
Move mt76x2 DFS support in mt76x02-lib module in order to be reused by mt76x0 driver and unlock DFS frequencies Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76x02_dfs.h')
-rw-r--r--drivers/net/wireless/mediatek/mt76/mt76x02_dfs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x02_dfs.h b/drivers/net/wireless/mediatek/mt76/mt76x02_dfs.h
index 7e177c934592..59e1524ff98b 100644
--- a/drivers/net/wireless/mediatek/mt76/mt76x02_dfs.h
+++ b/drivers/net/wireless/mediatek/mt76/mt76x02_dfs.h
@@ -137,4 +137,8 @@ struct mt76x02_dfs_pattern_detector {
struct tasklet_struct dfs_tasklet;
};
+void mt76x02_dfs_init_params(struct mt76x02_dev *dev);
+void mt76x02_dfs_init_detector(struct mt76x02_dev *dev);
+void mt76x02_regd_notifier(struct wiphy *wiphy,
+ struct regulatory_request *request);
#endif /* __MT76x02_DFS_H */