From: Seth Forshee <seth.forshee@canonical.com>
To: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: [RFT] iwlwifi: dvm: drop non VO frames when flushing
Date: Sun, 5 Oct 2014 11:53:34 -0500 [thread overview]
Message-ID: <20141005165334.GB5691@ubuntu-mba51> (raw)
In-Reply-To: <1412517432-16309-1-git-send-email-emmanuel.grumbach@intel.com>
On Sun, Oct 05, 2014 at 04:57:12PM +0300, Emmanuel Grumbach wrote:
> When mac80211 wants to ensure that a frame is sent, it calls
> the flush() callback. Until now, iwldvm implemented this by
> waiting that all the frames are sent (ACKed or timeout).
> In case of weak signal, this can take a significant amount
> of time, delaying the next connection (in case of roaming).
> Many users have reported that the flush would take too long
> leading to the following error messages to be printed:
>
> iwlwifi 0000:03:00.0: fail to flush all tx fifo queues Q 2
> iwlwifi 0000:03:00.0: Current SW read_ptr 161 write_ptr 201
> iwl data: 00000000: 00 00 00 00 00 00 00 00 fe ff 01 00 00 00 00 00
> [snip]
> iwlwifi 0000:03:00.0: FH TRBs(0) = 0x00000000
> [snip]
> iwlwifi 0000:03:00.0: Q 0 is active and mapped to fifo 3 ra_tid 0x0000 [9,9]
> [snip]
>
> Instead of waiting for these packets, simply drop them. This
> significantly improves the responsiveness of the network.
> Note that all the queues are flushed, but the VO one. This
> is not typically used by the applications and it likely
> contains management frames that are useful for connection
> or roaming.
>
> This bug is tracked here:
> https://bugzilla.kernel.org/show_bug.cgi?id=56581
>
> But it is duplicated in distributions' trackers.
> A simple search in Ubuntu's database led to these bugs:
>
> https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1270808
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1305406
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1356236
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1360597
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1361809
>
> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
> ---
> I am trying here to fix an issues that has been affecting many users on dvm.
> A few users in bugzilla already reported that this patch helped them a lot.
> I am trying to get more testers :)
I'll post test builds to the Ubuntu bugs and see if I can get any
testing.
Thanks,
Seth
next prev parent reply other threads:[~2014-10-05 16:53 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-05 13:57 [RFT] iwlwifi: dvm: drop non VO frames when flushing Emmanuel Grumbach
2014-10-05 15:07 ` Sujith Manoharan
2014-10-05 15:35 ` Grumbach, Emmanuel
2014-10-05 15:43 ` Sujith Manoharan
2014-10-05 16:53 ` Seth Forshee [this message]
2014-10-06 12:33 ` Seth Forshee
2014-10-06 12:35 ` Grumbach, Emmanuel
2014-10-06 12:43 ` Seth Forshee
2014-10-06 12:44 ` Seth Forshee
2014-10-06 12:47 ` Grumbach, Emmanuel
2014-10-06 12:59 ` Seth Forshee
2014-10-06 13:01 ` Grumbach, Emmanuel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20141005165334.GB5691@ubuntu-mba51 \
--to=seth.forshee@canonical.com \
--cc=emmanuel.grumbach@intel.com \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox