svn commit: r368451 - head/sys/dev/ath

Adrian Chadd adrian at FreeBSD.org
Tue Dec 8 17:28:43 UTC 2020


Author: adrian
Date: Tue Dec  8 17:28:42 2020
New Revision: 368451
URL: https://svnweb.freebsd.org/changeset/base/368451

Log:
  [ath] also remove the magic size value here for the transmit antenna statistics.

Modified:
  head/sys/dev/ath/if_athvar.h

Modified: head/sys/dev/ath/if_athvar.h
==============================================================================
--- head/sys/dev/ath/if_athvar.h	Tue Dec  8 17:27:24 2020	(r368450)
+++ head/sys/dev/ath/if_athvar.h	Tue Dec  8 17:28:42 2020	(r368451)
@@ -780,7 +780,8 @@ struct ath_softc {
 	ath_bufhead		sc_bbuf;	/* beacon buffers */
 	u_int			sc_bhalq;	/* HAL q for outgoing beacons */
 	u_int			sc_bmisscount;	/* missed beacon transmits */
-	u_int32_t		sc_ant_tx[8];	/* recent tx frames/antenna */
+	u_int32_t		sc_ant_tx[ATH_IOCTL_STATS_NUM_TX_ANTENNA];
+						/* recent tx frames/antenna */
 	struct ath_txq		*sc_cabq;	/* tx q for cab frames */
 	struct task		sc_bmisstask;	/* bmiss int processing */
 	struct task		sc_bstucktask;	/* stuck beacon processing */


More information about the svn-src-head mailing list