svn commit: r238842 - head/sys/dev/ath/ath_hal/ar5416
    Adrian Chadd 
    adrian at FreeBSD.org
       
    Fri Jul 27 11:54:06 UTC 2012
    
    
  
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)
 
 /*
    
    
More information about the svn-src-all
mailing list