From owner-svn-src-all@FreeBSD.ORG Fri Jul 27 11:54:06 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4EEA9106564A; Fri, 27 Jul 2012 11:54:06 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 3A0108FC12; Fri, 27 Jul 2012 11:54:06 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q6RBs6FL002249; Fri, 27 Jul 2012 11:54:06 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q6RBs6uO002247; Fri, 27 Jul 2012 11:54:06 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201207271154.q6RBs6uO002247@svn.freebsd.org> From: Adrian Chadd Date: Fri, 27 Jul 2012 11:54:06 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r238842 - head/sys/dev/ath/ath_hal/ar5416 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jul 2012 11:54:06 -0000 Author: adrian Date: Fri Jul 27 11:54:05 2012 New Revision: 238842 URL: http://svn.freebsd.org/changeset/base/238842 Log: Add STBC TX support for AR5416 HAL chips. Specifically, however: * AR9280 and later support 1-stream STBC RX; * AR9280 and AR9287 support 1-stream STBC TX. The STBC support isn't announced (yet) via net80211 and it isn't at all chosen by the rate control code, so there's no real consumer of this yet. Obtained from: Qualcomm Atheros Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_xmit.c Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_xmit.c ============================================================================== --- head/sys/dev/ath/ath_hal/ar5416/ar5416_xmit.c Fri Jul 27 11:45:57 2012 (r238841) +++ head/sys/dev/ath/ath_hal/ar5416/ar5416_xmit.c Fri Jul 27 11:54:05 2012 (r238842) @@ -135,6 +135,7 @@ ar5416StopTxDma(struct ath_hal *ah, u_in #define set11nRateFlags(_series, _index) \ ((_series)[_index].RateFlags & HAL_RATESERIES_2040 ? AR_2040_##_index : 0) \ |((_series)[_index].RateFlags & HAL_RATESERIES_HALFGI ? AR_GI##_index : 0) \ + |((_series)[_index].RateFlags & HAL_RATESERIES_STBC ? AR_STBC##_index : 0) \ |SM((_series)[_index].ChSel, AR_ChainSel##_index) /*