diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/phy.c')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/phy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath5k/phy.c b/drivers/net/wireless/ath/ath5k/phy.c index bbfdcd5e7cb1..72474c0ccaff 100644 --- a/drivers/net/wireless/ath/ath5k/phy.c +++ b/drivers/net/wireless/ath/ath5k/phy.c | |||
@@ -117,7 +117,7 @@ static unsigned int ath5k_hw_rfb_op(struct ath5k_hw *ah, | |||
117 | 117 | ||
118 | /* | 118 | /* |
119 | * This code is used to optimize rf gain on different environments | 119 | * This code is used to optimize rf gain on different environments |
120 | * (temprature mostly) based on feedback from a power detector. | 120 | * (temperature mostly) based on feedback from a power detector. |
121 | * | 121 | * |
122 | * It's only used on RF5111 and RF5112, later RF chips seem to have | 122 | * It's only used on RF5111 and RF5112, later RF chips seem to have |
123 | * auto adjustment on hw -notice they have a much smaller BANK 7 and | 123 | * auto adjustment on hw -notice they have a much smaller BANK 7 and |
@@ -2746,7 +2746,7 @@ ath5k_setup_channel_powertable(struct ath5k_hw *ah, | |||
2746 | /* Fill curves in reverse order | 2746 | /* Fill curves in reverse order |
2747 | * from lower power (max gain) | 2747 | * from lower power (max gain) |
2748 | * to higher power. Use curve -> idx | 2748 | * to higher power. Use curve -> idx |
2749 | * backmaping we did on eeprom init */ | 2749 | * backmapping we did on eeprom init */ |
2750 | u8 idx = pdg_curve_to_idx[pdg]; | 2750 | u8 idx = pdg_curve_to_idx[pdg]; |
2751 | 2751 | ||
2752 | /* Grab the needed curves by index */ | 2752 | /* Grab the needed curves by index */ |
@@ -2848,7 +2848,7 @@ ath5k_setup_channel_powertable(struct ath5k_hw *ah, | |||
2848 | /* Now we have a set of curves for this | 2848 | /* Now we have a set of curves for this |
2849 | * channel on tmpL (x range is table_max - table_min | 2849 | * channel on tmpL (x range is table_max - table_min |
2850 | * and y values are tmpL[pdg][]) sorted in the same | 2850 | * and y values are tmpL[pdg][]) sorted in the same |
2851 | * order as EEPROM (because we've used the backmaping). | 2851 | * order as EEPROM (because we've used the backmapping). |
2852 | * So for RF5112 it's from higher power to lower power | 2852 | * So for RF5112 it's from higher power to lower power |
2853 | * and for RF2413 it's from lower power to higher power. | 2853 | * and for RF2413 it's from lower power to higher power. |
2854 | * For RF5111 we only have one curve. */ | 2854 | * For RF5111 we only have one curve. */ |