diff options
author | David S. Miller <davem@davemloft.net> | 2008-06-10 04:54:31 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-06-10 04:54:31 -0400 |
commit | 788c0a53164c05c5ccdb1472474372b72ba74644 (patch) | |
tree | 5f274102e3dc4bcca6cb3a695aa2c8228ad5fc4f /drivers/net/wireless/iwlwifi/iwl-4965-rs.h | |
parent | e64bda89b8fe81cce9b4a20885d2c204c2d52532 (diff) | |
parent | 78cf07472f0ede8394bacc4bc02354505080cfe1 (diff) |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/linville/wireless-next-2.6
Conflicts:
drivers/net/ps3_gelic_wireless.c
drivers/net/wireless/libertas/main.c
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-4965-rs.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-4965-rs.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965-rs.h b/drivers/net/wireless/iwlwifi/iwl-4965-rs.h index 7ea2041a22e0..1dd4124227a5 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965-rs.h +++ b/drivers/net/wireless/iwlwifi/iwl-4965-rs.h | |||
@@ -29,7 +29,7 @@ | |||
29 | 29 | ||
30 | #include "iwl-dev.h" | 30 | #include "iwl-dev.h" |
31 | 31 | ||
32 | struct iwl4965_rate_info { | 32 | struct iwl_rate_info { |
33 | u8 plcp; /* uCode API: IWL_RATE_6M_PLCP, etc. */ | 33 | u8 plcp; /* uCode API: IWL_RATE_6M_PLCP, etc. */ |
34 | u8 plcp_siso; /* uCode API: IWL_RATE_SISO_6M_PLCP, etc. */ | 34 | u8 plcp_siso; /* uCode API: IWL_RATE_SISO_6M_PLCP, etc. */ |
35 | u8 plcp_mimo2; /* uCode API: IWL_RATE_MIMO2_6M_PLCP, etc. */ | 35 | u8 plcp_mimo2; /* uCode API: IWL_RATE_MIMO2_6M_PLCP, etc. */ |
@@ -45,7 +45,7 @@ struct iwl4965_rate_info { | |||
45 | 45 | ||
46 | /* | 46 | /* |
47 | * These serve as indexes into | 47 | * These serve as indexes into |
48 | * struct iwl4965_rate_info iwl4965_rates[IWL_RATE_COUNT]; | 48 | * struct iwl_rate_info iwl_rates[IWL_RATE_COUNT]; |
49 | */ | 49 | */ |
50 | enum { | 50 | enum { |
51 | IWL_RATE_1M_INDEX = 0, | 51 | IWL_RATE_1M_INDEX = 0, |
@@ -240,7 +240,7 @@ enum { | |||
240 | #define TID_MAX_TIME_DIFF ((TID_QUEUE_MAX_SIZE - 1) * TID_QUEUE_CELL_SPACING) | 240 | #define TID_MAX_TIME_DIFF ((TID_QUEUE_MAX_SIZE - 1) * TID_QUEUE_CELL_SPACING) |
241 | #define TIME_WRAP_AROUND(x, y) (((y) > (x)) ? (y) - (x) : (0-(x)) + (y)) | 241 | #define TIME_WRAP_AROUND(x, y) (((y) > (x)) ? (y) - (x) : (0-(x)) + (y)) |
242 | 242 | ||
243 | extern const struct iwl4965_rate_info iwl4965_rates[IWL_RATE_COUNT]; | 243 | extern const struct iwl_rate_info iwl_rates[IWL_RATE_COUNT]; |
244 | 244 | ||
245 | enum iwl_table_type { | 245 | enum iwl_table_type { |
246 | LQ_NONE, | 246 | LQ_NONE, |
@@ -279,7 +279,7 @@ static inline u8 num_of_ant(u8 mask) | |||
279 | 279 | ||
280 | static inline u8 iwl4965_get_prev_ieee_rate(u8 rate_index) | 280 | static inline u8 iwl4965_get_prev_ieee_rate(u8 rate_index) |
281 | { | 281 | { |
282 | u8 rate = iwl4965_rates[rate_index].prev_ieee; | 282 | u8 rate = iwl_rates[rate_index].prev_ieee; |
283 | 283 | ||
284 | if (rate == IWL_RATE_INVALID) | 284 | if (rate == IWL_RATE_INVALID) |
285 | rate = rate_index; | 285 | rate = rate_index; |