diff options
author | Stefano Brivio <stefano.brivio@polimi.it> | 2007-11-06 16:48:12 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:04:28 -0500 |
commit | 0a6e1bee5770a6d4c4569a4720614402ab5f9d7a (patch) | |
tree | 6ef2afacb07c068a0812278fce78291ed887b8cd /drivers/net/wireless/b43legacy/xmit.c | |
parent | 43831b1581031991357385dd6c0762c06a3a62ab (diff) |
b43legacy: use the retry limits provided by mac80211
Use the retry limits provided by mac80211.
The patch to b43 by Michael Buesch <mb@bu3sch.de> has been ported to
b43legacy.
Signed-off-by: Stefano Brivio <stefano.brivio@polimi.it>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43legacy/xmit.c')
-rw-r--r-- | drivers/net/wireless/b43legacy/xmit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/b43legacy/xmit.c b/drivers/net/wireless/b43legacy/xmit.c index b71cc949f7d4..d558a3a7cbf9 100644 --- a/drivers/net/wireless/b43legacy/xmit.c +++ b/drivers/net/wireless/b43legacy/xmit.c | |||
@@ -290,6 +290,8 @@ static void generate_txhdr_fw3(struct b43legacy_wldev *dev, | |||
290 | mac_ctl |= B43legacy_TX4_MAC_STMSDU; | 290 | mac_ctl |= B43legacy_TX4_MAC_STMSDU; |
291 | if (rate_fb_ofdm) | 291 | if (rate_fb_ofdm) |
292 | mac_ctl |= B43legacy_TX4_MAC_FALLBACKOFDM; | 292 | mac_ctl |= B43legacy_TX4_MAC_FALLBACKOFDM; |
293 | if (txctl->flags & IEEE80211_TXCTL_LONG_RETRY_LIMIT) | ||
294 | mac_ctl |= B43legacy_TX4_MAC_LONGFRAME; | ||
293 | 295 | ||
294 | /* Generate the RTS or CTS-to-self frame */ | 296 | /* Generate the RTS or CTS-to-self frame */ |
295 | if ((txctl->flags & IEEE80211_TXCTL_USE_RTS_CTS) || | 297 | if ((txctl->flags & IEEE80211_TXCTL_USE_RTS_CTS) || |
@@ -335,7 +337,6 @@ static void generate_txhdr_fw3(struct b43legacy_wldev *dev, | |||
335 | len, rts_rate_fb); | 337 | len, rts_rate_fb); |
336 | hdr = (struct ieee80211_hdr *)(&txhdr->rts_frame); | 338 | hdr = (struct ieee80211_hdr *)(&txhdr->rts_frame); |
337 | txhdr->rts_dur_fb = hdr->duration_id; | 339 | txhdr->rts_dur_fb = hdr->duration_id; |
338 | mac_ctl |= B43legacy_TX4_MAC_LONGFRAME; | ||
339 | } | 340 | } |
340 | 341 | ||
341 | /* Magic cookie */ | 342 | /* Magic cookie */ |