svn commit: r239198 - head/sys/dev/ath
Adrian Chadd
adrian at FreeBSD.org
Sat Aug 11 22:25:29 UTC 2012
Author: adrian
Date: Sat Aug 11 22:25:28 2012
New Revision: 239198
URL: http://svn.freebsd.org/changeset/base/239198
Log:
Add the AR9300 HAL ID in to the 11n check routine.
I was having TX hang issues, which I root caused to having the
legacy ath_hal_setupxtxdesc() called, rather than the 11n rate scenario
setup code. This meant that rate control information wasn't being
put into frames, causing the MAC to stall/hang.
Modified:
head/sys/dev/ath/if_ath_tx.c
Modified: head/sys/dev/ath/if_ath_tx.c
==============================================================================
--- head/sys/dev/ath/if_ath_tx.c Sat Aug 11 22:20:28 2012 (r239197)
+++ head/sys/dev/ath/if_ath_tx.c Sat Aug 11 22:25:28 2012 (r239198)
@@ -120,7 +120,8 @@ static int ath_tx_action_frame_override_
static inline int
ath_tx_is_11n(struct ath_softc *sc)
{
- return (sc->sc_ah->ah_magic == 0x20065416);
+ return ((sc->sc_ah->ah_magic == 0x20065416) ||
+ (sc->sc_ah->ah_magic == 0x19741014));
}
/*
More information about the svn-src-head
mailing list