summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath9k/common.h
diff options
context:
space:
mode:
authorOleksij Rempel <linux@rempel-privat.de>2014-03-01 20:15:44 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2014-03-17 17:13:05 (GMT)
commitfd0ab793353862257dee56e07aed79dc195bc1c8 (patch)
treed5962ebb8f9a762efb18fef2be12bd75eb0d516d /drivers/net/wireless/ath/ath9k/common.h
parentc2d23c709c4ca2ddee4256689ac608ee50ec955a (diff)
downloadlinux-fd0ab793353862257dee56e07aed79dc195bc1c8.tar.xz
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 'drivers/net/wireless/ath/ath9k/common.h')
-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 4c449e3..26aafb3 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,