Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 595753 Details for
Bug 828824
USB Wi-Fi dongle not working as access point
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
0001-rt2x00usb-fix-indexes-ordering-on-RX-queue-kick.patch
0001-rt2x00usb-fix-indexes-ordering-on-RX-queue-kick.patch (text/plain), 1.61 KB, created by
Stanislaw Gruszka
on 2012-07-02 14:50:40 UTC
(
hide
)
Description:
0001-rt2x00usb-fix-indexes-ordering-on-RX-queue-kick.patch
Filename:
MIME Type:
Creator:
Stanislaw Gruszka
Created:
2012-07-02 14:50:40 UTC
Size:
1.61 KB
patch
obsolete
>From e899a84a6e9bec0ce653713a48ca121cd754430c Mon Sep 17 00:00:00 2001 >From: Stanislaw Gruszka <sgruszka@redhat.com> >Date: Mon, 2 Jul 2012 09:42:14 +0200 >Subject: [PATCH] rt2x00usb: fix indexes ordering on RX queue kick > >On rt2x00_dmastart() we increase index specified by Q_INDEX and on >rt2x00_dmadone() we increase index specified by Q_INDEX_DONE. So entries >between Q_INDEX_DONE and Q_INDEX are those we currently process in the >hardware. Entries between Q_INDEX and Q_INDEX_DONE are those we can >submit to the hardware. > >According to that fix rt2x00usb_kick_queue(), as we need to submit rx >entries that are not processed by the hardware. It worked before only >for empty queue, otherwise was broken. > >Note that for TX queues indexes ordering are ok. We need to kick entries >that have filled skb, but was not submitted to the hardware, i.e. >strted from Q_INDEX_DONE and have ENTRY_DATA_PENDING bit set. > >From practical standpoint this patch fixes AP mode connection hangs. > >Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> >--- > drivers/net/wireless/rt2x00/rt2x00usb.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/drivers/net/wireless/rt2x00/rt2x00usb.c b/drivers/net/wireless/rt2x00/rt2x00usb.c >index d357d1e..74ecc33 100644 >--- a/drivers/net/wireless/rt2x00/rt2x00usb.c >+++ b/drivers/net/wireless/rt2x00/rt2x00usb.c >@@ -436,8 +436,8 @@ void rt2x00usb_kick_queue(struct data_queue *queue) > case QID_RX: > if (!rt2x00queue_full(queue)) > rt2x00queue_for_each_entry(queue, >- Q_INDEX_DONE, > Q_INDEX, >+ Q_INDEX_DONE, > NULL, > rt2x00usb_kick_rx_entry); > break; >-- >1.7.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 828824
:
589542
|
589545
|
589546
|
589547
|
589549
|
594182
| 595753