projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[target/generic]: preliminary 2.6.38 support
[openwrt.git]
/
package
/
mac80211
/
files
/
lib
/
wifi
/
mac80211.sh
diff --git
a/package/mac80211/files/lib/wifi/mac80211.sh
b/package/mac80211/files/lib/wifi/mac80211.sh
index
2bd370b
..
b20785c
100644
(file)
--- a/
package/mac80211/files/lib/wifi/mac80211.sh
+++ b/
package/mac80211/files/lib/wifi/mac80211.sh
@@
-103,15
+103,17
@@
mac80211_hostapd_setup_bss() {
config_get_bool wds "$vif" wds 0
[ "$wds" -gt 0 ] && append hostapd_cfg "wds_sta=1" "$N"
config_get_bool wds "$vif" wds 0
[ "$wds" -gt 0 ] && append hostapd_cfg "wds_sta=1" "$N"
+ local macaddr hidden maxassoc wmm
config_get macaddr "$vif" macaddr
config_get macaddr "$vif" macaddr
+ config_get maxassoc "$vif" maxassoc
config_get_bool hidden "$vif" hidden 0
config_get_bool hidden "$vif" hidden 0
- config_get
max_clients "$vif" max_clients
+ config_get
_bool wmm "$vif" wmm 1
cat >> /var/run/hostapd-$phy.conf <<EOF
$hostapd_cfg
cat >> /var/run/hostapd-$phy.conf <<EOF
$hostapd_cfg
-wmm_enabled=
1
+wmm_enabled=
$wmm
bssid=$macaddr
ignore_broadcast_ssid=$hidden
bssid=$macaddr
ignore_broadcast_ssid=$hidden
-${max
_clients:+max_num_sta=$max_clients
}
+${max
assoc:+max_num_sta=$maxassoc
}
EOF
}
EOF
}
This page took
0.02777 seconds
and
4
git commands to generate.