summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath9k/htc.h
diff options
context:
space:
mode:
authorOleksij Rempel <linux@rempel-privat.de>2014-03-01 21:15:52 +0100
committerJohn W. Linville <linville@tuxdriver.com>2014-03-17 13:13:06 -0400
commitcc24c86f7cc5de8938c32f15cd59bd425d21bb60 (patch)
tree8c9de67ab668634ae38f3b1198498751240fc779 /drivers/net/wireless/ath/ath9k/htc.h
parented51fe314f9e9335333d4ab8bd91ad9da17c9925 (diff)
downloadlwn-cc24c86f7cc5de8938c32f15cd59bd425d21bb60.tar.gz
lwn-cc24c86f7cc5de8938c32f15cd59bd425d21bb60.zip
ath9k_htc: sync beacon slot code with ath9k
we will need it for common-beacon 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/htc.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/htc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc.h b/drivers/net/wireless/ath/ath9k/htc.h
index 707c5b418dc6..124dfedb0fd1 100644
--- a/drivers/net/wireless/ath/ath9k/htc.h
+++ b/drivers/net/wireless/ath/ath9k/htc.h
@@ -407,9 +407,17 @@ static inline void ath9k_htc_err_stat_rx(struct ath9k_htc_priv *priv,
#define MIN_SWBA_RESPONSE 10 /* in TUs */
struct htc_beacon {
+ enum {
+ OK, /* no change needed */
+ UPDATE, /* update pending */
+ COMMIT /* beacon sent, commit change */
+ } updateslot; /* slot time update fsm */
+
struct ieee80211_vif *bslot[ATH9K_HTC_MAX_BCN_VIF];
u32 bmisscnt;
u32 beaconq;
+ int slottime;
+ int slotupdate;
};
struct ath_btcoex {