svn commit: r239803 - head/sys/dev/ath/ath_hal/ar9002

Adrian Chadd adrian at FreeBSD.org
Wed Aug 29 04:11:00 UTC 2012


Author: adrian
Date: Wed Aug 29 04:11:00 2012
New Revision: 239803
URL: http://svn.freebsd.org/changeset/base/239803

Log:
  Set the HAL combined antenna diversity capability if the AR9285
  EEPROM settings allow it.

Modified:
  head/sys/dev/ath/ath_hal/ar9002/ar9285_attach.c

Modified: head/sys/dev/ath/ath_hal/ar9002/ar9285_attach.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ar9002/ar9285_attach.c	Wed Aug 29 04:09:54 2012	(r239802)
+++ head/sys/dev/ath/ath_hal/ar9002/ar9285_attach.c	Wed Aug 29 04:11:00 2012	(r239803)
@@ -504,6 +504,9 @@ ar9285FillCapabilityInfo(struct ath_hal 
 	pCap->halTxStreams = 1;
 	pCap->halRxStreams = 1;
 
+	if (ar9285_check_div_comb(ah))
+		pCap->halAntDivCombSupport = AH_TRUE;
+
 	pCap->halCSTSupport = AH_TRUE;
 	pCap->halRifsRxSupport = AH_TRUE;
 	pCap->halRifsTxSupport = AH_TRUE;


More information about the svn-src-all mailing list