summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath9k/core.h
diff options
context:
space:
mode:
authorSujith2008-09-17 06:45:36 +0200
committerJohn W. Linville2008-09-24 22:18:02 +0200
commit459f5f90f1bd959ced04761406415b178b315177 (patch)
tree4942464314d109e400d0a266e7f596bd4cbda969 /drivers/net/wireless/ath9k/core.h
parentath9k: Whitespace cleanup (diff)
downloadkernel-qcow2-linux-459f5f90f1bd959ced04761406415b178b315177.tar.gz
kernel-qcow2-linux-459f5f90f1bd959ced04761406415b178b315177.tar.xz
kernel-qcow2-linux-459f5f90f1bd959ced04761406415b178b315177.zip
ath9k: Fix nexttbtt calculation
nexttbtt has to be obtained from the timestamp of the beacon obtained from mac80211. Fix this. And <asm/unaligned.h> is not needed anymore. Signed-off-by: Sujith <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/core.h')
-rw-r--r--drivers/net/wireless/ath9k/core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath9k/core.h b/drivers/net/wireless/ath9k/core.h
index b66de29cf662..6ff3befe39f7 100644
--- a/drivers/net/wireless/ath9k/core.h
+++ b/drivers/net/wireless/ath9k/core.h
@@ -1001,6 +1001,7 @@ struct ath_softc {
u32 sc_bhalq;
u32 sc_bmisscount;
u32 ast_be_xmit; /* beacons transmitted */
+ u64 bc_tstamp;
/* Rate */
struct ieee80211_rate rates[IEEE80211_NUM_BANDS][ATH_RATE_MAX];