OpenCloudOS-Kernel/drivers/net/wireless/iwlwifi
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 iwlwifi: split the drivers for agn and legacy devices 3945/4965 2011-02-21 11:27:26 -08:00
Makefile iwlwifi: split the drivers for agn and legacy devices 3945/4965 2011-02-21 11:27:26 -08:00
iwl-1000.c iwlwifi: always support idle mode for agn devices 2011-01-31 13:19:02 -08:00
iwl-2000.c iwlagn: handle bt defer work in 2000 series 2011-02-11 11:51:57 -08:00
iwl-5000-hw.h iwlwifi: update out-of-date comments 2010-08-25 14:33:20 -04:00
iwl-5000.c iwlagn: code clean up to remove duplicate code 2010-12-13 15:53:54 -08:00
iwl-6000-hw.h iwlwifi: update out-of-date comments 2010-08-25 14:33:20 -04:00
iwl-6000.c Merge ssh://master.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 2011-02-18 17:03:41 -05:00
iwl-agn-calib.c iwlwifi: introduce iwl_bt_statistics 2011-01-28 15:46:25 -05:00
iwl-agn-calib.h iwlwifi: clean up declarations 2010-10-07 15:52:44 -07:00
iwl-agn-debugfs.c iwlwifi: introduce iwl_bt_statistics 2011-01-28 15:46:25 -05:00
iwl-agn-debugfs.h iwlagn: keep track of failure tx status 2010-09-17 13:17:36 -07:00
iwl-agn-eeprom.c iwlwifi: don't read sku information from EEPROM for 4965 2011-01-21 15:05:57 -05:00
iwl-agn-hcmd.c iwlwifi: replace minimum slot time constant 2011-01-21 15:51:08 -08:00
iwl-agn-hw.h
iwl-agn-ict.c wireless: comment typo fix diable -> disable. 2011-01-03 16:05:53 +01:00
iwl-agn-led.c iwlwifi: use mac80211 throughput trigger 2011-01-21 15:26:39 -08:00
iwl-agn-led.h iwlwifi: use mac80211 throughput trigger 2011-01-21 15:26:39 -08:00
iwl-agn-lib.c mac80211: rename RX_FLAG_TSFT 2011-02-23 16:25:29 -05:00
iwl-agn-rs.c iwlwifi: use maximum aggregation size 2011-01-31 13:19:32 -08:00
iwl-agn-rs.h iwl3945: do not use agn specific IWL_RATE_COUNT 2011-01-31 15:06:21 -05:00
iwl-agn-rx.c iwlwifi: introduce iwl_bt_statistics 2011-01-28 15:46:25 -05:00
iwl-agn-rxon.c iwlwifi: do not set tx power when channel is changing 2011-01-28 15:46:24 -05:00
iwl-agn-sta.c iwlagn: fix non-5000+ build 2010-11-15 13:26:43 -05:00
iwl-agn-tt.c iwlwifi: remove spurious exports 2010-10-07 15:51:11 -07:00
iwl-agn-tt.h iwlwifi: separate thermal throttling function 2010-08-24 16:28:07 -04:00
iwl-agn-tx.c iwlwifi: implement remain-on-channel 2011-01-21 15:50:58 -08:00
iwl-agn-ucode.c iwlwifi: check ucode loading error and restart 2011-01-31 13:17:28 -08:00
iwl-agn.c mac80211: make tx() operation return void 2011-02-25 15:32:34 -05:00
iwl-agn.h mac80211: make tx() operation return void 2011-02-25 15:32:34 -05:00
iwl-commands.h iwlagn: remove unsupported BT SCO command 2011-01-31 13:22:25 -08:00
iwl-core.c iwlwifi: split the drivers for agn and legacy devices 3945/4965 2011-02-21 11:27:26 -08:00
iwl-core.h iwlwifi: always support idle mode for agn devices 2011-01-31 13:19:02 -08:00
iwl-csr.h iwlagn: add IQ inversion support for 2000 series devices 2011-01-31 13:17:53 -08:00
iwl-debug.h iwlwifi: add new EEPROM debug log type 2010-12-13 15:52:39 -08:00
iwl-debugfs.c iwlwifi: split the drivers for agn and legacy devices 3945/4965 2011-02-21 11:27:26 -08:00
iwl-dev.h iwlwifi: split the drivers for agn and legacy devices 3945/4965 2011-02-21 11:27:26 -08:00
iwl-devtrace.c
iwl-devtrace.h iwlwifi: fix TX tracer 2010-08-06 13:53:58 -04:00
iwl-eeprom.c iwlwifi: split the drivers for agn and legacy devices 3945/4965 2011-02-21 11:27:26 -08:00
iwl-eeprom.h iwlagn: add 2000 series EEPROM version 2011-01-21 15:28:55 -08:00
iwl-fh.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2010-07-13 15:57:29 -04:00
iwl-hcmd.c iwlwifi: split the drivers for agn and legacy devices 3945/4965 2011-02-21 11:27:26 -08:00
iwl-helpers.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 2011-01-05 14:35:41 -05:00
iwl-io.h
iwl-led.c iwlwifi: split the drivers for agn and legacy devices 3945/4965 2011-02-21 11:27:26 -08:00
iwl-led.h iwlwifi: use mac80211 throughput trigger 2011-01-21 15:26:39 -08:00
iwl-power.c iwlwifi: split the drivers for agn and legacy devices 3945/4965 2011-02-21 11:27:26 -08:00
iwl-power.h iwlwifi: defer update power mode while scan 2010-11-15 13:24:28 -05:00
iwl-prph.h iwlwifi: do not reload fw if WiMAX own the RF 2010-12-13 15:53:24 -08:00
iwl-rx.c iwlwifi: split the drivers for agn and legacy devices 3945/4965 2011-02-21 11:27:26 -08:00
iwl-scan.c iwlwifi: split the drivers for agn and legacy devices 3945/4965 2011-02-21 11:27:26 -08:00
iwl-spectrum.h
iwl-sta.c iwlwifi: split the drivers for agn and legacy devices 3945/4965 2011-02-21 11:27:26 -08:00
iwl-sta.h iwlagn: reprogram AP STA after assoc 2010-11-16 07:46:35 -08:00
iwl-tx.c iwlwifi: split the drivers for agn and legacy devices 3945/4965 2011-02-21 11:27:26 -08:00