aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config_ssid.h
diff options
context:
space:
mode:
authorPawel Kulakowski <pawel.kulakowski@tieto.com>2014-04-01 05:16:00 (GMT)
committerJouni Malinen <j@w1.fi>2014-04-01 08:20:48 (GMT)
commit39a5800f7c2a9de743c673a78929ac46a099b1a4 (patch)
tree4a4b17c7bbfe4a8b93e04358c921b1e8f54524e9 /wpa_supplicant/config_ssid.h
parent72300408d4890be12517e9c3ebd5129a2d212fcd (diff)
downloadhostap-39a5800f7c2a9de743c673a78929ac46a099b1a4.zip
hostap-39a5800f7c2a9de743c673a78929ac46a099b1a4.tar.gz
hostap-39a5800f7c2a9de743c673a78929ac46a099b1a4.tar.bz2
wpa_supplicant: Allow disabling LDPC
Allows user to disable LDPC coding. This possibility is useful for testing purpose. Signed-off-by: Pawel Kulakowski <pawel.kulakowski@tieto.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 d515030..71829ef 100644
--- a/wpa_supplicant/config_ssid.h
+++ b/wpa_supplicant/config_ssid.h
@@ -30,6 +30,7 @@
#define DEFAULT_DISABLE_HT 0
#define DEFAULT_DISABLE_HT40 0
#define DEFAULT_DISABLE_SGI 0
+#define DEFAULT_DISABLE_LDPC 0
#define DEFAULT_DISABLE_MAX_AMSDU -1 /* no change */
#define DEFAULT_AMPDU_FACTOR -1 /* no change */
#define DEFAULT_AMPDU_DENSITY -1 /* no change */
@@ -525,6 +526,14 @@ struct wpa_ssid {
int disable_sgi;
/**
+ * disable_ldpc - Disable LDPC for this network
+ *
+ * By default, use it if it is available, but this can be configured
+ * to 1 to have it disabled.
+ */
+ int disable_ldpc;
+
+ /**
* disable_max_amsdu - Disable MAX A-MSDU
*
* A-MDSU will be 3839 bytes when disabled, or 7935