mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-27 16:01:05 +02:00
mac80211: fix hostapd wmm setting for multiple bss interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19264 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
9b205741b6
commit
5c2c8ca467
@ -32,7 +32,6 @@ mac80211_hostapd_setup_base() {
|
|||||||
cat > "$cfgfile" <<EOF
|
cat > "$cfgfile" <<EOF
|
||||||
ctrl_interface=/var/run/hostapd-$phy
|
ctrl_interface=/var/run/hostapd-$phy
|
||||||
driver=nl80211
|
driver=nl80211
|
||||||
wmm_enabled=1
|
|
||||||
wmm_ac_bk_cwmin=4
|
wmm_ac_bk_cwmin=4
|
||||||
wmm_ac_bk_cwmax=10
|
wmm_ac_bk_cwmax=10
|
||||||
wmm_ac_bk_aifs=7
|
wmm_ac_bk_aifs=7
|
||||||
@ -106,6 +105,7 @@ mac80211_hostapd_setup_bss() {
|
|||||||
config_get_bool hidden "$vif" hidden 0
|
config_get_bool hidden "$vif" hidden 0
|
||||||
cat >> /var/run/hostapd-$phy.conf <<EOF
|
cat >> /var/run/hostapd-$phy.conf <<EOF
|
||||||
$hostapd_cfg
|
$hostapd_cfg
|
||||||
|
wmm_enabled=1
|
||||||
bssid=$macaddr
|
bssid=$macaddr
|
||||||
ignore_broadcast_ssid=$hidden
|
ignore_broadcast_ssid=$hidden
|
||||||
EOF
|
EOF
|
||||||
|
Loading…
x
Reference in New Issue
Block a user