1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/wireless/b43legacy
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
..
b43legacy.h drivers/net: use __packed annotation 2010-06-03 03:18:23 -07:00
debugfs.c net/wireless: use generic_file_llseek in debugfs 2010-09-16 10:33:08 +02:00
debugfs.h
dma.c b43legacy: replace the ssb_dma API with the generic DMA API 2010-06-04 16:00:42 -04:00
dma.h drivers/net: use __packed annotation 2010-06-03 03:18:23 -07:00
ilt.c
ilt.h
Kconfig wireless: remove WLAN_80211 and WLAN_PRE80211 from Kconfig 2009-10-30 16:50:35 -04:00
leds.c b43/legacy: port to cfg80211 rfkill 2009-06-10 13:27:54 -04:00
leds.h b43legacy: fix typo in ifdef comment 2010-02-15 16:12:53 -05:00
main.c mac80211: make tx() operation return void 2011-02-25 15:32:34 -05:00
main.h
Makefile b43/legacy: port to cfg80211 rfkill 2009-06-10 13:27:54 -04:00
phy.c tree-wide: fix comment/printk typos 2010-11-01 15:38:34 -04:00
phy.h
pio.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
pio.h b43legacy: remove get_tx_stats() mac80211 op 2010-02-08 16:51:00 -05:00
radio.c
radio.h
rfkill.c b43legacy: rfkill: use status register based on core revision (not PHY's) 2010-11-15 13:25:52 -05:00
rfkill.h b43/legacy: port to cfg80211 rfkill 2009-06-10 13:27:54 -04:00
sysfs.c
sysfs.h
xmit.c mac80211: rename RX_FLAG_TSFT 2011-02-23 16:25:29 -05:00
xmit.h drivers/net: use __packed annotation 2010-06-03 03:18:23 -07:00