diff options
author | adrian <adrian@FreeBSD.org> | 2013-06-12 14:52:57 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2013-06-12 14:52:57 +0000 |
commit | 01512fbd78073a6cb82879762f9622397e1d5136 (patch) | |
tree | 3102f3b9d4ae7ba773d6a24f13754f83e31bca17 /sys/conf | |
parent | d745b9017bc6a38ecf70c8846a67ab8072fd64c4 (diff) | |
download | FreeBSD-src-01512fbd78073a6cb82879762f9622397e1d5136.zip FreeBSD-src-01512fbd78073a6cb82879762f9622397e1d5136.tar.gz |
Migrate the LNA mixing diversity machinery from the AR9285 HAL to the driver.
The AR9485 chip and AR933x SoC both implement LNA diversity.
There are a few extra things that need to happen before this can be
flipped on for those chips (mostly to do with setting up the different
bias values and LNA1/LNA2 RSSI differences) but the first stage is
putting this code into the driver layer so it can be reused.
This has the added benefit of making it easier to expose configuration
options and diagnostic information via the ioctl API. That's not yet
being done but it sure would be nice to do so.
Tested:
* AR9285, with LNA diversity enabled
* AR9285, with LNA diversity disabled in EEPROM
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/files | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/conf/files b/sys/conf/files index 9414851..f3c600f 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -733,6 +733,8 @@ dev/ath/if_ath_keycache.c optional ath \ compile-with "${NORMAL_C} -I$S/dev/ath" dev/ath/if_ath_led.c optional ath \ compile-with "${NORMAL_C} -I$S/dev/ath" +dev/ath/if_ath_lna_div.c optional ath \ + compile-with "${NORMAL_C} -I$S/dev/ath" dev/ath/if_ath_tx.c optional ath \ compile-with "${NORMAL_C} -I$S/dev/ath" dev/ath/if_ath_tx_edma.c optional ath \ |