diff options
author | Jiri Kosina <jkosina@suse.cz> | 2009-12-07 12:36:35 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2009-12-07 12:36:35 -0500 |
commit | d014d043869cdc591f3a33243d3481fa4479c2d0 (patch) | |
tree | 63626829498e647ba058a1ce06419fe7e4d5f97d /drivers/net/wireless/ath/ath5k | |
parent | 6ec22f9b037fc0c2e00ddb7023fad279c365324d (diff) | |
parent | 6070d81eb5f2d4943223c96e7609a53cdc984364 (diff) |
Merge branch 'for-next' into for-linus
Conflicts:
kernel/irq/chip.c
Diffstat (limited to 'drivers/net/wireless/ath/ath5k')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/base.h | 4 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath5k/eeprom.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath5k/phy.c | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/wireless/ath/ath5k/base.h b/drivers/net/wireless/ath/ath5k/base.h index a28c42f32c9d..4da029410467 100644 --- a/drivers/net/wireless/ath/ath5k/base.h +++ b/drivers/net/wireless/ath/ath5k/base.h | |||
@@ -36,7 +36,7 @@ | |||
36 | */ | 36 | */ |
37 | 37 | ||
38 | /* | 38 | /* |
39 | * Defintions for the Atheros Wireless LAN controller driver. | 39 | * Definitions for the Atheros Wireless LAN controller driver. |
40 | */ | 40 | */ |
41 | #ifndef _DEV_ATH_ATHVAR_H | 41 | #ifndef _DEV_ATH_ATHVAR_H |
42 | #define _DEV_ATH_ATHVAR_H | 42 | #define _DEV_ATH_ATHVAR_H |
@@ -193,7 +193,7 @@ struct ath5k_softc { | |||
193 | struct ath5k_txq *cabq; /* content after beacon */ | 193 | struct ath5k_txq *cabq; /* content after beacon */ |
194 | 194 | ||
195 | int power_level; /* Requested tx power in dbm */ | 195 | int power_level; /* Requested tx power in dbm */ |
196 | bool assoc; /* assocate state */ | 196 | bool assoc; /* associate state */ |
197 | bool enable_beacon; /* true if beacons are on */ | 197 | bool enable_beacon; /* true if beacons are on */ |
198 | }; | 198 | }; |
199 | 199 | ||
diff --git a/drivers/net/wireless/ath/ath5k/eeprom.c b/drivers/net/wireless/ath/ath5k/eeprom.c index 644962adda97..81ea52c4faff 100644 --- a/drivers/net/wireless/ath/ath5k/eeprom.c +++ b/drivers/net/wireless/ath/ath5k/eeprom.c | |||
@@ -1492,7 +1492,7 @@ ath5k_eeprom_read_target_rate_pwr_info(struct ath5k_hw *ah, unsigned int mode) | |||
1492 | * This info is used to calibrate the baseband power table. Imagine | 1492 | * This info is used to calibrate the baseband power table. Imagine |
1493 | * that for each channel there is a power curve that's hw specific | 1493 | * that for each channel there is a power curve that's hw specific |
1494 | * (depends on amplifier etc) and we try to "correct" this curve using | 1494 | * (depends on amplifier etc) and we try to "correct" this curve using |
1495 | * offests we pass on to phy chip (baseband -> before amplifier) so that | 1495 | * offsets we pass on to phy chip (baseband -> before amplifier) so that |
1496 | * it can use accurate power values when setting tx power (takes amplifier's | 1496 | * it can use accurate power values when setting tx power (takes amplifier's |
1497 | * performance on each channel into account). | 1497 | * performance on each channel into account). |
1498 | * | 1498 | * |
diff --git a/drivers/net/wireless/ath/ath5k/phy.c b/drivers/net/wireless/ath/ath5k/phy.c index 1a039f2bd732..6f04cc758dcc 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 |
@@ -2675,7 +2675,7 @@ ath5k_setup_channel_powertable(struct ath5k_hw *ah, | |||
2675 | /* Fill curves in reverse order | 2675 | /* Fill curves in reverse order |
2676 | * from lower power (max gain) | 2676 | * from lower power (max gain) |
2677 | * to higher power. Use curve -> idx | 2677 | * to higher power. Use curve -> idx |
2678 | * backmaping we did on eeprom init */ | 2678 | * backmapping we did on eeprom init */ |
2679 | u8 idx = pdg_curve_to_idx[pdg]; | 2679 | u8 idx = pdg_curve_to_idx[pdg]; |
2680 | 2680 | ||
2681 | /* Grab the needed curves by index */ | 2681 | /* Grab the needed curves by index */ |
@@ -2777,7 +2777,7 @@ ath5k_setup_channel_powertable(struct ath5k_hw *ah, | |||
2777 | /* Now we have a set of curves for this | 2777 | /* Now we have a set of curves for this |
2778 | * channel on tmpL (x range is table_max - table_min | 2778 | * channel on tmpL (x range is table_max - table_min |
2779 | * and y values are tmpL[pdg][]) sorted in the same | 2779 | * and y values are tmpL[pdg][]) sorted in the same |
2780 | * order as EEPROM (because we've used the backmaping). | 2780 | * order as EEPROM (because we've used the backmapping). |
2781 | * So for RF5112 it's from higher power to lower power | 2781 | * So for RF5112 it's from higher power to lower power |
2782 | * and for RF2413 it's from lower power to higher power. | 2782 | * and for RF2413 it's from lower power to higher power. |
2783 | * For RF5111 we only have one curve. */ | 2783 | * For RF5111 we only have one curve. */ |