linux/drivers/net/wireless/iwlwifi
Johannes Berg 02bb1bea85 iwlwifi: clarify and clean up chain settings
The chain settings we currently use in iwlwifi are
rather confusing -- and we also go by the wrong
settings entirely under certain circumstances. To
clean it up, create a new variable in the current
HT config -- single_chain_sufficient -- that tells
us whether we need more than one chain. Calculate
that based on the AP and operating mode (no IBSS
HT implemented -- so no need for multiple chains,
for station mode we use the AP's capabilities).

Additionally, since APs always send disabled SM PS
mode, keeping track of their sm_ps mode isn't very
useful -- doubly not so for our _own_ RX config
since that should depend on our, not the AP's, SM
PS mode.

Finally, document that our configuration of the
number of RX chains used is currently wrong when
in powersave (by adding a comment).

All together this removes the two remaining items
in struct iwl_ht_config that were done wrong there.

For the future, the number of RX chains and some
SM PS handshaking needs to be added to mac80211,
which then needs to tell us, and the new variable
current_ht_config.single_chain_sufficient should
also be calculated by mac80211.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: Daniel C Halperin <daniel.c.halperin@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-10-07 16:39:33 -04:00
..
iwl-1000.c iwlwifi: Adjust blink rate to compensate Clock difference 2009-10-07 16:39:32 -04:00
iwl-3945-fh.h
iwl-3945-hw.h iwlwifi: name changed from "fat" to "ht40" 2009-08-14 09:13:46 -04:00
iwl-3945-led.c iwlwifi: remove command callback return value 2009-07-27 15:24:22 -04:00
iwl-3945-led.h
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: Adjust blink rate to compensate Clock difference 2009-10-07 16:39:32 -04:00
iwl-3945.h iwlwifi: fix 3945 ucode info retrieval after failure 2009-09-28 16:55:05 -04:00
iwl-4965-hw.h iwlwifi: name changed from "fat" to "ht40" 2009-08-14 09:13:46 -04:00
iwl-4965.c iwlwifi: Adjust blink rate to compensate Clock difference 2009-10-07 16:39:32 -04:00
iwl-5000-hw.h
iwl-5000.c iwlwifi: Adjust blink rate to compensate Clock difference 2009-10-07 16:39:32 -04:00
iwl-6000-hw.h
iwl-6000.c iwlwifi: Adjust blink rate to compensate Clock difference 2009-10-07 16:39:32 -04:00
iwl-agn-rs.c iwlwifi: clean up ht config naming 2009-10-07 16:39:32 -04:00
iwl-agn-rs.h iwlwifi: remove 60 Mbps from sband bitrates table 2009-08-31 14:42:09 -04:00
iwl-agn.c iwlwifi: fix 3945 ucode info retrieval after failure 2009-09-28 16:55:05 -04:00
iwl-calib.c iwlwifi: separate set_hw_params function for 6000 series 2009-10-07 16:39:32 -04:00
iwl-calib.h
iwl-commands.h iwlwifi: remove duplicated define 2009-08-28 14:40:38 -04:00
iwl-core.c iwlwifi: clarify and clean up chain settings 2009-10-07 16:39:33 -04:00
iwl-core.h iwlwifi: clean up ht config naming 2009-10-07 16:39:32 -04:00
iwl-csr.h iwlwifi: Distinguish power amplifier for 6000 series 2009-08-04 16:44:22 -04:00
iwl-debug.h iwlwifi: show current tx power 2009-08-28 14:40:37 -04:00
iwl-debugfs.c iwlwifi: show NVM version in debugfs 2009-10-07 16:39:33 -04:00
iwl-dev.h iwlwifi: clarify and clean up chain settings 2009-10-07 16:39:33 -04:00
iwl-eeprom.c iwlwifi: read enhanced tx power info from EEPROM image 2009-08-28 14:40:39 -04:00
iwl-eeprom.h iwlwifi: separate nic_config for different NIC 2009-10-07 16:39:31 -04:00
iwl-fh.h
iwl-hcmd.c iwlwifi: Traffic type and counter for debugFs 2009-08-14 09:13:47 -04:00
iwl-helpers.h iwlwifi: change iwl_enable/disable_interrupts to "inline" 2009-07-24 15:05:26 -04:00
iwl-io.h
iwl-led.c iwlwifi: Adjust blink rate to compensate Clock difference 2009-10-07 16:39:32 -04:00
iwl-led.h
iwl-power.c iwlwifi: disable powersave for 4965 2009-09-23 11:35:40 -04:00
iwl-power.h iwlwifi: automatically adjust sleep level 2009-08-14 09:13:50 -04:00
iwl-prph.h iwlagn: modify digital SVR for 1000 2009-07-24 15:05:23 -04:00
iwl-rx.c iwlwifi: reduce noise when skb allocation fails 2009-09-23 11:35:53 -04:00
iwl-scan.c iwlwifi: fix unloading driver while scanning 2009-08-28 14:40:39 -04:00
iwl-spectrum.c
iwl-spectrum.h
iwl-sta.c iwlwifi: do not send sync command while holding spinlock 2009-09-23 11:35:53 -04:00
iwl-sta.h
iwl-tx.c iwlwifi: fix memory leak in command queue handling 2009-09-28 16:55:04 -04:00
iwl3945-base.c iwlwifi: fix 3945 ucode info retrieval after failure 2009-09-28 16:55:05 -04:00
Kconfig iwlwifi: fix LED config option 2009-07-27 15:24:27 -04:00
Makefile