diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-dev.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-dev.h | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h index 2e97cd2fa98a..1ad330342ffc 100644 --- a/drivers/net/wireless/iwlwifi/iwl-dev.h +++ b/drivers/net/wireless/iwlwifi/iwl-dev.h | |||
@@ -47,6 +47,7 @@ | |||
47 | #include "iwl-led.h" | 47 | #include "iwl-led.h" |
48 | #include "iwl-power.h" | 48 | #include "iwl-power.h" |
49 | #include "iwl-agn-rs.h" | 49 | #include "iwl-agn-rs.h" |
50 | #include "iwl-agn-tt.h" | ||
50 | 51 | ||
51 | struct iwl_tx_queue; | 52 | struct iwl_tx_queue; |
52 | 53 | ||
@@ -420,7 +421,7 @@ struct iwl_tid_data { | |||
420 | }; | 421 | }; |
421 | 422 | ||
422 | struct iwl_hw_key { | 423 | struct iwl_hw_key { |
423 | enum ieee80211_key_alg alg; | 424 | u32 cipher; |
424 | int keylen; | 425 | int keylen; |
425 | u8 keyidx; | 426 | u8 keyidx; |
426 | u8 key[32]; | 427 | u8 key[32]; |
@@ -434,7 +435,13 @@ union iwl_ht_rate_supp { | |||
434 | }; | 435 | }; |
435 | }; | 436 | }; |
436 | 437 | ||
437 | #define CFG_HT_RX_AMPDU_FACTOR_DEF (0x3) | 438 | #define CFG_HT_RX_AMPDU_FACTOR_8K (0x0) |
439 | #define CFG_HT_RX_AMPDU_FACTOR_16K (0x1) | ||
440 | #define CFG_HT_RX_AMPDU_FACTOR_32K (0x2) | ||
441 | #define CFG_HT_RX_AMPDU_FACTOR_64K (0x3) | ||
442 | #define CFG_HT_RX_AMPDU_FACTOR_DEF CFG_HT_RX_AMPDU_FACTOR_64K | ||
443 | #define CFG_HT_RX_AMPDU_FACTOR_MAX CFG_HT_RX_AMPDU_FACTOR_64K | ||
444 | #define CFG_HT_RX_AMPDU_FACTOR_MIN CFG_HT_RX_AMPDU_FACTOR_8K | ||
438 | 445 | ||
439 | /* | 446 | /* |
440 | * Maximal MPDU density for TX aggregation | 447 | * Maximal MPDU density for TX aggregation |
@@ -443,8 +450,13 @@ union iwl_ht_rate_supp { | |||
443 | * 6 - 8us density | 450 | * 6 - 8us density |
444 | * 7 - 16us density | 451 | * 7 - 16us density |
445 | */ | 452 | */ |
453 | #define CFG_HT_MPDU_DENSITY_2USEC (0x4) | ||
446 | #define CFG_HT_MPDU_DENSITY_4USEC (0x5) | 454 | #define CFG_HT_MPDU_DENSITY_4USEC (0x5) |
455 | #define CFG_HT_MPDU_DENSITY_8USEC (0x6) | ||
456 | #define CFG_HT_MPDU_DENSITY_16USEC (0x7) | ||
447 | #define CFG_HT_MPDU_DENSITY_DEF CFG_HT_MPDU_DENSITY_4USEC | 457 | #define CFG_HT_MPDU_DENSITY_DEF CFG_HT_MPDU_DENSITY_4USEC |
458 | #define CFG_HT_MPDU_DENSITY_MAX CFG_HT_MPDU_DENSITY_16USEC | ||
459 | #define CFG_HT_MPDU_DENSITY_MIN (0x1) | ||
448 | 460 | ||
449 | struct iwl_ht_config { | 461 | struct iwl_ht_config { |
450 | /* self configuration data */ | 462 | /* self configuration data */ |
@@ -1052,7 +1064,6 @@ struct iwl_event_log { | |||
1052 | #define IWL_DEF_MONITORING_PERIOD (1000) | 1064 | #define IWL_DEF_MONITORING_PERIOD (1000) |
1053 | #define IWL_LONG_MONITORING_PERIOD (5000) | 1065 | #define IWL_LONG_MONITORING_PERIOD (5000) |
1054 | #define IWL_ONE_HUNDRED_MSECS (100) | 1066 | #define IWL_ONE_HUNDRED_MSECS (100) |
1055 | #define IWL_SIXTY_SECS (60000) | ||
1056 | 1067 | ||
1057 | enum iwl_reset { | 1068 | enum iwl_reset { |
1058 | IWL_RF_RESET = 0, | 1069 | IWL_RF_RESET = 0, |
@@ -1110,6 +1121,9 @@ struct iwl_priv { | |||
1110 | u32 ucode_beacon_time; | 1121 | u32 ucode_beacon_time; |
1111 | int missed_beacon_threshold; | 1122 | int missed_beacon_threshold; |
1112 | 1123 | ||
1124 | /* track IBSS manager (last beacon) status */ | ||
1125 | u32 ibss_manager; | ||
1126 | |||
1113 | /* storing the jiffies when the plcp error rate is received */ | 1127 | /* storing the jiffies when the plcp error rate is received */ |
1114 | unsigned long plcp_jiffies; | 1128 | unsigned long plcp_jiffies; |
1115 | 1129 | ||