1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-05 00:42:02 +03:00

[package] [docs] implement doth (802.11h) and wmm (802.11e) options for broadcom as well; update docs

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17676 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2009-09-22 16:17:05 +00:00
parent 4ad5e7f41d
commit 2c756a3dcc
2 changed files with 19 additions and 3 deletions

View File

@ -121,6 +121,8 @@ config wifi-iface
option port port option port port
option hidden 0,1 option hidden 0,1
option isolate 0,1 (broadcom) option isolate 0,1 (broadcom)
option doth 0,1 (atheros, broadcom)
option wmm 0,1 (atheros, broadcom)
\end{Verbatim} \end{Verbatim}
\paragraph{Options for the \texttt{wifi-device}:} \paragraph{Options for the \texttt{wifi-device}:}
@ -230,6 +232,14 @@ config wifi-iface
Optional: Isolation is a mode usually set on hotspots that limits the clients to communicate only with the AP and not with other wireless clients. Optional: Isolation is a mode usually set on hotspots that limits the clients to communicate only with the AP and not with other wireless clients.
0 disables ap isolation (default); 1 enables ap isolation. 0 disables ap isolation (default); 1 enables ap isolation.
\item \texttt{doth} \\
Optional: Toggle 802.11h mode.
0 disables 802.11h (default); 1 enables it.
\item \texttt{wmm} \\
Optional: Toggle 802.11e mode.
0 disables 802.11e (default); 1 enables it.
\end{itemize} \end{itemize}
\paragraph{Mesh Point} \paragraph{Mesh Point}

View File

@ -125,6 +125,8 @@ enable_broadcom() {
config_get macaddr "$device" macaddr config_get macaddr "$device" macaddr
config_get txpower "$device" txpower config_get txpower "$device" txpower
local vif_pre_up vif_post_up vif_do_up vif_txpower local vif_pre_up vif_post_up vif_do_up vif_txpower
local doth=0
local wmm=0
_c=0 _c=0
nas="$(which nas)" nas="$(which nas)"
@ -160,6 +162,9 @@ enable_broadcom() {
append vif_post_up "vif $_c" "$N" append vif_post_up "vif $_c" "$N"
append vif_do_up "vif $_c" "$N" append vif_do_up "vif $_c" "$N"
config_get_bool wmm "$vif" wmm "$wmm"
config_get_bool doth "$vif" doth "$doth"
[ "$mode" = "sta" ] || { [ "$mode" = "sta" ] || {
config_get_bool hidden "$vif" hidden 0 config_get_bool hidden "$vif" hidden 0
append vif_pre_up "closed $hidden" "$N" append vif_pre_up "closed $hidden" "$N"
@ -282,7 +287,8 @@ ${mssid:+mssid $mssid}
infra $infra infra $infra
${wet:+wet 1} ${wet:+wet 1}
802.11d 0 802.11d 0
802.11h 0 802.11h ${doth:-0}
wme ${wmm:-0}
rxant ${rxantenna:-3} rxant ${rxantenna:-3}
txant ${txantenna:-3} txant ${txantenna:-3}
monitor ${monitor:-0} monitor ${monitor:-0}