diff options
Diffstat (limited to 'net/mac80211/util.c')
-rw-r--r-- | net/mac80211/util.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/net/mac80211/util.c b/net/mac80211/util.c index c970996ba6f9..29c0a0e1f52c 100644 --- a/net/mac80211/util.c +++ b/net/mac80211/util.c | |||
@@ -93,11 +93,6 @@ void ieee80211_prepare_rates(struct ieee80211_local *local, | |||
93 | if (rate->rate == 10 || rate->rate == 20) | 93 | if (rate->rate == 10 || rate->rate == 20) |
94 | rate->flags |= IEEE80211_RATE_BASIC; | 94 | rate->flags |= IEEE80211_RATE_BASIC; |
95 | break; | 95 | break; |
96 | case MODE_ATHEROS_TURBO: | ||
97 | if (rate->rate == 120 || rate->rate == 240 || | ||
98 | rate->rate == 480) | ||
99 | rate->flags |= IEEE80211_RATE_BASIC; | ||
100 | break; | ||
101 | case MODE_IEEE80211G: | 96 | case MODE_IEEE80211G: |
102 | if (rate->rate == 10 || rate->rate == 20 || | 97 | if (rate->rate == 10 || rate->rate == 20 || |
103 | rate->rate == 55 || rate->rate == 110) | 98 | rate->rate == 55 || rate->rate == 110) |
@@ -116,8 +111,6 @@ void ieee80211_prepare_rates(struct ieee80211_local *local, | |||
116 | if (rate->rate == 10) | 111 | if (rate->rate == 10) |
117 | rate->flags |= IEEE80211_RATE_MANDATORY; | 112 | rate->flags |= IEEE80211_RATE_MANDATORY; |
118 | break; | 113 | break; |
119 | case MODE_ATHEROS_TURBO: | ||
120 | break; | ||
121 | case MODE_IEEE80211G: | 114 | case MODE_IEEE80211G: |
122 | if (rate->rate == 10 || rate->rate == 20 || | 115 | if (rate->rate == 10 || rate->rate == 20 || |
123 | rate->rate == 55 || rate->rate == 110 || | 116 | rate->rate == 55 || rate->rate == 110 || |
@@ -273,8 +266,7 @@ int ieee80211_frame_duration(struct ieee80211_local *local, size_t len, | |||
273 | * DIV_ROUND_UP() operations. | 266 | * DIV_ROUND_UP() operations. |
274 | */ | 267 | */ |
275 | 268 | ||
276 | if (local->hw.conf.phymode == MODE_IEEE80211A || erp || | 269 | if (local->hw.conf.phymode == MODE_IEEE80211A || erp) { |
277 | local->hw.conf.phymode == MODE_ATHEROS_TURBO) { | ||
278 | /* | 270 | /* |
279 | * OFDM: | 271 | * OFDM: |
280 | * | 272 | * |
@@ -288,7 +280,6 @@ int ieee80211_frame_duration(struct ieee80211_local *local, size_t len, | |||
288 | * 802.11g - 19.8.4: aSIFSTime = 10 usec + | 280 | * 802.11g - 19.8.4: aSIFSTime = 10 usec + |
289 | * signal ext = 6 usec | 281 | * signal ext = 6 usec |
290 | */ | 282 | */ |
291 | /* FIX: Atheros Turbo may have different (shorter) duration? */ | ||
292 | dur = 16; /* SIFS + signal ext */ | 283 | dur = 16; /* SIFS + signal ext */ |
293 | dur += 16; /* 17.3.2.3: T_PREAMBLE = 16 usec */ | 284 | dur += 16; /* 17.3.2.3: T_PREAMBLE = 16 usec */ |
294 | dur += 4; /* 17.3.2.3: T_SIGNAL = 4 usec */ | 285 | dur += 4; /* 17.3.2.3: T_SIGNAL = 4 usec */ |