linux/drivers/net/wireless/rt2x00
Johannes Berg 7bb4568372 mac80211: make tx() operation return void
The return value of the tx operation is commonly
misused by drivers, leading to errors. All drivers
will drop frames if they fail to TX the frame, and
they must also properly manage the queues (if they
didn't, mac80211 would already warn).

Removing the ability for drivers to return a BUSY
value also allows significant cleanups of the TX
TX handling code in mac80211.

Note that this also fixes a bug in ath9k_htc, the
old "return -1" there was wrong.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Tested-by: Sedat Dilek <sedat.dilek@googlemail.com> [ath5k]
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com> [rt2x00]
Acked-by: Larry Finger <Larry.Finger@lwfinger.net> [b43, rtl8187, rtlwifi]
Acked-by: Luciano Coelho <coelho@ti.com> [wl12xx]
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-02-25 15:32:34 -05:00
..
Kconfig rt2x00: Add support for RT5390 chip 2011-02-21 15:40:00 -05:00
Makefile
rt2x00.h mac80211: make tx() operation return void 2011-02-25 15:32:34 -05:00
rt2x00config.c rt2x00: Fix pointer errors. 2011-01-04 14:35:14 -05:00
rt2x00crypto.c
rt2x00debug.c rt2x00: Protect queue control with mutex 2010-12-13 15:23:35 -05:00
rt2x00debug.h
rt2x00dev.c rt2x00: Move TX/RX work into dedicated workqueue 2011-01-31 15:06:25 -05:00
rt2x00dump.h
rt2x00firmware.c rt2x00: Don't leak mem in error path of rt2x00lib_request_firmware() 2011-01-13 15:46:45 -05:00
rt2x00ht.c rt2x00: Remove superfluos empty line 2011-02-21 15:39:59 -05:00
rt2x00leds.c
rt2x00leds.h
rt2x00lib.h rt2x00: Introduce beacon_update_locked that requires caller locking 2011-01-31 15:06:22 -05:00
rt2x00link.c rt2x00: Move TX/RX work into dedicated workqueue 2011-01-31 15:06:25 -05:00
rt2x00mac.c mac80211: make tx() operation return void 2011-02-25 15:32:34 -05:00
rt2x00pci.c rt2x00: Remove interrupt thread registration 2011-01-31 15:06:23 -05:00
rt2x00pci.h rt2x00: Fix firmware loading regression on x86_64. 2010-12-13 15:23:37 -05:00
rt2x00queue.c Revert "rt2x00 : avoid timestamp for monitor injected frame." 2011-02-21 15:39:59 -05:00
rt2x00queue.h rt2x00: Fix WMM Queue naming 2010-12-13 15:23:36 -05:00
rt2x00reg.h rt2x00: Remove STATE_RADIO_IRQ_OFF_ISR and STATE_RADIO_IRQ_ON_ISR 2011-01-31 15:06:24 -05:00
rt2x00soc.c
rt2x00soc.h
rt2x00usb.c rt2x00: Move TX/RX work into dedicated workqueue 2011-01-31 15:06:25 -05:00
rt2x00usb.h rt2x00: Add "flush" queue command 2010-12-13 15:23:35 -05:00
rt61pci.c rt2x00: Check for errors from skb_pad() calls 2011-02-14 15:50:17 -05:00
rt61pci.h rt2x00: Fix WMM Queue naming 2010-12-13 15:23:36 -05:00
rt73usb.c rt2x00: Check for errors from skb_pad() calls 2011-02-14 15:50:17 -05:00
rt73usb.h rt2x00: Fix WMM Queue naming 2010-12-13 15:23:36 -05:00
rt2400pci.c Trivial typo fix in comment 2011-01-31 15:06:24 -05:00
rt2400pci.h
rt2500pci.c rt2x00: Remove STATE_RADIO_IRQ_OFF_ISR and STATE_RADIO_IRQ_ON_ISR 2011-01-31 15:06:24 -05:00
rt2500pci.h
rt2500usb.c rt2x00: Remove STATE_RADIO_IRQ_OFF_ISR and STATE_RADIO_IRQ_ON_ISR 2011-01-31 15:06:24 -05:00
rt2500usb.h
rt2800.h rt2x00: Add support for RT5390 chip 2011-02-21 15:40:00 -05:00
rt2800lib.c rt2x00: Add support for RT5390 chip 2011-02-21 15:40:00 -05:00
rt2800lib.h rt2x00: Refactor beacon code to make use of start- and stop_queue 2011-01-31 15:06:22 -05:00
rt2800pci.c rt2x00: Add support for RT5390 chip 2011-02-21 15:40:00 -05:00
rt2800pci.h
rt2800usb.c rt2x00: Fix WPA TKIP Michael MIC failures. 2011-01-31 15:06:24 -05:00
rt2800usb.h