summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/common.h
diff options
context:
space:
mode:
authorOleksij Rempel <linux@rempel-privat.de>2014-03-01 21:15:44 +0100
committerJohn W. Linville <linville@tuxdriver.com>2014-03-17 18:13:05 +0100
commitfd0ab793353862257dee56e07aed79dc195bc1c8 (patch)
treed5962ebb8f9a762efb18fef2be12bd75eb0d516d /drivers/net/wireless/ath/ath9k/common.h
parentbrcmfmac: Make probe function __init (diff)
downloadlinux-fd0ab793353862257dee56e07aed79dc195bc1c8.tar.xz
linux-fd0ab793353862257dee56e07aed79dc195bc1c8.zip
ath9k: move struct ath_beacon_config to common
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to '')
-rw-r--r--drivers/net/wireless/ath/ath9k/common.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/common.h b/drivers/net/wireless/ath/ath9k/common.h
index 4c449e35bd65..26aafb394a5c 100644
--- a/drivers/net/wireless/ath/ath9k/common.h
+++ b/drivers/net/wireless/ath/ath9k/common.h
@@ -44,6 +44,15 @@
#define ATH_EP_RND(x, mul) \
(((x) + ((mul)/2)) / (mul))
+struct ath_beacon_config {
+ int beacon_interval;
+ u16 dtim_period;
+ u16 bmiss_timeout;
+ u8 dtim_count;
+ bool enable_beacon;
+ bool ibss_creator;
+};
+
bool ath9k_cmn_rx_accept(struct ath_common *common,
struct ieee80211_hdr *hdr,
struct ieee80211_rx_status *rxs,