linux_old1/drivers/net/wireless/iwlwifi
Johannes Berg c2acea8e9b iwlwifi: fix up command sending
The current command sending in iwlwifi is a bit of a mess:
 1) there is a struct, iwl_cmd, that contains both driver
    and device data in a single packed structure -- this
    is very confusing
 2) the on-stack data and the command metadata share a
    structure by embedding the latter in the former, which
    is also rather confusing because it leads to weird
    unions and similarly odd constructs
 3) each txq always has enough space for 256 commands,
    even if only 32 end up being used

This patch fixes these things:
 1) rename iwl_cmd to iwl_device_cmd and keep track of
    command metadata and device command separately, in
    two arrays in each tx queue
 2) remove the 'meta' member from iwl_host_cmd and only
    put in the required members
 3) allocate the cmd/meta arrays separately instead of
    embedding them into the txq structure

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-07-27 15:24:21 -04:00
..
Kconfig Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 2009-06-15 03:02:23 -07:00
Makefile iwlwifi: port to cfg80211 rfkill 2009-06-10 13:27:49 -04:00
iwl-1000.c iwlwifi: critical temperature enter/exit condition 2009-07-27 15:24:20 -04:00
iwl-3945-fh.h
iwl-3945-hw.h iwl3945: cleanup number of queues settings 2009-07-24 15:05:10 -04:00
iwl-3945-led.c iwlwifi: fix up command sending 2009-07-27 15:24:21 -04:00
iwl-3945-led.h iwl3945: use iwl_led structure 2009-03-16 18:09:46 -04:00
iwl-3945-rs.c mac80211: add helper for management / no-ack frame rate decision 2009-07-24 15:05:16 -04:00
iwl-3945.c iwlwifi: fix up command sending 2009-07-27 15:24:21 -04:00
iwl-3945.h iwlwifi: fix up command sending 2009-07-27 15:24:21 -04:00
iwl-4965-hw.h iwlwifi: use pci registers defined in pci_regs.h 2009-02-13 13:46:04 -05:00
iwl-4965.c iwlwifi: Thermal Throttling Management - Part 1 2009-07-27 15:24:20 -04:00
iwl-5000-hw.h iwlwifi: Temperature sensor voltage reading for 5150 2009-05-22 14:06:03 -04:00
iwl-5000.c iwlwifi: Thermal Throttling Management - Part 1 2009-07-27 15:24:20 -04:00
iwl-6000-hw.h iwlwifi: add recognition of Intel WiFi Link 6000 and 6050 Series 2009-01-29 16:01:02 -05:00
iwl-6000.c iwlwifi: critical temperature enter/exit condition 2009-07-27 15:24:20 -04:00
iwl-agn-rs.c iwlwifi: Thermal Throttling Management - part 2 2009-07-27 15:24:21 -04:00
iwl-agn-rs.h iwlagn: improve rate scale table search 2009-05-11 15:24:01 -04:00
iwl-agn.c iwlwifi: fix up command sending 2009-07-27 15:24:21 -04:00
iwl-calib.c iwlwifi: fix up command sending 2009-07-27 15:24:21 -04:00
iwl-calib.h
iwl-commands.h iwlwifi: critical temperature enter/exit condition 2009-07-27 15:24:20 -04:00
iwl-core.c iwlwifi: fix up command sending 2009-07-27 15:24:21 -04:00
iwl-core.h iwlwifi: fix up command sending 2009-07-27 15:24:21 -04:00
iwl-csr.h iwlagn: co-exist with AMT 2009-05-22 14:06:09 -04:00
iwl-debug.h iwlwifi: Thermal Throttling debugfs function 2009-07-27 15:24:21 -04:00
iwl-debugfs.c iwlwifi: Thermal Throttling debugfs function 2009-07-27 15:24:21 -04:00
iwl-dev.h iwlwifi: fix up command sending 2009-07-27 15:24:21 -04:00
iwl-eeprom.c iwlwifi: checking unknown HW type 2009-07-24 15:05:24 -04:00
iwl-eeprom.h iwlwifi: support NVM access (EEPROM/OTP) 2009-05-22 14:06:04 -04:00
iwl-fh.h
iwl-hcmd.c iwlwifi: fix up command sending 2009-07-27 15:24:21 -04:00
iwl-helpers.h iwlwifi: change iwl_enable/disable_interrupts to "inline" 2009-07-24 15:05:26 -04:00
iwl-io.h iwlcore: register locks 2009-05-22 14:06:04 -04:00
iwl-led.c iwlwifi: fix up command sending 2009-07-27 15:24:21 -04:00
iwl-led.h iwl3945: use iwl_led structure 2009-03-16 18:09:46 -04:00
iwl-power.c iwlwifi: Thermal Throttling Management - part 2 2009-07-27 15:24:21 -04:00
iwl-power.h iwlwifi: Thermal Throttling Management - part 2 2009-07-27 15:24:21 -04:00
iwl-prph.h iwlagn: modify digital SVR for 1000 2009-07-24 15:05:23 -04:00
iwl-rx.c iwlwifi: make debug level more user friendly 2009-07-24 15:05:25 -04:00
iwl-scan.c iwlwifi: fix up command sending 2009-07-27 15:24:21 -04:00
iwl-spectrum.c iwlwifi: don't use implicit priv in IWL_DEBUG 2009-02-09 15:03:34 -05:00
iwl-spectrum.h
iwl-sta.c iwlwifi: fix up command sending 2009-07-27 15:24:21 -04:00
iwl-sta.h iwlwifi: unify station management 2009-06-04 10:56:20 -04:00
iwl-tx.c iwlwifi: fix up command sending 2009-07-27 15:24:21 -04:00
iwl3945-base.c iwlwifi: fix up command sending 2009-07-27 15:24:21 -04:00