linux/drivers/net/wireless/iwlwifi
Zhu Yi 470058e0ad iwlwifi: avoid Tx queue memory allocation in interface down
We used to free all the Tx queues memory when interface is brought
down and reallocate them again in interface up. This requires
order-4 allocation for txq->cmd[]. In situations like s2ram, this
usually leads to allocation failure in the memory subsystem. The
patch fixed this problem by allocating the Tx queues memory only at
the first time. Later iwl_down/iwl_up only initialize but don't
free and reallocate them. The memory is freed at the device removal
time. BTW, we have already done this for the Rx queue.

This fixed bug https://bugzilla.kernel.org/show_bug.cgi?id=15551

Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Acked-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
2010-04-09 12:41:26 -07:00
..
iwl3945-base.c iwlwifi: default max event log size 2010-04-09 11:27:21 -07:00
iwl-1000.c iwlwifi: default max event log size 2010-04-09 11:27:21 -07:00
iwl-3945-fh.h iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-3945-hw.h iwlwifi: code cleanup for generic defines 2010-04-02 12:52:17 -07:00
iwl-3945-led.c iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-3945-led.h iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-3945-rs.c iwlwifi: fix compile warnings when compiling without debug 2010-04-09 11:32:36 -07:00
iwl-3945.c iwlwifi: fix compile warnings when compiling without debug 2010-04-09 11:32:36 -07:00
iwl-3945.h iwlwifi: implement new mac80211 station add/remove calls 2010-03-19 13:40:58 -07:00
iwl-4965-hw.h iwlwifi: code cleanup for generic defines 2010-04-02 12:52:17 -07:00
iwl-4965.c iwlwifi: update tx command response status 2010-04-09 11:30:59 -07:00
iwl-5000-hw.h iwlwifi: move hw related defines to separate file 2010-03-25 11:18:05 -07:00
iwl-5000.c iwlwifi: default max event log size 2010-04-09 11:27:21 -07:00
iwl-6000-hw.h iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-6000.c iwlwifi: default max event log size 2010-04-09 11:27:21 -07:00
iwl-agn-hcmd.c iwlwifi: code cleanup for generic defines 2010-04-02 12:52:17 -07:00
iwl-agn-hw.h iwlwifi: code cleanup for generic defines 2010-04-02 12:52:17 -07:00
iwl-agn-ict.c iwlwifi: change spin_lock to spin_lock_irqsave 2010-03-25 11:22:08 -07:00
iwl-agn-led.c iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-agn-led.h iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-agn-lib.c iwlwifi: avoid Tx queue memory allocation in interface down 2010-04-09 12:41:26 -07:00
iwl-agn-rs.c iwlwifi: fix compile warnings when compiling without debug 2010-04-09 11:32:36 -07:00
iwl-agn-rs.h iwlwifi: implement new mac80211 station add/remove calls 2010-03-19 13:40:58 -07:00
iwl-agn-tx.c iwlwifi: avoid Tx queue memory allocation in interface down 2010-04-09 12:41:26 -07:00
iwl-agn-ucode.c iwlwifi: move ucode alive related code to separate file 2010-03-25 11:18:20 -07:00
iwl-agn.c iwlwifi: add more debug info in error event dump 2010-04-09 11:28:30 -07:00
iwl-agn.h iwlwifi: avoid Tx queue memory allocation in interface down 2010-04-09 12:41:26 -07:00
iwl-calib.c iwlwifi: remove trailing space in messages 2010-04-02 12:53:54 -07:00
iwl-calib.h iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-commands.h iwlwifi: small changes in comments 2010-04-09 11:31:13 -07:00
iwl-core.c iwlwifi: remove trailing space in messages 2010-04-02 12:53:54 -07:00
iwl-core.h iwlwifi: default max event log size 2010-04-09 11:27:21 -07:00
iwl-csr.h iwlwifi: indicate calib version for 6050 series 2010-02-19 15:52:49 -05:00
iwl-debug.h iwlwifi: clean up debugfs code 2010-01-25 16:36:24 -05:00
iwl-debugfs.c iwlwifi: remove duplicate function 2010-03-09 16:12:34 -08:00
iwl-dev.h iwlwifi: clean up last_phy_res 2010-04-09 11:28:16 -07:00
iwl-devtrace.c iwlwifi: move agn only tx functions from iwlcore to iwlagn 2010-03-25 11:19:27 -07:00
iwl-devtrace.h Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-01-23 00:31:06 -08:00
iwl-eeprom.c iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-eeprom.h iwlwifi: each device has its own eeprom tx power version 2010-03-25 11:18:50 -07:00
iwl-fh.h iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-hcmd.c iwlwifi: remove trailing space in messages 2010-04-02 12:53:54 -07:00
iwl-helpers.h iwlagn: move ICT code into separate file 2010-03-09 16:03:13 -08:00
iwl-io.h iwlwifi: remove trailing space in messages 2010-04-02 12:53:54 -07:00
iwl-led.c iwlwifi: remove "\n" from module parameter description 2010-03-25 11:21:11 -07:00
iwl-led.h iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-power.c iwlwifi: remove trailing space in messages 2010-04-02 12:53:54 -07:00
iwl-power.h iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-prph.h iwlwifi: clean up queue/fifo handling 2010-03-09 16:13:11 -08:00
iwl-rx.c iwlwifi: remove noise reporting 2010-03-25 11:20:44 -07:00
iwl-scan.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 into merge 2010-04-08 13:34:54 -04:00
iwl-spectrum.h iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-sta.c iwlwifi: fix compiler warning 2010-04-09 12:41:06 -07:00
iwl-sta.h iwlwifi: make WEP key restoring explicit 2010-04-09 11:27:31 -07:00
iwl-tx.c iwlwifi: avoid Tx queue memory allocation in interface down 2010-04-09 12:41:26 -07:00
Kconfig iwlwifi: cleanup spectrum measurement command support 2010-01-25 16:36:26 -05:00
Makefile iwlwifi: move agn common code to iwlagn library file 2010-03-25 11:18:37 -07:00