Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Apr 2011 12:46:47 +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: r220718 - head/sys/dev/ath/ath_hal/ar5416
Message-ID:  <201104161246.p3GCklOd005602@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Sat Apr 16 12:46:46 2011
New Revision: 220718
URL: http://svn.freebsd.org/changeset/base/220718

Log:
  Disable classic-style fast diversity on the AR5416 and later.
  
  Antenna diversity on the >= AR5416 is implemented differently than the
  AR5212 and previous chips. So for now, and not to confuse things, just
  disable it for now.

Modified:
  head/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c

Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c	Sat Apr 16 12:45:09 2011	(r220717)
+++ head/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c	Sat Apr 16 12:46:46 2011	(r220718)
@@ -290,6 +290,8 @@ ar5416GetCapability(struct ath_hal *ah, 
 		    (ah->ah_macVersion == AR_XSREV_VERSION_OWL_PCIE) ||
 		    AR_SREV_SOWL(ah)) ?
 			HAL_OK : HAL_ENOTSUPP;
+	case HAL_CAP_DIVERSITY:		/* disable classic fast diversity */
+		return HAL_ENXIO;
 	default:
 		break;
 	}



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