Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jan 2016 12:22:44 -0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        Andriy Voskoboinyk <s3erios@gmail.com>,  "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org>
Subject:   net80211: why we ca'nt use the net80211 taskqueue for everything
Message-ID:  <CAJ-VmoneUBz4Vt3hFj8S4G_o8ptd3Z-NL5%2B6HuG33C3C_x-2jQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmoneUBz4Vt3hFj8S4G_o8ptd3Z-NL5%2B6HuG33C3C_x-2jQ>