freebsd-skq/sys/dev/if_ndis
thompsa ed7c3176b9 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_ndis_pccard.c o port NDIS USB support from USB1 to the new usb(USB2). 2009-03-07 07:26:22 +00:00
if_ndis_pci.c remove now-redunant cardbus attachment. 2009-03-09 13:23:54 +00:00
if_ndis_usb.c Some NDIS USB drivers try to call URB funcs like URB_FUNCTION_VENDOR_xxx 2009-03-18 02:38:35 +00:00
if_ndis.c Create a taskqueue for each wireless interface which provides a serialised 2009-05-02 15:14:18 +00:00
if_ndisvar.h Create a taskqueue for each wireless interface which provides a serialised 2009-05-02 15:14:18 +00:00