linux/drivers/net/wireless/iwlwifi
Daniel C Halperin 31513be8a0 iwlwifi: use iwl_hwrate_get_mac80211_idx where appropriate
For HT packets, mac80211 expects the rate_idx to be an MCS number, which is the
lower byte of rate_n_flags.  However, iwl_hwrate_to_plcp_idx takes the MCS
number and reduces it down to the range 0-8 (6 to 60 Mbps), removing the bits
that signify multiply streams, HT40 Duplicate mode, or unequal modulation.
This version is used for various internal purposes through the driver.

Add the function iwl_hwrate_get_mac80211_idx, an alternate version which takes
the rate and the band and returns the mac80211 index (MCS, for HT packets, and
PLCP rate, for legacy packets).

Signed-off-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-08-31 14:42:10 -04:00
..
iwl3945-base.c iwlwifi: Make injection of non-broadcast frames work again 2009-08-28 14:40:36 -04:00
iwl-1000.c iwlwifi: use station HT capabilities and BSS operating mode for Green-field 2009-08-20 11:33:12 -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: fix erroneous use of iwl_rx_packet.len as a length 2009-08-20 11:33:13 -04:00
iwl-3945.h iwlwifi: fix up command sending 2009-07-27 15:24:21 -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: use station HT capabilities and BSS operating mode for Green-field 2009-08-20 11:33:12 -04:00
iwl-5000-hw.h
iwl-5000.c iwlwifi: fix erroneous use of iwl_rx_packet.len as a length 2009-08-20 11:33:13 -04:00
iwl-6000-hw.h
iwl-6000.c iwlwifi: read enhanced tx power info from EEPROM image 2009-08-28 14:40:39 -04:00
iwl-agn-rs.c iwlwifi: use iwl_hwrate_get_mac80211_idx where appropriate 2009-08-31 14:42:10 -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 unloading driver while scanning 2009-08-28 14:40:39 -04:00
iwl-calib.c iwlwifi: automatically adjust sleep level 2009-08-14 09:13:50 -04:00
iwl-calib.h
iwl-commands.h iwlwifi: remove duplicated define 2009-08-28 14:40:38 -04:00
iwl-core.c iwlwifi: use iwl_hwrate_get_mac80211_idx where appropriate 2009-08-31 14:42:10 -04:00
iwl-core.h iwlwifi: use iwl_hwrate_get_mac80211_idx where appropriate 2009-08-31 14:42:10 -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 current tx power 2009-08-28 14:40:37 -04:00
iwl-dev.h iwlwifi: fix ICT irq table endianness 2009-08-28 14:40:53 -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: read enhanced tx power info from EEPROM image 2009-08-28 14:40:39 -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: Traffic type and counter for debugFs 2009-08-14 09:13:47 -04:00
iwl-led.h
iwl-power.c iwlwifi: automatically adjust sleep level 2009-08-14 09:13:50 -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: use iwl_hwrate_get_mac80211_idx where appropriate 2009-08-31 14:42:10 -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: fix remove key error 2009-08-28 14:40:39 -04:00
iwl-sta.h
iwl-tx.c iwlwifi: remove incorrect uses of ieee80211_get_tx_rate to prevent TX stall 2009-08-31 14:42:09 -04:00
Kconfig iwlwifi: fix LED config option 2009-07-27 15:24:27 -04:00
Makefile