aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@googlemail.com>2010-10-29 17:17:38 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-11-15 13:25:31 -0500
commite27769059ccb15273a7eb69ed31b8e08f9b0eda8 (patch)
tree3dbebc75893bd206d0c7678827148d87a7f29f39
parent3f1240e4f4b249f2388903864bdc766973f76687 (diff)
carl9170: initialize HW aMPDU parameters properly
This patch changes the initial aMPDU density and factor settings to match those of Otus. Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/ath/carl9170/mac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/carl9170/mac.c b/drivers/net/wireless/ath/carl9170/mac.c
index 2305bc27151c..c34eeeeb8af3 100644
--- a/drivers/net/wireless/ath/carl9170/mac.c
+++ b/drivers/net/wireless/ath/carl9170/mac.c
@@ -205,8 +205,8 @@ int carl9170_init_mac(struct ar9170 *ar)
205 carl9170_regwrite(AR9170_MAC_REG_BACKOFF_PROTECT, 0x105); 205 carl9170_regwrite(AR9170_MAC_REG_BACKOFF_PROTECT, 0x105);
206 206
207 /* Aggregation MAX number and timeout */ 207 /* Aggregation MAX number and timeout */
208 carl9170_regwrite(AR9170_MAC_REG_AMPDU_FACTOR, 0xa); 208 carl9170_regwrite(AR9170_MAC_REG_AMPDU_FACTOR, 0x8000a);
209 carl9170_regwrite(AR9170_MAC_REG_AMPDU_DENSITY, 0x140a00); 209 carl9170_regwrite(AR9170_MAC_REG_AMPDU_DENSITY, 0x140a07);
210 210
211 carl9170_regwrite(AR9170_MAC_REG_FRAMETYPE_FILTER, 211 carl9170_regwrite(AR9170_MAC_REG_FRAMETYPE_FILTER,
212 AR9170_MAC_FTF_DEFAULTS); 212 AR9170_MAC_FTF_DEFAULTS);