aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config_ssid.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-03-10 16:04:39 (GMT)
committerJouni Malinen <j@w1.fi>2013-03-10 16:04:39 (GMT)
commite9ee8dc394725adf83fdd44050e15db953554335 (patch)
treeb5768f0b6cc2d431ad7dd7d8cd08c05c90da6247 /wpa_supplicant/config_ssid.h
parenteae3a584f5fde638e593e673cc4fda84d32689d0 (diff)
downloadhostap-e9ee8dc394725adf83fdd44050e15db953554335.zip
hostap-e9ee8dc394725adf83fdd44050e15db953554335.tar.gz
hostap-e9ee8dc394725adf83fdd44050e15db953554335.tar.bz2
wpa_supplicant: Support VHT capability overrides
Add support for VHT capability overrides to allow testing connections with a subset of the VHT capabilities that are actually supported by the device. The only thing that isn't currently supported (by mac80211 and this code) is the RX/TX highest rate field. Signed-hostap: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'wpa_supplicant/config_ssid.h')
-rw-r--r--wpa_supplicant/config_ssid.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/wpa_supplicant/config_ssid.h b/wpa_supplicant/config_ssid.h
index 8cab88f..1340dce 100644
--- a/wpa_supplicant/config_ssid.h
+++ b/wpa_supplicant/config_ssid.h
@@ -534,6 +534,35 @@ struct wpa_ssid {
char *ht_mcs;
#endif /* CONFIG_HT_OVERRIDES */
+#ifdef CONFIG_VHT_OVERRIDES
+ /**
+ * disable_vht - Disable VHT (IEEE 802.11ac) for this network
+ *
+ * By default, use it if it is available, but this can be configured
+ * to 1 to have it disabled.
+ */
+ int disable_vht;
+
+ /**
+ * vht_capa - VHT capabilities to use
+ */
+ unsigned int vht_capa;
+
+ /**
+ * vht_capa_mask - mask for VHT capabilities
+ */
+ unsigned int vht_capa_mask;
+
+ int vht_rx_mcs_nss_1, vht_rx_mcs_nss_2,
+ vht_rx_mcs_nss_3, vht_rx_mcs_nss_4,
+ vht_rx_mcs_nss_5, vht_rx_mcs_nss_6,
+ vht_rx_mcs_nss_7, vht_rx_mcs_nss_8;
+ int vht_tx_mcs_nss_1, vht_tx_mcs_nss_2,
+ vht_tx_mcs_nss_3, vht_tx_mcs_nss_4,
+ vht_tx_mcs_nss_5, vht_tx_mcs_nss_6,
+ vht_tx_mcs_nss_7, vht_tx_mcs_nss_8;
+#endif /* CONFIG_VHT_OVERRIDES */
+
/**
* ap_max_inactivity - Timeout in seconds to detect STA's inactivity
*