diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2008-05-15 01:54:02 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-05-21 21:47:56 -0400 |
commit | 1826dcc094466a39c82d4370ccfba694be0bc05b (patch) | |
tree | 6cbcd36daa8adb1723073940384d55dc249ffc59 /drivers/net/wireless/iwlwifi/iwl-core.c | |
parent | fcab423d716f923d6a7601ba33adf356bef83414 (diff) |
iwlwifi: remove 4965 from iwl4965_rate_info
This patch removes 4965 from iwl4965_rate_info structure and
associated variables.
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-core.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-core.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.c b/drivers/net/wireless/iwlwifi/iwl-core.c index b800031ecca5..8e411de9bda6 100644 --- a/drivers/net/wireless/iwlwifi/iwl-core.c +++ b/drivers/net/wireless/iwlwifi/iwl-core.c | |||
@@ -67,7 +67,7 @@ MODULE_LICENSE("GPL"); | |||
67 | * maps to IWL_RATE_INVALID | 67 | * maps to IWL_RATE_INVALID |
68 | * | 68 | * |
69 | */ | 69 | */ |
70 | const struct iwl4965_rate_info iwl4965_rates[IWL_RATE_COUNT] = { | 70 | const struct iwl_rate_info iwl_rates[IWL_RATE_COUNT] = { |
71 | IWL_DECLARE_RATE_INFO(1, INV, INV, 2, INV, 2, INV, 2), /* 1mbps */ | 71 | IWL_DECLARE_RATE_INFO(1, INV, INV, 2, INV, 2, INV, 2), /* 1mbps */ |
72 | IWL_DECLARE_RATE_INFO(2, INV, 1, 5, 1, 5, 1, 5), /* 2mbps */ | 72 | IWL_DECLARE_RATE_INFO(2, INV, 1, 5, 1, 5, 1, 5), /* 2mbps */ |
73 | IWL_DECLARE_RATE_INFO(5, INV, 2, 6, 2, 11, 2, 11), /*5.5mbps */ | 73 | IWL_DECLARE_RATE_INFO(5, INV, 2, 6, 2, 11, 2, 11), /*5.5mbps */ |
@@ -83,7 +83,7 @@ const struct iwl4965_rate_info iwl4965_rates[IWL_RATE_COUNT] = { | |||
83 | IWL_DECLARE_RATE_INFO(60, 60, 48, INV, 48, INV, 48, INV),/* 60mbps */ | 83 | IWL_DECLARE_RATE_INFO(60, 60, 48, INV, 48, INV, 48, INV),/* 60mbps */ |
84 | /* FIXME:RS: ^^ should be INV (legacy) */ | 84 | /* FIXME:RS: ^^ should be INV (legacy) */ |
85 | }; | 85 | }; |
86 | EXPORT_SYMBOL(iwl4965_rates); | 86 | EXPORT_SYMBOL(iwl_rates); |
87 | 87 | ||
88 | /* This function both allocates and initializes hw and priv. */ | 88 | /* This function both allocates and initializes hw and priv. */ |
89 | struct ieee80211_hw *iwl_alloc_all(struct iwl_cfg *cfg, | 89 | struct ieee80211_hw *iwl_alloc_all(struct iwl_cfg *cfg, |
@@ -383,7 +383,7 @@ static void iwlcore_init_hw_rates(struct iwl_priv *priv, | |||
383 | int i; | 383 | int i; |
384 | 384 | ||
385 | for (i = 0; i < IWL_RATE_COUNT; i++) { | 385 | for (i = 0; i < IWL_RATE_COUNT; i++) { |
386 | rates[i].bitrate = iwl4965_rates[i].ieee * 5; | 386 | rates[i].bitrate = iwl_rates[i].ieee * 5; |
387 | rates[i].hw_value = i; /* Rate scaling will work on indexes */ | 387 | rates[i].hw_value = i; /* Rate scaling will work on indexes */ |
388 | rates[i].hw_value_short = i; | 388 | rates[i].hw_value_short = i; |
389 | rates[i].flags = 0; | 389 | rates[i].flags = 0; |
@@ -392,7 +392,7 @@ static void iwlcore_init_hw_rates(struct iwl_priv *priv, | |||
392 | * If CCK != 1M then set short preamble rate flag. | 392 | * If CCK != 1M then set short preamble rate flag. |
393 | */ | 393 | */ |
394 | rates[i].flags |= | 394 | rates[i].flags |= |
395 | (iwl4965_rates[i].plcp == IWL_RATE_1M_PLCP) ? | 395 | (iwl_rates[i].plcp == IWL_RATE_1M_PLCP) ? |
396 | 0 : IEEE80211_RATE_SHORT_PREAMBLE; | 396 | 0 : IEEE80211_RATE_SHORT_PREAMBLE; |
397 | } | 397 | } |
398 | } | 398 | } |