1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00
freebsd/sys/dev/wi
Andrew Thompson 5efea30f03 Create a taskqueue for each wireless interface which provides a serialised
sleepable context for net80211 driver callbacks. This removes the need for USB
and firmware based drivers to roll their own code to defer the chip programming
for state changes, scan requests, channel changes and mcast/promisc updates.
When a driver callback completes the hardware state is now guaranteed to have
been updated and is in sync with net80211 layer.

This nukes around 1300 lines of code from the wireless device drivers making
them more readable and less race prone.

The net80211 layer has been updated as follows
 - all state/channel changes are serialised on the taskqueue.
 - ieee80211_new_state() always queues and can now be called from any context
 - scanning runs from a single taskq function and executes to completion. driver
   callbacks are synchronous so the channel, phy mode and rx filters are
   guaranteed to be set in hardware before probe request frames are
   transmitted.

Help and contributions from Sam Leffler.

Reviewed by:	sam
2009-05-02 15:14:18 +00:00
..
if_wavelan_ieee.h Multi-bss (aka vap) support for 802.11 devices. 2008-04-20 20:35:46 +00:00
if_wi_pccard.c Remove opt_wi.h 2008-08-27 05:39:44 +00:00
if_wi_pci.c Minor tweaks to names and comments now that I understand what's going 2008-08-02 20:45:28 +00:00
if_wi.c Create a taskqueue for each wireless interface which provides a serialised 2009-05-02 15:14:18 +00:00
if_wireg.h Minor tweaks to names and comments now that I understand what's going 2008-08-02 20:45:28 +00:00
if_wivar.h Create a taskqueue for each wireless interface which provides a serialised 2009-05-02 15:14:18 +00:00