svn commit: r251656 - head/sys/dev/ath/ath_hal/ar9002

Adrian Chadd adrian at FreeBSD.org
Wed Jun 12 15:18:11 UTC 2013


Author: adrian
Date: Wed Jun 12 15:18:10 2013
New Revision: 251656
URL: http://svnweb.freebsd.org/changeset/base/251656

Log:
  Set the antenna "config group" field.
  
  The reference HAL pushes a config group parameter to the driver layer
  to inform it which particular chip behaviour to implement.
  
  This particular value tags it as an AR9285.

Modified:
  head/sys/dev/ath/ath_hal/ar9002/ar9285_phy.c

Modified: head/sys/dev/ath/ath_hal/ar9002/ar9285_phy.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ar9002/ar9285_phy.c	Wed Jun 12 14:52:57 2013	(r251655)
+++ head/sys/dev/ath/ath_hal/ar9002/ar9285_phy.c	Wed Jun 12 15:18:10 2013	(r251656)
@@ -51,6 +51,7 @@ ar9285_antdiv_comb_conf_get(struct ath_h
 				 AR_PHY_9285_ANT_DIV_ALT_LNACONF_S;
 	antconf->fast_div_bias = (regval & AR_PHY_9285_FAST_DIV_BIAS) >>
 				  AR_PHY_9285_FAST_DIV_BIAS_S;
+	antconf->antdiv_configgroup = DEFAULT_ANTDIV_CONFIG_GROUP;
 }
 
 void


More information about the svn-src-all mailing list