diff options
Diffstat (limited to 'drivers/net/wireless/ath')
-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 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath9k/rc.c | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/drivers/net/wireless/ath/ath5k/base.h b/drivers/net/wireless/ath/ath5k/base.h index b72338c9bde7..952b3a21bbc3 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 |
@@ -190,7 +190,7 @@ struct ath5k_softc { | |||
190 | struct ath5k_txq *cabq; /* content after beacon */ | 190 | struct ath5k_txq *cabq; /* content after beacon */ |
191 | 191 | ||
192 | int power_level; /* Requested tx power in dbm */ | 192 | int power_level; /* Requested tx power in dbm */ |
193 | bool assoc; /* assocate state */ | 193 | bool assoc; /* associate state */ |
194 | bool enable_beacon; /* true if beacons are on */ | 194 | bool enable_beacon; /* true if beacons are on */ |
195 | }; | 195 | }; |
196 | 196 | ||
diff --git a/drivers/net/wireless/ath/ath5k/eeprom.c b/drivers/net/wireless/ath/ath5k/eeprom.c index 791885262602..5d1c8677f180 100644 --- a/drivers/net/wireless/ath/ath5k/eeprom.c +++ b/drivers/net/wireless/ath/ath5k/eeprom.c | |||
@@ -1491,7 +1491,7 @@ ath5k_eeprom_read_target_rate_pwr_info(struct ath5k_hw *ah, unsigned int mode) | |||
1491 | * This info is used to calibrate the baseband power table. Imagine | 1491 | * This info is used to calibrate the baseband power table. Imagine |
1492 | * that for each channel there is a power curve that's hw specific | 1492 | * that for each channel there is a power curve that's hw specific |
1493 | * (depends on amplifier etc) and we try to "correct" this curve using | 1493 | * (depends on amplifier etc) and we try to "correct" this curve using |
1494 | * offests we pass on to phy chip (baseband -> before amplifier) so that | 1494 | * offsets we pass on to phy chip (baseband -> before amplifier) so that |
1495 | * it can use accurate power values when setting tx power (takes amplifier's | 1495 | * it can use accurate power values when setting tx power (takes amplifier's |
1496 | * performance on each channel into account). | 1496 | * performance on each channel into account). |
1497 | * | 1497 | * |
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. */ |
diff --git a/drivers/net/wireless/ath/ath9k/rc.c b/drivers/net/wireless/ath/ath9k/rc.c index c915954d4d5b..70fdb9d8db82 100644 --- a/drivers/net/wireless/ath/ath9k/rc.c +++ b/drivers/net/wireless/ath/ath9k/rc.c | |||
@@ -880,7 +880,7 @@ static bool ath_rc_update_per(struct ath_softc *sc, | |||
880 | * Since this probe succeeded, we allow the next | 880 | * Since this probe succeeded, we allow the next |
881 | * probe twice as soon. This allows the maxRate | 881 | * probe twice as soon. This allows the maxRate |
882 | * to move up faster if the probes are | 882 | * to move up faster if the probes are |
883 | * succesful. | 883 | * successful. |
884 | */ | 884 | */ |
885 | ath_rc_priv->probe_time = | 885 | ath_rc_priv->probe_time = |
886 | now_msec - rate_table->probe_interval / 2; | 886 | now_msec - rate_table->probe_interval / 2; |