rtl8187: implement conf_tx callback/correctly ack tx pkts
Quoted 7 lines
--- On Fri, 31/10/08, Larry Finger
Quoted 1 line · <[email protected]> wrote:
With these patches installed, my RTL8187B device was
stuck
Quoted 2 lines
at 1 Mbs using the
'pid' algorithm.
I back-ported the 2nd rate-change patch
"feedback transmitted packets using tx close descriptor for 8187B"
on its own to 2.6.27 and its behavior is similiar to the earlier rate-control patch but without "tranmit queue full" dmesg flood; and my trans rate goes up and down between 11Mb to 48Mb. So it looks like the rate limitation you are experiencing is either due to the conf_tx patch, the rest of 2.6.27<->2.6.28 wireless changes, or this little snipplet which I had to change for the back port, since the rates[0].* seems to be newly introduced in 2.6.28/wireless-testing.
----------------------------------------------------
drivers/net/wireless/rtl8187_dev.c +3 -1
@@ -494,7 +494,9 @@ static void rtl8187b_status_cb(struct urb *urb)__skb_unlink (skb, &priv->b_tx_status.queue);if (tok) info->flags |=IEEE80211_TX_STAT_ACK ; - info->status.rates[0 ].count = pkt_rc +1 ; +else + info->status.excessive_retries =1 ; + info->status.retry_count = pkt_rc;ieee80211_tx_status_irqsafe (hw, skb); }
-----------------------------------------------------
I don't know what's the significance of this (and the "+1" above), but I made this change based on the first rate-change patch :-).
So you can add <test-by> me for the 2nd patch of these two; the conf_tx callback patch seems to depend on some fairly recently wireless-testing/2.6.28.x changes?
Hin-Tak