summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2011-04-04 14:52:31 +0000
committeradrian <adrian@FreeBSD.org>2011-04-04 14:52:31 +0000
commit09aec381fa82662add1313b7358cdbd76c45d805 (patch)
tree264fe3c7ffaef025d60c1d4c075f1f16625d025a /sys/dev/ath/ath_hal/ar5212/ar5212_attach.c
parent6893c146930d1dfe0516c9964a802fa3939d7b49 (diff)
downloadFreeBSD-src-09aec381fa82662add1313b7358cdbd76c45d805.zip
FreeBSD-src-09aec381fa82662add1313b7358cdbd76c45d805.tar.gz
Add a HAL capability bit for supporting self-linked RX descriptors and disable it for the 11n chipsets.
From the ath9k source: == 11N: we can no longer afford to self link the last descriptor. MAC acknowledges BA status as long as it copies frames to host buffer (or rx fifo). This can incorrectly acknowledge packets to a sender if last desc is self-linked. == Since this is useful for pre-AR5416 chips that communicate PHY errors via error frames rather than by on-chip counters, leave the support in there, but disable it for AR5416 and later.
Diffstat (limited to 'sys/dev/ath/ath_hal/ar5212/ar5212_attach.c')
-rw-r--r--sys/dev/ath/ath_hal/ar5212/ar5212_attach.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c b/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c
index 3aabdcc..4b0fcbe 100644
--- a/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c
+++ b/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c
@@ -861,6 +861,7 @@ ar5212FillCapabilityInfo(struct ath_hal *ah)
pCap->halIntrMask &= ~HAL_INT_TBTT;
pCap->hal4kbSplitTransSupport = AH_TRUE;
+ pCap->halHasRxSelfLinkedTail = AH_TRUE;
return AH_TRUE;
#undef IS_COBRA
OpenPOWER on IntegriCloud