1
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
iwl-3945-hw.h iwlwifi: code cleanup for generic defines 2010-04-02 12:52:17 -07:00
iwl-3945-led.c
iwl-3945-led.h
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
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
iwl-agn-led.h
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
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
iwl-debug.h
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
iwl-eeprom.c
iwl-eeprom.h iwlwifi: each device has its own eeprom tx power version 2010-03-25 11:18:50 -07:00
iwl-fh.h
iwl-hcmd.c iwlwifi: remove trailing space in messages 2010-04-02 12:53:54 -07:00
iwl-helpers.h
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
iwl-power.c iwlwifi: remove trailing space in messages 2010-04-02 12:53:54 -07:00
iwl-power.h
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
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
Makefile iwlwifi: move agn common code to iwlagn library file 2010-03-25 11:18:37 -07:00