diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2008-10-24 02:48:56 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-10-31 19:02:28 -0400 |
commit | a96a27f97f2bbfc1fca54bc3c0b0d41484152740 (patch) | |
tree | f9f6611156a01fbe97b38fb92aa078b2fc01d929 /drivers/net/wireless/iwlwifi/iwl-power.c | |
parent | 127901ab69bbb263fb2b46e850cf20c57ac321d3 (diff) |
iwlwifi: run through spell checker
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-power.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-power.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-power.c b/drivers/net/wireless/iwlwifi/iwl-power.c index 60a03d2d2d0e..07a5f60e9229 100644 --- a/drivers/net/wireless/iwlwifi/iwl-power.c +++ b/drivers/net/wireless/iwlwifi/iwl-power.c | |||
@@ -80,7 +80,7 @@ | |||
80 | #define IWL_REDUCED_POWER_TEMPERATURE 95 | 80 | #define IWL_REDUCED_POWER_TEMPERATURE 95 |
81 | 81 | ||
82 | /* default power management (not Tx power) table values */ | 82 | /* default power management (not Tx power) table values */ |
83 | /* for tim 0-10 */ | 83 | /* for TIM 0-10 */ |
84 | static struct iwl_power_vec_entry range_0[IWL_POWER_MAX] = { | 84 | static struct iwl_power_vec_entry range_0[IWL_POWER_MAX] = { |
85 | {{NOSLP, SLP_TOUT(0), SLP_TOUT(0), SLP_VEC(0, 0, 0, 0, 0)}, 0}, | 85 | {{NOSLP, SLP_TOUT(0), SLP_TOUT(0), SLP_VEC(0, 0, 0, 0, 0)}, 0}, |
86 | {{SLP, SLP_TOUT(200), SLP_TOUT(500), SLP_VEC(1, 2, 2, 2, 0xFF)}, 0}, | 86 | {{SLP, SLP_TOUT(200), SLP_TOUT(500), SLP_VEC(1, 2, 2, 2, 0xFF)}, 0}, |
@@ -91,7 +91,7 @@ static struct iwl_power_vec_entry range_0[IWL_POWER_MAX] = { | |||
91 | }; | 91 | }; |
92 | 92 | ||
93 | 93 | ||
94 | /* for tim = 3-10 */ | 94 | /* for TIM = 3-10 */ |
95 | static struct iwl_power_vec_entry range_1[IWL_POWER_MAX] = { | 95 | static struct iwl_power_vec_entry range_1[IWL_POWER_MAX] = { |
96 | {{NOSLP, SLP_TOUT(0), SLP_TOUT(0), SLP_VEC(0, 0, 0, 0, 0)}, 0}, | 96 | {{NOSLP, SLP_TOUT(0), SLP_TOUT(0), SLP_VEC(0, 0, 0, 0, 0)}, 0}, |
97 | {{SLP, SLP_TOUT(200), SLP_TOUT(500), SLP_VEC(1, 2, 3, 4, 4)}, 0}, | 97 | {{SLP, SLP_TOUT(200), SLP_TOUT(500), SLP_VEC(1, 2, 3, 4, 4)}, 0}, |
@@ -101,7 +101,7 @@ static struct iwl_power_vec_entry range_1[IWL_POWER_MAX] = { | |||
101 | {{SLP, SLP_TOUT(25), SLP_TOUT(25), SLP_VEC(2, 4, 7, 10, 10)}, 2} | 101 | {{SLP, SLP_TOUT(25), SLP_TOUT(25), SLP_VEC(2, 4, 7, 10, 10)}, 2} |
102 | }; | 102 | }; |
103 | 103 | ||
104 | /* for tim > 11 */ | 104 | /* for TIM > 11 */ |
105 | static struct iwl_power_vec_entry range_2[IWL_POWER_MAX] = { | 105 | static struct iwl_power_vec_entry range_2[IWL_POWER_MAX] = { |
106 | {{NOSLP, SLP_TOUT(0), SLP_TOUT(0), SLP_VEC(0, 0, 0, 0, 0)}, 0}, | 106 | {{NOSLP, SLP_TOUT(0), SLP_TOUT(0), SLP_VEC(0, 0, 0, 0, 0)}, 0}, |
107 | {{SLP, SLP_TOUT(200), SLP_TOUT(500), SLP_VEC(1, 2, 3, 4, 0xFF)}, 0}, | 107 | {{SLP, SLP_TOUT(200), SLP_TOUT(500), SLP_VEC(1, 2, 3, 4, 0xFF)}, 0}, |
@@ -183,7 +183,7 @@ static int iwl_power_init_handle(struct iwl_priv *priv) | |||
183 | return 0; | 183 | return 0; |
184 | } | 184 | } |
185 | 185 | ||
186 | /* adjust power command according to dtim period and power level*/ | 186 | /* adjust power command according to DTIM period and power level*/ |
187 | static int iwl_update_power_command(struct iwl_priv *priv, | 187 | static int iwl_update_power_command(struct iwl_priv *priv, |
188 | struct iwl_powertable_cmd *cmd, | 188 | struct iwl_powertable_cmd *cmd, |
189 | u16 mode) | 189 | u16 mode) |
@@ -325,7 +325,7 @@ int iwl_power_update_mode(struct iwl_priv *priv, bool force) | |||
325 | EXPORT_SYMBOL(iwl_power_update_mode); | 325 | EXPORT_SYMBOL(iwl_power_update_mode); |
326 | 326 | ||
327 | /* Allow other iwl code to disable/enable power management active | 327 | /* Allow other iwl code to disable/enable power management active |
328 | * this will be usefull for rate scale to disable PM during heavy | 328 | * this will be useful for rate scale to disable PM during heavy |
329 | * Tx/Rx activities | 329 | * Tx/Rx activities |
330 | */ | 330 | */ |
331 | int iwl_power_disable_management(struct iwl_priv *priv, u32 ms) | 331 | int iwl_power_disable_management(struct iwl_priv *priv, u32 ms) |
@@ -352,8 +352,8 @@ int iwl_power_disable_management(struct iwl_priv *priv, u32 ms) | |||
352 | EXPORT_SYMBOL(iwl_power_disable_management); | 352 | EXPORT_SYMBOL(iwl_power_disable_management); |
353 | 353 | ||
354 | /* Allow other iwl code to disable/enable power management active | 354 | /* Allow other iwl code to disable/enable power management active |
355 | * this will be usefull for rate scale to disable PM during hight | 355 | * this will be useful for rate scale to disable PM during high |
356 | * valume activities | 356 | * volume activities |
357 | */ | 357 | */ |
358 | int iwl_power_enable_management(struct iwl_priv *priv) | 358 | int iwl_power_enable_management(struct iwl_priv *priv) |
359 | { | 359 | { |
@@ -391,7 +391,7 @@ int iwl_power_set_system_mode(struct iwl_priv *priv, u16 mode) | |||
391 | } | 391 | } |
392 | EXPORT_SYMBOL(iwl_power_set_system_mode); | 392 | EXPORT_SYMBOL(iwl_power_set_system_mode); |
393 | 393 | ||
394 | /* initilize to default */ | 394 | /* initialize to default */ |
395 | void iwl_power_initialize(struct iwl_priv *priv) | 395 | void iwl_power_initialize(struct iwl_priv *priv) |
396 | { | 396 | { |
397 | 397 | ||
@@ -443,7 +443,7 @@ static void iwl_bg_set_power_save(struct work_struct *work) | |||
443 | 443 | ||
444 | mutex_lock(&priv->mutex); | 444 | mutex_lock(&priv->mutex); |
445 | 445 | ||
446 | /* on starting association we disable power managment | 446 | /* on starting association we disable power management |
447 | * until association, if association failed then this | 447 | * until association, if association failed then this |
448 | * timer will expire and enable PM again. | 448 | * timer will expire and enable PM again. |
449 | */ | 449 | */ |