Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Aug 2012 22:25:28 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r239198 - head/sys/dev/ath
Message-ID:  <201208112225.q7BMPSvJ006140@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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));
 }
 
 /*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208112225.q7BMPSvJ006140>