aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-commands.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-commands.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-commands.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-commands.h b/drivers/net/wireless/iwlwifi/iwl-commands.h
index 39ede5727fe4..6188c54113b0 100644
--- a/drivers/net/wireless/iwlwifi/iwl-commands.h
+++ b/drivers/net/wireless/iwlwifi/iwl-commands.h
@@ -283,7 +283,7 @@ struct iwl3945_power_per_rate {
283 * 1) Dual stream (MIMO) 283 * 1) Dual stream (MIMO)
284 * 2) Triple stream (MIMO) 284 * 2) Triple stream (MIMO)
285 * 285 *
286 * 5: Value of 0x20 in bits 7:0 indicates 6 Mbps FAT duplicate data 286 * 5: Value of 0x20 in bits 7:0 indicates 6 Mbps HT40 duplicate data
287 * 287 *
288 * Legacy OFDM rate format for bits 7:0 (bit 8 must be "0", bit 9 "0"): 288 * Legacy OFDM rate format for bits 7:0 (bit 8 must be "0", bit 9 "0"):
289 * 3-0: 0xD) 6 Mbps 289 * 3-0: 0xD) 6 Mbps
@@ -320,11 +320,11 @@ struct iwl3945_power_per_rate {
320#define RATE_MCS_GF_POS 10 320#define RATE_MCS_GF_POS 10
321#define RATE_MCS_GF_MSK 0x400 321#define RATE_MCS_GF_MSK 0x400
322 322
323/* Bit 11: (1) Use 40Mhz FAT chnl width, (0) use 20 MHz legacy chnl width */ 323/* Bit 11: (1) Use 40Mhz HT40 chnl width, (0) use 20 MHz legacy chnl width */
324#define RATE_MCS_FAT_POS 11 324#define RATE_MCS_HT40_POS 11
325#define RATE_MCS_FAT_MSK 0x800 325#define RATE_MCS_HT40_MSK 0x800
326 326
327/* Bit 12: (1) Duplicate data on both 20MHz chnls. FAT (bit 11) must be set. */ 327/* Bit 12: (1) Duplicate data on both 20MHz chnls. HT40 (bit 11) must be set. */
328#define RATE_MCS_DUP_POS 12 328#define RATE_MCS_DUP_POS 12
329#define RATE_MCS_DUP_MSK 0x1000 329#define RATE_MCS_DUP_MSK 0x1000
330 330
@@ -459,7 +459,7 @@ struct iwl_init_alive_resp {
459 459
460 /* calibration values from "initialize" uCode */ 460 /* calibration values from "initialize" uCode */
461 __le32 voltage; /* signed, higher value is lower voltage */ 461 __le32 voltage; /* signed, higher value is lower voltage */
462 __le32 therm_r1[2]; /* signed, 1st for normal, 2nd for FAT channel*/ 462 __le32 therm_r1[2]; /* signed, 1st for normal, 2nd for HT40 */
463 __le32 therm_r2[2]; /* signed */ 463 __le32 therm_r2[2]; /* signed */
464 __le32 therm_r3[2]; /* signed */ 464 __le32 therm_r3[2]; /* signed */
465 __le32 therm_r4[2]; /* signed */ 465 __le32 therm_r4[2]; /* signed */
@@ -610,7 +610,7 @@ enum {
610#define RXON_FLG_HT_OPERATING_MODE_POS (23) 610#define RXON_FLG_HT_OPERATING_MODE_POS (23)
611 611
612#define RXON_FLG_HT_PROT_MSK cpu_to_le32(0x1 << 23) 612#define RXON_FLG_HT_PROT_MSK cpu_to_le32(0x1 << 23)
613#define RXON_FLG_FAT_PROT_MSK cpu_to_le32(0x2 << 23) 613#define RXON_FLG_HT40_PROT_MSK cpu_to_le32(0x2 << 23)
614 614
615#define RXON_FLG_CHANNEL_MODE_POS (25) 615#define RXON_FLG_CHANNEL_MODE_POS (25)
616#define RXON_FLG_CHANNEL_MODE_MSK cpu_to_le32(0x3 << 25) 616#define RXON_FLG_CHANNEL_MODE_MSK cpu_to_le32(0x3 << 25)
@@ -891,7 +891,7 @@ struct iwl_qosparam_cmd {
891#define STA_FLG_AGG_MPDU_8US_MSK cpu_to_le32(1 << 18) 891#define STA_FLG_AGG_MPDU_8US_MSK cpu_to_le32(1 << 18)
892#define STA_FLG_MAX_AGG_SIZE_POS (19) 892#define STA_FLG_MAX_AGG_SIZE_POS (19)
893#define STA_FLG_MAX_AGG_SIZE_MSK cpu_to_le32(3 << 19) 893#define STA_FLG_MAX_AGG_SIZE_MSK cpu_to_le32(3 << 19)
894#define STA_FLG_FAT_EN_MSK cpu_to_le32(1 << 21) 894#define STA_FLG_HT40_EN_MSK cpu_to_le32(1 << 21)
895#define STA_FLG_MIMO_DIS_MSK cpu_to_le32(1 << 22) 895#define STA_FLG_MIMO_DIS_MSK cpu_to_le32(1 << 22)
896#define STA_FLG_AGG_MPDU_DENSITY_POS (23) 896#define STA_FLG_AGG_MPDU_DENSITY_POS (23)
897#define STA_FLG_AGG_MPDU_DENSITY_MSK cpu_to_le32(7 << 23) 897#define STA_FLG_AGG_MPDU_DENSITY_MSK cpu_to_le32(7 << 23)
@@ -1984,10 +1984,10 @@ struct iwl_link_qual_agg_params {
1984 * a) Use this same initial rate for first 3 entries. 1984 * a) Use this same initial rate for first 3 entries.
1985 * b) Find next lower available rate using same mode (SISO or MIMO), 1985 * b) Find next lower available rate using same mode (SISO or MIMO),
1986 * use for next 3 entries. If no lower rate available, switch to 1986 * use for next 3 entries. If no lower rate available, switch to
1987 * legacy mode (no FAT channel, no MIMO, no short guard interval). 1987 * legacy mode (no HT40 channel, no MIMO, no short guard interval).
1988 * c) If using MIMO, set command's mimo_delimiter to number of entries 1988 * c) If using MIMO, set command's mimo_delimiter to number of entries
1989 * using MIMO (3 or 6). 1989 * using MIMO (3 or 6).
1990 * d) After trying 2 HT rates, switch to legacy mode (no FAT channel, 1990 * d) After trying 2 HT rates, switch to legacy mode (no HT40 channel,
1991 * no MIMO, no short guard interval), at the next lower bit rate 1991 * no MIMO, no short guard interval), at the next lower bit rate
1992 * (e.g. if second HT bit rate was 54, try 48 legacy), and follow 1992 * (e.g. if second HT bit rate was 54, try 48 legacy), and follow
1993 * legacy procedure for remaining table entries. 1993 * legacy procedure for remaining table entries.
@@ -3017,7 +3017,7 @@ struct iwl_statistics_cmd {
3017 * one channel that has just been scanned. 3017 * one channel that has just been scanned.
3018 */ 3018 */
3019#define STATISTICS_REPLY_FLG_BAND_24G_MSK cpu_to_le32(0x2) 3019#define STATISTICS_REPLY_FLG_BAND_24G_MSK cpu_to_le32(0x2)
3020#define STATISTICS_REPLY_FLG_FAT_MODE_MSK cpu_to_le32(0x8) 3020#define STATISTICS_REPLY_FLG_HT40_MODE_MSK cpu_to_le32(0x8)
3021 3021
3022struct iwl3945_notif_statistics { 3022struct iwl3945_notif_statistics {
3023 __le32 flag; 3023 __le32 flag;