aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/hw.h
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2010-04-15 17:39:05 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-04-16 15:43:33 -0400
commit991312d88cb8844e3e1a1e57a72823802da36fcd (patch)
tree1ddad01c2af56e26fcaeeb441a88d6729aa12acb /drivers/net/wireless/ath/ath9k/hw.h
parentd8f492b7d9a4c1cfdac69ba18a81acbd86d1dc6e (diff)
ath9k_hw: move TX/RX gain INI stuff to its own hardware family code
The AR9003 TX/RX gain is currently initialized with the other components, so for now AR9003 does not implment this callback, after hardware bring up we can test moving the TX/RX gain there as well and if it works well move them to its own callback as well. Since all INI stuff is now moved out hw.c no longer needs to include and touch any original INI headers/structs. Signed-off-by: Luis R. Rodriguez <lrodriguez@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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h
index 56c573556454..b27e76b82dcf 100644
--- a/drivers/net/wireless/ath/ath9k/hw.h
+++ b/drivers/net/wireless/ath/ath9k/hw.h
@@ -473,6 +473,7 @@ struct ath_gen_timer_table {
473 * @init_cal: starts actual calibration 473 * @init_cal: starts actual calibration
474 * 474 *
475 * @init_mode_regs: Initializes mode registers 475 * @init_mode_regs: Initializes mode registers
476 * @init_mode_gain_regs: Initialize TX/RX gain registers
476 * @macversion_supported: If this specific mac revision is supported 477 * @macversion_supported: If this specific mac revision is supported
477 * 478 *
478 * @rf_set_freq: change frequency 479 * @rf_set_freq: change frequency
@@ -491,6 +492,7 @@ struct ath_hw_private_ops {
491 bool (*init_cal)(struct ath_hw *ah, struct ath9k_channel *chan); 492 bool (*init_cal)(struct ath_hw *ah, struct ath9k_channel *chan);
492 493
493 void (*init_mode_regs)(struct ath_hw *ah); 494 void (*init_mode_regs)(struct ath_hw *ah);
495 void (*init_mode_gain_regs)(struct ath_hw *ah);
494 bool (*macversion_supported)(u32 macversion); 496 bool (*macversion_supported)(u32 macversion);
495 void (*setup_calibration)(struct ath_hw *ah, 497 void (*setup_calibration)(struct ath_hw *ah,
496 struct ath9k_cal_list *currCal); 498 struct ath9k_cal_list *currCal);