aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ieee80211.h
diff options
context:
space:
mode:
authorEran Harary <eran.harary@intel.com>2014-11-03 13:06:47 -0500
committerJohannes Berg <johannes.berg@intel.com>2014-11-04 03:57:44 -0500
commit0563921abf01a7a38b5f670c3de05dc0b0b8617d (patch)
tree10ea87b2305a3fcf6f407333ec4e59d25b497dd9 /include/linux/ieee80211.h
parentde4fcbadde68e3429cc533c29abf6fbceda4628f (diff)
ieee80211: add "max length of AMPDU" enum for VHT
Maximum length of AMPDU that an STA can receive in VHT. length = 2 ^ (13 + max_ampdu_length_exp) - 1. Signed-off-by: Eran Harary <eran.harary@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/linux/ieee80211.h')
-rw-r--r--include/linux/ieee80211.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h
index 5fab17b382b5..f65b5446d983 100644
--- a/include/linux/ieee80211.h
+++ b/include/linux/ieee80211.h
@@ -1274,7 +1274,7 @@ struct ieee80211_ht_cap {
1274#define IEEE80211_HT_AMPDU_PARM_DENSITY_SHIFT 2 1274#define IEEE80211_HT_AMPDU_PARM_DENSITY_SHIFT 2
1275 1275
1276/* 1276/*
1277 * Maximum length of AMPDU that the STA can receive. 1277 * Maximum length of AMPDU that the STA can receive in high-throughput (HT).
1278 * Length = 2 ^ (13 + max_ampdu_length_exp) - 1 (octets) 1278 * Length = 2 ^ (13 + max_ampdu_length_exp) - 1 (octets)
1279 */ 1279 */
1280enum ieee80211_max_ampdu_length_exp { 1280enum ieee80211_max_ampdu_length_exp {
@@ -1284,6 +1284,21 @@ enum ieee80211_max_ampdu_length_exp {
1284 IEEE80211_HT_MAX_AMPDU_64K = 3 1284 IEEE80211_HT_MAX_AMPDU_64K = 3
1285}; 1285};
1286 1286
1287/*
1288 * Maximum length of AMPDU that the STA can receive in VHT.
1289 * Length = 2 ^ (13 + max_ampdu_length_exp) - 1 (octets)
1290 */
1291enum ieee80211_vht_max_ampdu_length_exp {
1292 IEEE80211_VHT_MAX_AMPDU_8K = 0,
1293 IEEE80211_VHT_MAX_AMPDU_16K = 1,
1294 IEEE80211_VHT_MAX_AMPDU_32K = 2,
1295 IEEE80211_VHT_MAX_AMPDU_64K = 3,
1296 IEEE80211_VHT_MAX_AMPDU_128K = 4,
1297 IEEE80211_VHT_MAX_AMPDU_256K = 5,
1298 IEEE80211_VHT_MAX_AMPDU_512K = 6,
1299 IEEE80211_VHT_MAX_AMPDU_1024K = 7
1300};
1301
1287#define IEEE80211_HT_MAX_AMPDU_FACTOR 13 1302#define IEEE80211_HT_MAX_AMPDU_FACTOR 13
1288 1303
1289/* Minimum MPDU start spacing */ 1304/* Minimum MPDU start spacing */