#
5efea30f |
| 02-May-2009 |
Andrew Thompson <thompsa@FreeBSD.org> |
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
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
show more ...
|
Revision tags: release/7.2.0_cvs, release/7.2.0 |
|
#
9c797940 |
| 13-Apr-2009 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
- Merge from HEAD
|
#
5cbbd666 |
| 05-Apr-2009 |
Andrew Thompson <thompsa@FreeBSD.org> |
Catch up with usb2_config struct layout changes.
|
#
dc60165b |
| 04-Apr-2009 |
Weongyo Jeong <weongyo@FreeBSD.org> |
Add uath(4) wireless USB driver for Atheros AR5005UG and AR5005UX chipsets.
Reviewed by: sam
|
#
dae1952f |
| 29-Jan-2010 |
Andrew Thompson <thompsa@FreeBSD.org> |
Add the Netgear WPN111
|
#
97ac268f |
| 19-Jan-2010 |
Weongyo Jeong <weongyo@FreeBSD.org> |
removes a hack to attach TRENDnet TEW-504UB/EU that I think this issue is solved with r202607. Now idProduct of all uath(4) devices should be decreased after loading the firmware.
|
Revision tags: release/8.0.0_cvs, release/8.0.0 |
|
#
874108ae |
| 12-Nov-2009 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
MFC @199204
|
#
941da6d3 |
| 14-Oct-2009 |
Weongyo Jeong <weongyo@FreeBSD.org> |
fixes a TX hang that could be possible to happen when the trasfers are in the high speed that some drivers don't call if_start callback after marking ~IFF_DRV_OACTIVE.
MFC after: 3 days
|
#
11e9b8ba |
| 04-Aug-2009 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
- MFC @196061
|
#
62dcd865 |
| 27-Jul-2009 |
Weongyo Jeong <weongyo@FreeBSD.org> |
adds DLINK2 DWA120 device.
PR: usb/136950 Reported by: Alexander Kuznetsov <skritku at gmail.com> Approved by: re (kib)
|
#
09c817ba |
| 03-Jul-2009 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
- MFC
|
#
ed6d949a |
| 23-Jun-2009 |
Andrew Thompson <thompsa@FreeBSD.org> |
- Make struct usb_xfer opaque so that drivers can not access the internals - Reduce the number of headers needed for a usb driver, the common case is just usb.h and usbdi.h
|
#
c39515ad |
| 17-Jun-2009 |
Weongyo Jeong <weongyo@FreeBSD.org> |
reorders the sequence when the device is detached. After detaching the interface is completed then it'll process other parts to avoid a race condition.
Pointed by: jhb
|
#
a593f6b8 |
| 15-Jun-2009 |
Andrew Thompson <thompsa@FreeBSD.org> |
s/usb2_/usb_|usbd_/ on all function names for the USB stack.
|
#
7e857dd1 |
| 12-Jun-2009 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
- Merge from HEAD
|
#
e0a69b51 |
| 29-May-2009 |
Andrew Thompson <thompsa@FreeBSD.org> |
s/usb2_/usb_/ on all typedefs for the USB stack.
|
#
e257fff4 |
| 29-May-2009 |
Weongyo Jeong <weongyo@FreeBSD.org> |
adds new device IDs.
PR: usb/135009 Submitted by: Bill Squire <billsf at 2600.COM>
|
#
760bc48e |
| 28-May-2009 |
Andrew Thompson <thompsa@FreeBSD.org> |
s/usb2_/usb_/ on all C structs for the USB stack.
|
#
2e370a5c |
| 26-May-2009 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
Merge from HEAD
|
#
88f3df72 |
| 21-May-2009 |
Andrew Thompson <thompsa@FreeBSD.org> |
Print out device attachment.
|
#
9360ae40 |
| 21-May-2009 |
Andrew Thompson <thompsa@FreeBSD.org> |
Rename the usb sysctl tree from hw.usb2.* back to hw.usb.*.
Submitted by: Hans Petter Selasky
|
#
f29a0724 |
| 21-May-2009 |
Andrew Thompson <thompsa@FreeBSD.org> |
- rename usb2_mode to usb_mode [1] - change variable types to use the enum
Submitted by: Hans Petter Selasky [1]
|
#
5463c4a4 |
| 20-May-2009 |
Sam Leffler <sam@FreeBSD.org> |
Overhaul monitor mode handling: o replace DLT_IEEE802_11 support in net80211 with DLT_IEEE802_11_RADIO and remove explicit bpf support from wireless drivers; drivers now use ieee80211_radiotap_at
Overhaul monitor mode handling: o replace DLT_IEEE802_11 support in net80211 with DLT_IEEE802_11_RADIO and remove explicit bpf support from wireless drivers; drivers now use ieee80211_radiotap_attach to setup shared data structures that hold the radiotap header for each packet tx/rx o remove rx timestamp from the rx path; it was used only by the tdma support for debugging and was mostly useless due to it being 32-bits and mostly unavailable o track DLT_IEEE80211_RADIO bpf attachments and maintain per-vap and per-com state when there are active taps o track the number of monitor mode vaps o use bpf tap and monitor mode vap state to decide when to collect radiotap state and dispatch frames; drivers no longer explicitly directly check bpf state or use bpf calls to tap frames o handle radiotap state updates on channel change in net80211; drivers should not do this (unless they bypass net80211 which is almost always a mistake) o update various drivers to be more consistent/correct in handling radiotap o update ral to include TSF in radiotap'd frames o add promisc mode callback to wi
Reviewed by: cbzimmer, rpaulo, thompsa
show more ...
|
#
e557e680 |
| 20-May-2009 |
Weongyo Jeong <weongyo@FreeBSD.org> |
try to unsetup USB xfers before calling ieee80211_ifdetach() to fix a bug referencing a destroyed lock within TX callbacks during device detach.
Submitted by: hps (original version) Tested by: Luciu
try to unsetup USB xfers before calling ieee80211_ifdetach() to fix a bug referencing a destroyed lock within TX callbacks during device detach.
Submitted by: hps (original version) Tested by: Lucius Windschuh <lwindschuh at googlemail.com>
show more ...
|
#
afb8a6b5 |
| 17-May-2009 |
Sam Leffler <sam@FreeBSD.org> |
add TRENDnet TEW-504UB/EU
Submitted by: Lucius Windschuh <lwindschuh@googlemail.com>
|