summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/hw.h
diff options
context:
space:
mode:
authorMohammed Shafi Shajakhan <mshajakhan@atheros.com>2011-05-13 20:30:56 +0530
committerJohn W. Linville <linville@tuxdriver.com>2011-05-16 14:10:46 -0400
commit8afbcc8bfb549a522298fa4a31ee5155c2b5f7a0 (patch)
tree31161e2d3b6e6e531d5fd9c070e43c17c2ebfead /drivers/net/wireless/ath/ath9k/hw.h
parent6bcbc062c23ac769cb775f3d2cf209db9d1a96fe (diff)
downloadtalos-obmc-linux-8afbcc8bfb549a522298fa4a31ee5155c2b5f7a0.tar.gz
talos-obmc-linux-8afbcc8bfb549a522298fa4a31ee5155c2b5f7a0.zip
ath9k_hw: define antenna diversity group
AR9285 belongs to diversity group 0 and AR9485 belongs to diversity group 2. Based on the diversity group we configure certain antenna diversity paramaters such as lna1_lna2_delta and fast diversity bias values. For AR9485 we have some gain table parameter which selects the gain table 0/1 for main and alternate antenna Cc: Gabriel Tseng <Gabriel.Tseng@Atheros.com> Cc: Senthilkumar Balasubramanian <Senthilkumar.Balasubramanian@Atheros.com> Signed-off-by: Mohammed Shafi Shajakhan <mshajakhan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/hw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h
index 80f512d1f975..7af2773d2bfc 100644
--- a/drivers/net/wireless/ath/ath9k/hw.h
+++ b/drivers/net/wireless/ath/ath9k/hw.h
@@ -482,6 +482,7 @@ struct ath_hw_antcomb_conf {
u8 main_gaintb;
u8 alt_gaintb;
int lna1_lna2_delta;
+ u8 div_group;
};
/**
OpenPOWER on IntegriCloud