Search Linux Wireless

Re: scanning question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2009-11-19 at 07:49 -0800, Chuck Tuffli wrote:

> > No, you can't assume that right now, unfortunately. We've been wanting
> > to implement a flush_tx() callback for a long time now but nobody did so
> > far. Some drivers might flush in the pre_scan() callback, but I think
> > that isn't actually correct because the nullfunc frame we might send
> > might pass other frames on the hw queues/fifos.
> 
> OK. I agree that flushing isn't ideal, so the alternative is for
> someone to wait until IO finishes.

I think we should actually flush the queues.

> Can the driver sleep until it is ready to scan (I'm guessing no)?

Yes, pre_scan() can sleep, and a flush() callback would also be able to
sleep.

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux