diff options
author | 2009-04-08 11:39:27 -0700 | |
---|---|---|
committer | 2009-04-22 16:54:43 -0400 | |
commit | 12b9681721adb34b7ec42aa973ab96692998153d (patch) | |
tree | f6394952e423ea0c953b823410e89d57eb22ee83 /drivers/net/wireless/iwlwifi/iwl-agn-rs.h | |
parent | iwl3945: use iwl_mac_reset_tsf from iwlwifi (diff) | |
download | linux-12b9681721adb34b7ec42aa973ab96692998153d.tar.gz linux-12b9681721adb34b7ec42aa973ab96692998153d.tar.bz2 linux-12b9681721adb34b7ec42aa973ab96692998153d.zip |
iwlwifi: Display decoded rate/mcs information
This patch adding MCS information in rate_scale_table, it help for
debugging rate scaling algorithm, easy to understand what is the current
rate scale table and matching modulation, plus the last mcs used for tx.
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn-rs.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn-rs.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-rs.h b/drivers/net/wireless/iwlwifi/iwl-agn-rs.h index 9cd90ba5ef95..f875136bc5dc 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-rs.h +++ b/drivers/net/wireless/iwlwifi/iwl-agn-rs.h @@ -325,6 +325,13 @@ enum iwl_table_type { #define ANT_BC (ANT_B | ANT_C) #define ANT_ABC (ANT_AB | ANT_C) +#define IWL_MAX_MCS_DISPLAY_SIZE 12 + +struct iwl_rate_mcs_info { + char mbps[IWL_MAX_MCS_DISPLAY_SIZE]; + char mcs[IWL_MAX_MCS_DISPLAY_SIZE]; +}; + static inline u8 num_of_ant(u8 mask) { return !!((mask) & ANT_A) + |