aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wpa_supplicant.conf
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2012-08-07 10:50:39 (GMT)
committerJouni Malinen <j@w1.fi>2012-08-07 10:50:39 (GMT)
commit5c4b93d72ecf6d1d5b21a60b3e78db3948d0f034 (patch)
tree0ac6ba27d7c29983756e31aed02016057efb0c53 /wpa_supplicant/wpa_supplicant.conf
parent6bc1f95613cc2bedd8849564d30419bff82ed074 (diff)
downloadhostap-5c4b93d72ecf6d1d5b21a60b3e78db3948d0f034.zip
hostap-5c4b93d72ecf6d1d5b21a60b3e78db3948d0f034.tar.gz
hostap-5c4b93d72ecf6d1d5b21a60b3e78db3948d0f034.tar.bz2
Add support for using printf-escaped strings in configuration
P"<escaped string>" can now be used as an alternative method for specifying non-ASCII strings (including control characters). For example, ssid=P"abc\x00test". Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/wpa_supplicant.conf')
-rw-r--r--wpa_supplicant/wpa_supplicant.conf6
1 files changed, 4 insertions, 2 deletions
diff --git a/wpa_supplicant/wpa_supplicant.conf b/wpa_supplicant/wpa_supplicant.conf
index 1154aba..37e36b3 100644
--- a/wpa_supplicant/wpa_supplicant.conf
+++ b/wpa_supplicant/wpa_supplicant.conf
@@ -406,8 +406,10 @@ fast_reauth=1
# to external action script through wpa_cli as WPA_ID_STR environment
# variable to make it easier to do network specific configuration.
#
-# ssid: SSID (mandatory); either as an ASCII string with double quotation or
-# as hex string; network name
+# ssid: SSID (mandatory); network name in one of the optional formats:
+# - an ASCII string with double quotation
+# - a hex string (two characters per octet of SSID)
+# - a printf-escaped ASCII string P"<escaped string>"
#
# scan_ssid:
# 0 = do not scan this SSID with specific Probe Request frames (default)