svn commit: r238840 - head/sys/dev/ath/ath_hal

Adrian Chadd adrian at FreeBSD.org
Fri Jul 27 11:44:49 UTC 2012


Author: adrian
Date: Fri Jul 27 11:44:48 2012
New Revision: 238840
URL: http://svn.freebsd.org/changeset/base/238840

Log:
  Add some comments about what the two fields mean.

Modified:
  head/sys/dev/ath/ath_hal/ah.h

Modified: head/sys/dev/ath/ath_hal/ah.h
==============================================================================
--- head/sys/dev/ath/ath_hal/ah.h	Fri Jul 27 11:43:10 2012	(r238839)
+++ head/sys/dev/ath/ath_hal/ah.h	Fri Jul 27 11:44:48 2012	(r238840)
@@ -580,14 +580,14 @@ typedef enum {
 
 typedef struct {
 	u_int	Tries;
-	u_int	Rate;
+	u_int	Rate;		/* hardware rate code */
+	u_int	RateIndex;	/* rate series table index */
 	u_int	PktDuration;
 	u_int	ChSel;
 	u_int	RateFlags;
 #define	HAL_RATESERIES_RTS_CTS		0x0001	/* use rts/cts w/this series */
 #define	HAL_RATESERIES_2040		0x0002	/* use ext channel for series */
 #define	HAL_RATESERIES_HALFGI		0x0004	/* use half-gi for series */
-	u_int	RateIndex;
 	u_int	tx_power_cap;
 } HAL_11N_RATE_SERIES;
 


More information about the svn-src-head mailing list