Skip to content

Commit 52a1923

Browse files
Stanislaw GruszkaKalle Valo
authored andcommitted
Revert "rt2800: use TXOP_BACKOFF for probe frames"
This reverts commit fb47ada. In some situations when we set TXOP_BACKOFF, the probe frame is not sent at all. What it worse then sending probe frame as part of AMPDU and can degrade 11n performance to 11g rates. Cc: [email protected] Signed-off-by: Stanislaw Gruszka <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
1 parent 813477a commit 52a1923

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

drivers/net/wireless/ralink/rt2x00/rt2x00queue.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -372,16 +372,15 @@ static void rt2x00queue_create_tx_descriptor_ht(struct rt2x00_dev *rt2x00dev,
372372

373373
/*
374374
* Determine IFS values
375-
* - Use TXOP_BACKOFF for probe and management frames except beacons
375+
* - Use TXOP_BACKOFF for management frames except beacons
376376
* - Use TXOP_SIFS for fragment bursts
377377
* - Use TXOP_HTTXOP for everything else
378378
*
379379
* Note: rt2800 devices won't use CTS protection (if used)
380380
* for frames not transmitted with TXOP_HTTXOP
381381
*/
382-
if ((ieee80211_is_mgmt(hdr->frame_control) &&
383-
!ieee80211_is_beacon(hdr->frame_control)) ||
384-
(tx_info->flags & IEEE80211_TX_CTL_RATE_CTRL_PROBE))
382+
if (ieee80211_is_mgmt(hdr->frame_control) &&
383+
!ieee80211_is_beacon(hdr->frame_control))
385384
txdesc->u.ht.txop = TXOP_BACKOFF;
386385
else if (!(tx_info->flags & IEEE80211_TX_CTL_FIRST_FRAGMENT))
387386
txdesc->u.ht.txop = TXOP_SIFS;

0 commit comments

Comments
 (0)