[rt2x00-users] rt2800pci: interrupt handling and tx status handling
Ivo Van Doorn
ivdoorn at gmail.com
Tue Sep 7 14:27:40 UTC 2010
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.
More information about the users