From de98311f505eae0a97c28362e57b816a46245978 Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Wed, 12 Jun 2013 15:18:10 +0000 Subject: [PATCH] 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. --- sys/dev/ath/ath_hal/ar9002/ar9285_phy.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/ath/ath_hal/ar9002/ar9285_phy.c b/sys/dev/ath/ath_hal/ar9002/ar9285_phy.c index 0ccad31ca08d..c91048af9706 100644 --- a/sys/dev/ath/ath_hal/ar9002/ar9285_phy.c +++ b/sys/dev/ath/ath_hal/ar9002/ar9285_phy.c @@ -51,6 +51,7 @@ ar9285_antdiv_comb_conf_get(struct ath_hal *ah, HAL_ANT_COMB_CONFIG *antconf) 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