diff options
author | Michael Buesch <mb@bu3sch.de> | 2007-10-28 11:19:44 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:03:30 -0500 |
commit | 74cfdba7ce7b601559a4bcdc9054baf1bdc6948d (patch) | |
tree | 72eef3f57fbc3cf4d2170a45a179e7d89a5c5429 /drivers/net/wireless/b43/xmit.c | |
parent | c6dfc9a8ec236957eea3a1cf4613e90c45e1475b (diff) |
b43: Use the retry limit parameters from mac80211
Use the limits provided by mac80211.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Cc: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/xmit.c')
-rw-r--r-- | drivers/net/wireless/b43/xmit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/b43/xmit.c b/drivers/net/wireless/b43/xmit.c index bcbb32872e85..3659438e637c 100644 --- a/drivers/net/wireless/b43/xmit.c +++ b/drivers/net/wireless/b43/xmit.c | |||
@@ -294,6 +294,8 @@ static void generate_txhdr_fw4(struct b43_wldev *dev, | |||
294 | mac_ctl |= B43_TX4_MAC_STMSDU; | 294 | mac_ctl |= B43_TX4_MAC_STMSDU; |
295 | if (phy->type == B43_PHYTYPE_A) | 295 | if (phy->type == B43_PHYTYPE_A) |
296 | mac_ctl |= B43_TX4_MAC_5GHZ; | 296 | mac_ctl |= B43_TX4_MAC_5GHZ; |
297 | if (txctl->flags & IEEE80211_TXCTL_LONG_RETRY_LIMIT) | ||
298 | mac_ctl |= B43_TX4_MAC_LONGFRAME; | ||
297 | 299 | ||
298 | /* Generate the RTS or CTS-to-self frame */ | 300 | /* Generate the RTS or CTS-to-self frame */ |
299 | if ((txctl->flags & IEEE80211_TXCTL_USE_RTS_CTS) || | 301 | if ((txctl->flags & IEEE80211_TXCTL_USE_RTS_CTS) || |
@@ -342,7 +344,6 @@ static void generate_txhdr_fw4(struct b43_wldev *dev, | |||
342 | b43_plcp_get_ratecode_cck(rts_rate); | 344 | b43_plcp_get_ratecode_cck(rts_rate); |
343 | if (rts_rate_fb_ofdm) | 345 | if (rts_rate_fb_ofdm) |
344 | extra_ft |= B43_TX4_EFT_RTSFBOFDM; | 346 | extra_ft |= B43_TX4_EFT_RTSFBOFDM; |
345 | mac_ctl |= B43_TX4_MAC_LONGFRAME; | ||
346 | } | 347 | } |
347 | 348 | ||
348 | /* Magic cookie */ | 349 | /* Magic cookie */ |