summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2013-06-12 15:18:10 +0000
committeradrian <adrian@FreeBSD.org>2013-06-12 15:18:10 +0000
commit4537d8ddce6d9eb7b2393904c6fba1fe76d4f51b (patch)
tree94cc60b13bd29ded06e0a17e204c2a6710d3eaac /sys/dev/ath
parent01512fbd78073a6cb82879762f9622397e1d5136 (diff)
downloadFreeBSD-src-4537d8ddce6d9eb7b2393904c6fba1fe76d4f51b.zip
FreeBSD-src-4537d8ddce6d9eb7b2393904c6fba1fe76d4f51b.tar.gz
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.
Diffstat (limited to 'sys/dev/ath')
-rw-r--r--sys/dev/ath/ath_hal/ar9002/ar9285_phy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/ath/ath_hal/ar9002/ar9285_phy.c b/sys/dev/ath/ath_hal/ar9002/ar9285_phy.c
index 0ccad31..c91048a 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
OpenPOWER on IntegriCloud