[rt2x00-users] rt2800pci: interrupt handling and tx status handling
Helmut Schaa
helmut.schaa at googlemail.com
Tue Sep 7 14:45:24 UTC 2010
Am Dienstag 07 September 2010 schrieb Ivo Van Doorn:
> On Tue, Sep 7, 2010 at 4:11 PM, Helmut Schaa
> <helmut.schaa at googlemail.com> wrote:
> > Am Dienstag 07 September 2010 schrieb Helmut Schaa:
> >> Am Dienstag 07 September 2010 schrieb Ivo Van Doorn:
> >> > On Tue, Sep 7, 2010 at 3:46 PM, Helmut Schaa
> >> > <helmut.schaa at googlemail.com> wrote:
> >> > > Am Dienstag 07 September 2010 schrieb Ivo Van Doorn:
> >> > >> > So, I just switched to using a tasklet (just for tx status processing) as
> >> > >> > a tasklet can be scheduled multiple times. So the code would look like the
> >> > >> > following:
> >> > >>
> >> > >> tasklets, nice, remember the problems I had with rt2800usb when I
> >> > >> switched them to tasklets?
> >> > >
> >> > > Yeah, I know, but wasn't that due to some USB stuff that can sleep?
> >> > > The only thing I'm doing in the tasklet is reading the kfifo and calling
> >> > > txdone for the appropriate frames.
> >> >
> >> > Yeah, it was something with register reading or the mac80211 RX function.
> >> > Not sure anymore.
> >>
> >> Ah, right, I guess it was because reading registers on USB devices can sleep :(
> >
> > Which registers need to be read on txdone despite TX_STA_FIFO?
>
> Nothing, just TX_STA_FIFO.
Hmm, I've just thought about reading TX_STA_FIFO from within the work
and then scheduling a tasklet for txdone processing but that doesn't make
much sense, right? At least I don't know any advantages we would get from that.
Helmut
More information about the users
mailing list