Author: adrian
Date: Fri Dec 28 08:00:31 2012
New Revision: 244768
URL: http://svnweb.freebsd.org/changeset/base/244768

Log:
  Add the AR9280 and later spectral scan register definitions.
  
  Obtained from:        Linux ath9k, Qualcomm Atheros (datasheet)

Modified:
  head/sys/dev/ath/ath_hal/ar5416/ar5416phy.h

Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416phy.h
==============================================================================
--- head/sys/dev/ath/ath_hal/ar5416/ar5416phy.h Fri Dec 28 07:49:45 2012        
(r244767)
+++ head/sys/dev/ath/ath_hal/ar5416/ar5416phy.h Fri Dec 28 08:00:31 2012        
(r244768)
@@ -57,6 +57,20 @@
 #define        AR_BT_DISABLE_BT_ANT       0x00100000
 #define        AR_BT_DISABLE_BT_ANT_S     20
 
+#define        AR_PHY_SPECTRAL_SCAN            0x9910
+#define        AR_PHY_SPECTRAL_SCAN_ENA        0x00000001
+#define        AR_PHY_SPECTRAL_SCAN_ENA_S      0
+#define        AR_PHY_SPECTRAL_SCAN_ACTIVE     0x00000002
+#define        AR_PHY_SPECTRAL_SCAN_ACTIVE_S   1
+#define        AR_PHY_SPECTRAL_SCAN_FFT_PERIOD 0x000000F0
+#define        AR_PHY_SPECTRAL_SCAN_FFT_PERIOD_S       4
+#define        AR_PHY_SPECTRAL_SCAN_PERIOD     0x0000FF00
+#define        AR_PHY_SPECTRAL_SCAN_PERIOD_S   8
+#define        AR_PHY_SPECTRAL_SCAN_COUNT      0x00FF0000
+#define        AR_PHY_SPECTRAL_SCAN_COUNT_S    16
+#define        AR_PHY_SPECTRAL_SCAN_SHORT_REPEAT       0x01000000
+#define        AR_PHY_SPECTRAL_SCAN_SHORT_REPEAT_S     24
+
 /* For AR_PHY_RADAR0 */
 #define        AR_PHY_RADAR_0_FFT_ENA          0x80000000
 
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to