Commit ad40d3da authored by Janusz Dziedzic's avatar Janusz Dziedzic Committed by John W. Linville

ath9k/ath: move dfs pattern detector to ath

Move the DFS pattern detector code to the ath module so
the other Atheros drivers can make us of it. This makes
no functional changes.
Signed-off-by: default avatarJanusz Dziedzic <janusz.dziedzic@tieto.com>
Reviewed-by: default avatarLuis R. Rodriguez <mcgrof@do-not-panic.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 379ce86e
...@@ -12,7 +12,9 @@ obj-$(CONFIG_ATH_COMMON) += ath.o ...@@ -12,7 +12,9 @@ obj-$(CONFIG_ATH_COMMON) += ath.o
ath-objs := main.o \ ath-objs := main.o \
regd.o \ regd.o \
hw.o \ hw.o \
key.o key.o \
dfs_pattern_detector.o \
dfs_pri_detector.o
ath-$(CONFIG_ATH_DEBUG) += debug.o ath-$(CONFIG_ATH_DEBUG) += debug.o
ccflags-y += -D__CHECK_ENDIAN__ ccflags-y += -D__CHECK_ENDIAN__
...@@ -14,9 +14,7 @@ ath9k-$(CONFIG_ATH9K_AHB) += ahb.o ...@@ -14,9 +14,7 @@ ath9k-$(CONFIG_ATH9K_AHB) += ahb.o
ath9k-$(CONFIG_ATH9K_DEBUGFS) += debug.o ath9k-$(CONFIG_ATH9K_DEBUGFS) += debug.o
ath9k-$(CONFIG_ATH9K_DFS_DEBUGFS) += dfs_debug.o ath9k-$(CONFIG_ATH9K_DFS_DEBUGFS) += dfs_debug.o
ath9k-$(CONFIG_ATH9K_DFS_CERTIFIED) += \ ath9k-$(CONFIG_ATH9K_DFS_CERTIFIED) += \
dfs.o \ dfs.o
dfs_pattern_detector.o \
dfs_pri_detector.o
ath9k-$(CONFIG_PM_SLEEP) += wow.o ath9k-$(CONFIG_PM_SLEEP) += wow.o
obj-$(CONFIG_ATH9K) += ath9k.o obj-$(CONFIG_ATH9K) += ath9k.o
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
#ifndef ATH9K_DFS_H #ifndef ATH9K_DFS_H
#define ATH9K_DFS_H #define ATH9K_DFS_H
#include "dfs_pattern_detector.h" #include "../dfs_pattern_detector.h"
#if defined(CONFIG_ATH9K_DFS_CERTIFIED) #if defined(CONFIG_ATH9K_DFS_CERTIFIED)
/** /**
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include "ath9k.h" #include "ath9k.h"
#include "dfs_debug.h" #include "dfs_debug.h"
#include "dfs_pattern_detector.h" #include "../dfs_pattern_detector.h"
static struct ath_dfs_pool_stats dfs_pool_stats = { 0 }; static struct ath_dfs_pool_stats dfs_pool_stats = { 0 };
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include "dfs_pattern_detector.h" #include "dfs_pattern_detector.h"
#include "dfs_pri_detector.h" #include "dfs_pri_detector.h"
#include "../ath.h" #include "ath.h"
/* /*
* tolerated deviation of radar time stamp in usecs on both sides * tolerated deviation of radar time stamp in usecs on both sides
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/spinlock.h> #include <linux/spinlock.h>
#include "../ath.h" #include "ath.h"
#include "dfs_pattern_detector.h" #include "dfs_pattern_detector.h"
#include "dfs_pri_detector.h" #include "dfs_pri_detector.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment