svn commit: r218057 - head/tools/tools/ath/athpow

Adrian Chadd adrian at FreeBSD.org
Sat Jan 29 04:34:31 UTC 2011


Author: adrian
Date: Sat Jan 29 04:34:30 2011
New Revision: 218057
URL: http://svn.freebsd.org/changeset/base/218057

Log:
  Keep this in sync with the ar5212 power rate table size.
  This doesn't yet know about the 802.11n radios or rates.

Modified:
  head/tools/tools/ath/athpow/athpow.c

Modified: head/tools/tools/ath/athpow/athpow.c
==============================================================================
--- head/tools/tools/ath/athpow/athpow.c	Sat Jan 29 02:36:45 2011	(r218056)
+++ head/tools/tools/ath/athpow/athpow.c	Sat Jan 29 04:34:30 2011	(r218057)
@@ -78,7 +78,7 @@ main(int argc, char *argv[])
 	const char *ifname;
 	HAL_REVS revs;
 	u_int16_t pcdacTable[MAX(PWR_TABLE_SIZE,PWR_TABLE_SIZE_2413)];
-	u_int16_t ratesArray[16];
+	u_int16_t ratesArray[37];
 	u_int nrates, npcdac;
 
 	s = socket(AF_INET, SOCK_DGRAM, 0);


More information about the svn-src-all mailing list