Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Aug 2012 04:11:00 +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: r239803 - head/sys/dev/ath/ath_hal/ar9002
Message-ID:  <201208290411.q7T4B0bM080187@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



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