aboutsummaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorBen Greear <greearb@candelatech.com>2012-01-29 21:01:31 +0200
committerJouni Malinen <j@w1.fi>2012-01-29 21:01:31 +0200
commit80e8a5eef15cbca4e92037e6a92d75bdd0317700 (patch)
tree0d3a58134894a9ebd25b457ea4fbe989474c8be3 /src/common
parent499e7286b0a3ed02beb03bf0e6a4a4d0c5ed3cf9 (diff)
downloadexternal_wpa_supplicant_8_ti-80e8a5eef15cbca4e92037e6a92d75bdd0317700.zip
external_wpa_supplicant_8_ti-80e8a5eef15cbca4e92037e6a92d75bdd0317700.tar.gz
external_wpa_supplicant_8_ti-80e8a5eef15cbca4e92037e6a92d75bdd0317700.tar.bz2
Support HT capability overrides
This allows HT capabilities overrides on kernels that support these features. MCS Rates can be disabled to force to slower speeds when using HT. Rates cannot be forced higher. HT can be disabled, forcing an 802.11a/b/g/n station to act like an 802.11a/b/g station. HT40 can be disabled. MAX A-MSDU can be disabled. A-MPDU Factor and A-MPDU Density can be modified. Please note that these are suggestions to the kernel. Only mac80211 drivers will work at all. The A-MPDU Factor can only be decreased and the A-MPDU Density can only be increased currently. Signed-hostap: Ben Greear <greearb@candelatech.com>
Diffstat (limited to 'src/common')
-rw-r--r--src/common/ieee802_11_defs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/ieee802_11_defs.h b/src/common/ieee802_11_defs.h
index 66801fd..25bc5c6 100644
--- a/src/common/ieee802_11_defs.h
+++ b/src/common/ieee802_11_defs.h
@@ -519,6 +519,9 @@ struct ieee80211_mgmt {
} STRUCT_PACKED;
+/* Rx MCS bitmask is in the first 77 bits of supported_mcs_set */
+#define IEEE80211_HT_MCS_MASK_LEN 10
+
struct ieee80211_ht_capabilities {
le16 ht_capabilities_info;
u8 a_mpdu_params;