aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config_ssid.h
diff options
context:
space:
mode:
authorBen Greear <greearb@candelatech.com>2012-12-18 12:44:15 (GMT)
committerJouni Malinen <j@w1.fi>2012-12-18 12:45:09 (GMT)
commita90497f85f6820ec58ab1aefc9247ad38b9d83e9 (patch)
tree68f713d6c99f85411e5c4f2758601039dc066874 /wpa_supplicant/config_ssid.h
parent7829894c21042a23e834659fbfd42ad8de74d5be (diff)
downloadhostap-a90497f85f6820ec58ab1aefc9247ad38b9d83e9.zip
hostap-a90497f85f6820ec58ab1aefc9247ad38b9d83e9.tar.gz
hostap-a90497f85f6820ec58ab1aefc9247ad38b9d83e9.tar.bz2
wpa_supplicant: Allow user to disable short guard interval (SGI)
Requires Linux kernel patch to make the SGI-20 properly disabled. SGI-40 will already work since Linux 3.4 or so. Signed-hostap: Ben Greear <greearb@candelatech.com> Signed-off-by: Ben Greear <greearb@candelatech.com>
Diffstat (limited to 'wpa_supplicant/config_ssid.h')
-rw-r--r--wpa_supplicant/config_ssid.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/wpa_supplicant/config_ssid.h b/wpa_supplicant/config_ssid.h
index a9a477a..9ac67c7 100644
--- a/wpa_supplicant/config_ssid.h
+++ b/wpa_supplicant/config_ssid.h
@@ -28,6 +28,7 @@
#define DEFAULT_BG_SCAN_PERIOD -1
#define DEFAULT_DISABLE_HT 0
#define DEFAULT_DISABLE_HT40 0
+#define DEFAULT_DISABLE_SGI 0
#define DEFAULT_DISABLE_MAX_AMSDU -1 /* no change */
#define DEFAULT_AMPDU_FACTOR -1 /* no change */
#define DEFAULT_AMPDU_DENSITY -1 /* no change */
@@ -495,6 +496,14 @@ struct wpa_ssid {
int disable_ht40;
/**
+ * disable_sgi - Disable SGI (Short Guard Interval) for this network
+ *
+ * By default, use it if it is available, but this can be configured
+ * to 1 to have it disabled.
+ */
+ int disable_sgi;
+
+ /**
* disable_max_amsdu - Disable MAX A-MSDU
*
* A-MDSU will be 3839 bytes when disabled, or 7935