X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/d3117c4dc3bce2fcbe17c4edb94a90b412ace25f..e9ded9eef53effd2804a16f0fa04c18f031fcbdb:/docs/wireless.tex?ds=sidebyside

diff --git a/docs/wireless.tex b/docs/wireless.tex
index de764a312..d6a71e28a 100644
--- a/docs/wireless.tex
+++ b/docs/wireless.tex
@@ -140,6 +140,14 @@ config wifi-iface
 	\item \texttt{mode} \\
 		The frequency band (\texttt{b}, \texttt{g}, \texttt{bg}, \texttt{a}). This feature is only supported on the atheros chipset.
 
+    \item \texttt{diversity} \\
+	Optional: Enable diversity for the Wi-Fi device. This feature is supported only on the atheros chipset.
+
+    \item \texttt{rxanteanna} \\
+	Optional: Antenna identifier (0, 1 or 2) for reception. This feature is supported only on the atheros chipset.
+
+    \item \texttt{txanteanna} \\
+	Optional: Antenna identifier (0, 1 or 2) for emission. This feature is supported only on the atheros chipset.
 
 \end{itemize}
 
@@ -272,6 +280,39 @@ config wifi-iface
     option key      "<psk for WDS>"
 \end{Verbatim}
 
+\paragraph{802.1x configurations}
+
+OpenWrt supports both 802.1x client and Access Point
+configurations. 802.1x client is only working with
+Atheros or mac80211 drivers. Configuration only
+supports EAP types TLS, TTLS or PEAP.
+
+\subparagraph{EAP-TLS}
+
+\begin{Verbatim}
+config wifi-iface
+    option device         "ath0"
+    option network        lan
+    option ssid           OpenWrt
+    option eap_type       tls
+    option ca_cert        "/etc/config/certs/ca.crt"
+    option priv_key       "/etc/config/certs/priv.crt"
+    option priv_key_pwd   "PKCS#12 passphrase"
+\end{Verbatim}
+
+\subparagraph{EAP-PEAP}
+
+\begin{Verbatim}
+config wifi-iface
+    option device         "ath0"
+    option network        lan
+    option ssid           OpenWrt
+    option eap_type       peap
+    option ca_cert        "/etc/config/certs/ca.crt"
+    option auth           MSCHAPV2
+    option identity       username
+    option password       password
+\end{Verbatim}
 
 \paragraph{Limitations:}
 
