diff options
author | Ben Cahill <ben.m.cahill@intel.com> | 2007-11-28 22:09:50 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:05:19 -0500 |
commit | abceddb40728397fcfd0b295d7530920a606ab88 (patch) | |
tree | 0e5eb6083eca0c13f067d43330d03b3f2961c505 /drivers/net/wireless/iwlwifi/iwl-4965.h | |
parent | bc47279f558e7e9ea70dad1d484d2816ec239bb0 (diff) |
iwlwifi: Document 4965 rate_n_flags bits
Document 4965 rate_n_flags bits
Signed-off-by: Ben Cahill <ben.m.cahill@intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-4965.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-4965.h | 30 |
1 files changed, 7 insertions, 23 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.h b/drivers/net/wireless/iwlwifi/iwl-4965.h index 30001482c485..af3497442a4b 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965.h +++ b/drivers/net/wireless/iwlwifi/iwl-4965.h | |||
@@ -883,6 +883,11 @@ struct iwl4965_traffic_load { | |||
883 | }; | 883 | }; |
884 | 884 | ||
885 | #ifdef CONFIG_IWL4965_HT_AGG | 885 | #ifdef CONFIG_IWL4965_HT_AGG |
886 | /** | ||
887 | * struct iwl4965_agg_control | ||
888 | * @requested_ba: bit map of tids requesting aggregation/block-ack | ||
889 | * @granted_ba: bit map of tids granted aggregation/block-ack | ||
890 | */ | ||
886 | struct iwl4965_agg_control { | 891 | struct iwl4965_agg_control { |
887 | unsigned long next_retry; | 892 | unsigned long next_retry; |
888 | u32 wait_for_agg_status; | 893 | u32 wait_for_agg_status; |
@@ -1054,29 +1059,8 @@ struct iwl4965_chain_noise_data { | |||
1054 | u8 radio_write; | 1059 | u8 radio_write; |
1055 | }; | 1060 | }; |
1056 | 1061 | ||
1057 | /* IWL4965 */ | 1062 | #define EEPROM_SEM_TIMEOUT 10 /* milliseconds */ |
1058 | #define RATE_MCS_CODE_MSK 0x7 | 1063 | #define EEPROM_SEM_RETRY_LIMIT 1000 /* number of attempts (not time) */ |
1059 | #define RATE_MCS_MIMO_POS 3 | ||
1060 | #define RATE_MCS_MIMO_MSK 0x8 | ||
1061 | #define RATE_MCS_HT_DUP_POS 5 | ||
1062 | #define RATE_MCS_HT_DUP_MSK 0x20 | ||
1063 | #define RATE_MCS_FLAGS_POS 8 | ||
1064 | #define RATE_MCS_HT_POS 8 | ||
1065 | #define RATE_MCS_HT_MSK 0x100 | ||
1066 | #define RATE_MCS_CCK_POS 9 | ||
1067 | #define RATE_MCS_CCK_MSK 0x200 | ||
1068 | #define RATE_MCS_GF_POS 10 | ||
1069 | #define RATE_MCS_GF_MSK 0x400 | ||
1070 | |||
1071 | #define RATE_MCS_FAT_POS 11 | ||
1072 | #define RATE_MCS_FAT_MSK 0x800 | ||
1073 | #define RATE_MCS_DUP_POS 12 | ||
1074 | #define RATE_MCS_DUP_MSK 0x1000 | ||
1075 | #define RATE_MCS_SGI_POS 13 | ||
1076 | #define RATE_MCS_SGI_MSK 0x2000 | ||
1077 | |||
1078 | #define EEPROM_SEM_TIMEOUT 10 | ||
1079 | #define EEPROM_SEM_RETRY_LIMIT 1000 | ||
1080 | 1064 | ||
1081 | 1065 | ||
1082 | #ifdef CONFIG_IWL4965_SPECTRUM_MEASUREMENT | 1066 | #ifdef CONFIG_IWL4965_SPECTRUM_MEASUREMENT |