svn commit: r344749 - head/sys/dev/ath/ath_hal

Adrian Chadd adrian at FreeBSD.org
Mon Mar 4 06:42:07 UTC 2019


Author: adrian
Date: Mon Mar  4 06:42:06 2019
New Revision: 344749
URL: https://svnweb.freebsd.org/changeset/base/344749

Log:
  [ath_hal] add extra ANI fields for the AR9300 HAL.
  
  I'm trying to debug why reception upstairs here is so terrible and it
  turns out ANI is buggy.  (Which is no surprise, ANI is always buggy.)
  
  Tested:
  
  * Carambola2 (AR9331), STA/AP modes

Modified:
  head/sys/dev/ath/ath_hal/ah.h

Modified: head/sys/dev/ath/ath_hal/ah.h
==============================================================================
--- head/sys/dev/ath/ath_hal/ah.h	Mon Mar  4 03:47:06 2019	(r344748)
+++ head/sys/dev/ath/ath_hal/ah.h	Mon Mar  4 06:42:06 2019	(r344749)
@@ -893,11 +893,13 @@ typedef struct {
 } HAL_ANI_STATS;
 
 typedef struct {
-	uint8_t		noiseImmunityLevel;
+	uint8_t		noiseImmunityLevel; /* OFDM */
+	uint8_t		cckNoiseImmunityLevel;
 	uint8_t		spurImmunityLevel;
 	uint8_t		firstepLevel;
 	uint8_t		ofdmWeakSigDetectOff;
 	uint8_t		cckWeakSigThreshold;
+	uint8_t		mrcCckOff;
 	uint32_t	listenTime;
 
 	/* NB: intentionally ordered so data exported to user space is first */


More information about the svn-src-all mailing list