Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Mar 2013 04:56:54 +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: r248717 - head/sys/dev/ath
Message-ID:  <201303260456.r2Q4usg9011313@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Tue Mar 26 04:56:54 2013
New Revision: 248717
URL: http://svnweb.freebsd.org/changeset/base/248717

Log:
  Remove the mcast path calls to ath_hal_gettxdesclinkptr() for axq_link -
  they're no longer needed for the legacy path and they're not wanted
  for the EDMA path.
  
  Tested:
  
  * AR9280, hostap + CABQ
  * AR9380/AR9580, hostap + CABQ

Modified:
  head/sys/dev/ath/if_ath_tx.c
  head/sys/dev/ath/if_ath_tx_edma.c

Modified: head/sys/dev/ath/if_ath_tx.c
==============================================================================
--- head/sys/dev/ath/if_ath_tx.c	Tue Mar 26 04:53:40 2013	(r248716)
+++ head/sys/dev/ath/if_ath_tx.c	Tue Mar 26 04:56:54 2013	(r248717)
@@ -720,7 +720,6 @@ ath_tx_handoff_mcast(struct ath_softc *s
 		    bf->bf_daddr);
 	}
 	ATH_TXQ_INSERT_TAIL(txq, bf, bf_list);
-	ath_hal_gettxdesclinkptr(sc->sc_ah, bf->bf_lastds, &txq->axq_link);
 	ATH_TXQ_UNLOCK(txq);
 }
 

Modified: head/sys/dev/ath/if_ath_tx_edma.c
==============================================================================
--- head/sys/dev/ath/if_ath_tx_edma.c	Tue Mar 26 04:53:40 2013	(r248716)
+++ head/sys/dev/ath/if_ath_tx_edma.c	Tue Mar 26 04:56:54 2013	(r248717)
@@ -279,9 +279,7 @@ ath_edma_xmit_handoff_mcast(struct ath_s
 	if (if_ath_alq_checkdebug(&sc->sc_alq, ATH_ALQ_EDMA_TXDESC))
 		ath_tx_alq_post(sc, bf);
 #endif	/* ATH_DEBUG_ALQ */
-
 	ATH_TXQ_INSERT_TAIL(txq, bf, bf_list);
-	ath_hal_gettxdesclinkptr(sc->sc_ah, bf->bf_lastds, &txq->axq_link);
 	ATH_TXQ_UNLOCK(txq);
 }
 



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