From: Christian Lamparter <chunkeey@googlemail.com>
To: "Luis R. Rodriguez" <lrodriguez@atheros.com>
Cc: Chuck Crisler <ccrisler@vgocom.com>,
Luis Rodriguez <Luis.Rodriguez@atheros.com>,
linux-wireless@vger.kernel.org
Subject: Re: interrupts
Date: Fri, 17 Sep 2010 19:39:17 +0200 [thread overview]
Message-ID: <201009171939.17574.chunkeey@googlemail.com> (raw)
In-Reply-To: <20100917164223.GC2008@tux>
On Friday 17 September 2010 18:42:23 Luis R. Rodriguez wrote:
> On Fri, Sep 17, 2010 at 07:10:42AM -0700, Chuck Crisler wrote:
> > Luis, our gizmo uses an IR interface that is poorly implemented but needs
> > timely interrupts. It works well unless an AR9170 is plugged in. The
> > hardware guy has put a scope on the board and claims that the interrupts
> > are not being passed to the device. Where in the kernel or AR driver would
> > I start looking for this problem?
> >
ar9170usb (and otus) are processing (unaggregate rx-stream, alloc an skb for
each mpdu/frame in the stream, memcpy the data into each skb, push the finished
skb to the network stack) all incoming frames in the urb callback routine,
which has to run with IRQs disabled.
This "could" explain why you are getting such a bad irq-latency.
ath9k_htc and carl9170 do things differently. Both have
tasklets(related to bottom-halves if you aren't familiar
with the term) which take care of the rx stream processing
and the latency should be better. (don't have a scope
to test that claim but I can't see why it should be worse)
> > I got my problems with the 9170 fixed. Now roaming looks
> > rock solid, though it is slow (~6 seconds, mainly for the scan).
> >
> > The problem was in the wpa_supplicant.
Hmm, I'm curious: what was the problem in wpa_supplicant?
Best regards,
Chr
prev parent reply other threads:[~2010-09-17 17:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <D6CF33887D864426B02D21261537559B@ChuckPC>
2010-09-17 16:42 ` interrupts Luis R. Rodriguez
2010-09-17 17:39 ` Christian Lamparter [this message]
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=201009171939.17574.chunkeey@googlemail.com \
--to=chunkeey@googlemail.com \
--cc=Luis.Rodriguez@atheros.com \
--cc=ccrisler@vgocom.com \
--cc=linux-wireless@vger.kernel.org \
--cc=lrodriguez@atheros.com \
/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;
as well as URLs for NNTP newsgroup(s).