freebsd-nq/sys/dev/usb/wlan
Adrian Chadd 24c2763fb1 urtwn driver fixes - missing include, free node references, shut down xfers first
* include opt_wlan.h like a good little wlan driver;
* add a function to free the mbufq /and/ the node references on it, or we will leak
  said node references;
* free the mbufq upon NIC shutdown otherwise we may end up with a full list that
  we never begin transmit work on, and thus never drain it;
* .. which frees it upon NIC detach too;
* ensure urtwn_start() gets called after the completion of frame TX even if the
  pending queue is empty, otherwise transmit will stall.  It's highly unlikely that
  the usb tx queue would be empty whilst the incoming send queue is full, but hey,
  who knows.

This passes some iperf testing with and without the NIC being actively removed during
said active iperf test.

Tested:

* urtwn0: MAC/BB RTL8188EU, RF 6052 1T1R ; STA mode
2015-09-29 05:03:24 +00:00
..
if_rsu.c include opt_wlan.h . Tsk adrian. 2015-09-28 01:16:44 +00:00
if_rsureg.h net80211: include one copy of struct ieee80211_beacon_offsets into ieee80211vap 2015-09-22 06:34:07 +00:00
if_rum.c Replay r286410. Change KPI of how device drivers that provide wireless 2015-08-27 08:56:39 +00:00
if_rumfw.h
if_rumreg.h Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
if_rumvar.h Replay r286410. Change KPI of how device drivers that provide wireless 2015-08-27 08:56:39 +00:00
if_run.c net80211: include one copy of struct ieee80211_beacon_offsets into ieee80211vap 2015-09-22 06:34:07 +00:00
if_runreg.h Add support for the MediaTek/Ralink RT3593 chipset. 2014-01-03 06:01:05 +00:00
if_runvar.h net80211: include one copy of struct ieee80211_beacon_offsets into ieee80211vap 2015-09-22 06:34:07 +00:00
if_uath.c net80211 & wireless drivers: remove duplicate defines (noop) 2015-09-22 02:48:59 +00:00
if_uathreg.h
if_uathvar.h net80211 & wireless drivers: remove duplicate defines (noop) 2015-09-22 02:48:59 +00:00
if_upgt.c Replay r286410. Change KPI of how device drivers that provide wireless 2015-08-27 08:56:39 +00:00
if_upgtvar.h Replay r286410. Change KPI of how device drivers that provide wireless 2015-08-27 08:56:39 +00:00
if_ural.c net80211: include one copy of struct ieee80211_beacon_offsets into ieee80211vap 2015-09-22 06:34:07 +00:00
if_uralreg.h Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
if_uralvar.h net80211: include one copy of struct ieee80211_beacon_offsets into ieee80211vap 2015-09-22 06:34:07 +00:00
if_urtw.c net80211 & wireless drivers: remove duplicate defines (noop) 2015-09-22 02:48:59 +00:00
if_urtwn.c urtwn driver fixes - missing include, free node references, shut down xfers first 2015-09-29 05:03:24 +00:00
if_urtwnreg.h net80211: include one copy of struct ieee80211_beacon_offsets into ieee80211vap 2015-09-22 06:34:07 +00:00
if_urtwreg.h Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
if_urtwvar.h Replay r286410. Change KPI of how device drivers that provide wireless 2015-08-27 08:56:39 +00:00
if_zyd.c net80211 & wireless drivers: remove duplicate defines (noop) 2015-09-22 02:48:59 +00:00
if_zydfw.h
if_zydreg.h Replay r286410. Change KPI of how device drivers that provide wireless 2015-08-27 08:56:39 +00:00