Re: net80211: why we ca'nt use the net80211 taskqueue for everything

2016-01-24 Thread Adrian Chadd
On 24 January 2016 at 13:40, Andriy Voskoboinyk  wrote:
> Sun, 24 Jan 2016 22:22:44 +0200 було написано Adrian Chadd
> :
>
> Hi,
>
> is it actual for wpi(4) / iwn(4) ?

If you defer things like tx, calibration, etc then yeah - you'll see
things like software generated probe request frames and such be
deferred.

(I tried this with ath(4) about 5 years ago - hit the same issue. So
I've put it off until the scan code is "fixed".)


-adrian

>
>
>> hi,
>>
>> andriy has a few reviews out that tidy up some things, which I'd reply
>> to, but .. reviews is offline. So, here's the 30 second version:
>>
>> * the net80211 taskqueue runs the software scan engine, and the
>> software scan engine currently sleeps whilst it's running.
>>
>> This means that if you put newstate, deferred transmit, etc into the
>> net80211 taskqueue, then it just won't run during scan.
>>
>> The net80211 software scan thing should be modified to not sleep
>> whilst it's waiting for scan results and instead just kick off another
>> timer event to finish that part of the loop. Then yes, we can just
>> migrate * to the net80211 task queue and use it for all serialisation
>> of a wifi driver.
>>
>> (And yes, I'd like to see that done ASAP..)
>>
>> Thanks,
>>
>>
>> -adrian
___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Re: net80211: why we ca'nt use the net80211 taskqueue for everything

2016-01-24 Thread Andriy Voskoboinyk
Sun, 24 Jan 2016 22:22:44 +0200 було написано Adrian Chadd  
:


Hi,

is it actual for wpi(4) / iwn(4) ?


hi,

andriy has a few reviews out that tidy up some things, which I'd reply
to, but .. reviews is offline. So, here's the 30 second version:

* the net80211 taskqueue runs the software scan engine, and the
software scan engine currently sleeps whilst it's running.

This means that if you put newstate, deferred transmit, etc into the
net80211 taskqueue, then it just won't run during scan.

The net80211 software scan thing should be modified to not sleep
whilst it's waiting for scan results and instead just kick off another
timer event to finish that part of the loop. Then yes, we can just
migrate * to the net80211 task queue and use it for all serialisation
of a wifi driver.

(And yes, I'd like to see that done ASAP..)

Thanks,


-adrian

___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"