linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: interrupts
       [not found] <D6CF33887D864426B02D21261537559B@ChuckPC>
@ 2010-09-17 16:42 ` Luis R. Rodriguez
  2010-09-17 17:39   ` interrupts Christian Lamparter
  0 siblings, 1 reply; 2+ messages in thread
From: Luis R. Rodriguez @ 2010-09-17 16:42 UTC (permalink / raw)
  To: Chuck Crisler; +Cc: Luis Rodriguez, linux-wireless, Christian Lamparter

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?
> 
> 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.
> 
> Thank you,
> Chuck Crisler
> VGo Communications

Chuck, you're better off using the mailign lists, I don't work on ar9170,
Christian does though.

  Luis

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: interrupts
  2010-09-17 16:42 ` interrupts Luis R. Rodriguez
@ 2010-09-17 17:39   ` Christian Lamparter
  0 siblings, 0 replies; 2+ messages in thread
From: Christian Lamparter @ 2010-09-17 17:39 UTC (permalink / raw)
  To: Luis R. Rodriguez; +Cc: Chuck Crisler, Luis Rodriguez, linux-wireless

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-09-17 17:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <D6CF33887D864426B02D21261537559B@ChuckPC>
2010-09-17 16:42 ` interrupts Luis R. Rodriguez
2010-09-17 17:39   ` interrupts Christian Lamparter

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).