Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jun 2013 15:18:11 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r251656 - head/sys/dev/ath/ath_hal/ar9002
Message-ID:  <201306121518.r5CFIBQK040397@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306121518.r5CFIBQK040397>