OpenCloudOS-Kernel/drivers/net/wireless/wl1251
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
Makefile
acx.c wl1251: implement connection quality monitoring 2011-02-03 16:44:42 -05:00
acx.h wl1251: implement connection quality monitoring 2011-02-03 16:44:42 -05:00
boot.c wl1251: remove unnecessary import 2010-12-22 15:43:26 -05:00
boot.h
cmd.c
cmd.h
debugfs.c
debugfs.h
event.c wl1251: implement connection quality monitoring 2011-02-03 16:44:42 -05:00
event.h
init.c
init.h
io.c
io.h
main.c mac80211: make tx() operation return void 2011-02-25 15:32:34 -05:00
ps.c wl1251: enable beacon early termination while in power-saving mode 2011-02-03 16:42:44 -05:00
ps.h
reg.h
rx.c mac80211: rename RX_FLAG_TSFT 2011-02-23 16:25:29 -05:00
rx.h
sdio.c wl1251: wl12xx_get_platform_data() returns an ERR_PTR 2010-12-20 14:49:49 -05:00
spi.c wl1251: add power callback to wl1251_if_operations 2010-11-15 13:27:00 -05:00
spi.h
tx.c wl1251: fix 4-byte TX buffer alignment 2011-02-03 16:42:44 -05:00
tx.h
wl12xx_80211.h
wl1251.h wl1251: implement connection quality monitoring 2011-02-03 16:44:42 -05:00