aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2009-09-14 02:11:13 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-10-07 16:39:29 -0400
commite3d01bfc3ea4f17c9e91bb930f10062efb0c86eb (patch)
treeec36cfa4d1132fd983574de64d31479128711d4f
parent25c56eec92b15fdec5be96fa1303dac3443200ae (diff)
ath9k: move ATH_AMPDU_LIMIT_MAX to hw.h
This is used by hw code. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/ath/ath9k/ath9k.h1
-rw-r--r--drivers/net/wireless/ath/ath9k/hw.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ath9k.h b/drivers/net/wireless/ath/ath9k/ath9k.h
index 73c2ac55937b..f3b5a609554e 100644
--- a/drivers/net/wireless/ath/ath9k/ath9k.h
+++ b/drivers/net/wireless/ath/ath9k/ath9k.h
@@ -189,7 +189,6 @@ void ath_descdma_cleanup(struct ath_softc *sc, struct ath_descdma *dd,
189/* minimum h/w qdepth to be sustained to maximize aggregation */ 189/* minimum h/w qdepth to be sustained to maximize aggregation */
190#define ATH_AGGR_MIN_QDEPTH 2 190#define ATH_AGGR_MIN_QDEPTH 2
191#define ATH_AMPDU_SUBFRAME_DEFAULT 32 191#define ATH_AMPDU_SUBFRAME_DEFAULT 32
192#define ATH_AMPDU_LIMIT_MAX (64 * 1024 - 1)
193 192
194#define IEEE80211_SEQ_SEQ_SHIFT 4 193#define IEEE80211_SEQ_SEQ_SHIFT 4
195#define IEEE80211_SEQ_MAX 4096 194#define IEEE80211_SEQ_MAX 4096
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h
index 92770cbc7444..35a3224b56fe 100644
--- a/drivers/net/wireless/ath/ath9k/hw.h
+++ b/drivers/net/wireless/ath/ath9k/hw.h
@@ -51,6 +51,8 @@
51#define AT9285_COEX3WIRE_SA_SUBSYSID 0x30aa 51#define AT9285_COEX3WIRE_SA_SUBSYSID 0x30aa
52#define AT9285_COEX3WIRE_DA_SUBSYSID 0x30ab 52#define AT9285_COEX3WIRE_DA_SUBSYSID 0x30ab
53 53
54#define ATH_AMPDU_LIMIT_MAX (64 * 1024 - 1)
55
54/* Register read/write primitives */ 56/* Register read/write primitives */
55#define REG_WRITE(_ah, _reg, _val) \ 57#define REG_WRITE(_ah, _reg, _val) \
56 ath9k_hw_common(_ah)->ops->write((_ah), (_val), (_reg)) 58 ath9k_hw_common(_ah)->ops->write((_ah), (_val), (_reg))