Date: Mon, 9 May 2011 15:19:49 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/ath/ath_hal/ar9002 ar9285.h ar9285_attach.c ar9285_diversity.c ar9285_reset.c Message-ID: <201105091520.p49FK58h033793@repoman.freebsd.org>
index | next in thread | raw e-mail
adrian 2011-05-09 15:19:49 UTC
FreeBSD src repository
Modified files:
sys/dev/ath/ath_hal/ar9002 ar9285.h ar9285_attach.c
ar9285_diversity.c ar9285_reset.c
Log:
SVN rev 221694 on 2011-05-09 15:19:49Z by adrian
Import some initial Kite fixed diversity code from Atheros.
For now, the diversity settings are controlled by 'txantenna',
-not- rxantenna. This is because the earlier chipsets had
controllable TX diversity; the RX antenna setting twiddles
the default antenna register. I'll try sort that stuff out at
some point.
Call the antenna switch function from the board setup function
so scans, channel changes, mode changes, etc don't set the
diversity back to a default state too far from what's intended.
Things to todo:
* Squirrel away the last antenna diversity/combining parameters
and restore them during board setup if HAL_ANT_VARIABLE is
defined. That way scans, etc don't reset the diversity settings.
* Add some more public facing statistics, rather than what's
simply logged under HAL_DEBUG_DIVERSITY.
For now, the fixed antenna settings behave better than variable
settings for me. I have some further fiddling to do..
Obtained from: Atheros
Revision Changes Path
1.5 +4 -4 src/sys/dev/ath/ath_hal/ar9002/ar9285.h
1.18 +0 -9 src/sys/dev/ath/ath_hal/ar9002/ar9285_attach.c
1.3 +140 -0 src/sys/dev/ath/ath_hal/ar9002/ar9285_diversity.c
1.15 +4 -31 src/sys/dev/ath/ath_hal/ar9002/ar9285_reset.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105091520.p49FK58h033793>
