summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2012-07-28 07:28:08 +0000
committeradrian <adrian@FreeBSD.org>2012-07-28 07:28:08 +0000
commit1649434dac0bc2224d9e4999afd1d3489e9849db (patch)
treed8a8132e3246a9e01f55e74145447ff7b2ab7b72 /sys/dev/ath/ath_hal/ar5212/ar5212_attach.c
parent8a80cab981f4d804613af6ad843a15498823f829 (diff)
downloadFreeBSD-src-1649434dac0bc2224d9e4999afd1d3489e9849db.zip
FreeBSD-src-1649434dac0bc2224d9e4999afd1d3489e9849db.tar.gz
Flesh out the multi-rate retry capability.
The existing method for testing for MRR is to call the "SetupXTXDesc" HAL method and see if it returns AH_TRUE or AH_FALSE. This capability explicitly lists what number of multi-rate attempts are possible. "1" means "one rate attempt supported".
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 3322ee4..c3fd1c7 100644
--- a/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c
+++ b/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c
@@ -824,6 +824,7 @@ ar5212FillCapabilityInfo(struct ath_hal *ah)
pCap->halTurboGSupport = pCap->halWirelessModes & HAL_MODE_108G;
pCap->halPSPollBroken = AH_TRUE; /* XXX fixed in later revs? */
+ pCap->halNumMRRetries = 4; /* Hardware supports 4 MRR */
pCap->halVEOLSupport = AH_TRUE;
pCap->halBssIdMaskSupport = AH_TRUE;
pCap->halMcastKeySrchSupport = AH_TRUE;
OpenPOWER on IntegriCloud