mirror of https://github.com/hak5/openwrt.git
hostapd: do not configure wme when using madwifi - fixes wpa/wpa2 association problems
SVN-Revision: 18051lede-17.01
parent
2c040be231
commit
6e9ada01c0
|
@ -107,6 +107,12 @@ ${ht_capab:+ht_capab=$ht_capab}
|
||||||
${wpa_group_rekey:+wpa_group_rekey=$wpa_group_rekey}
|
${wpa_group_rekey:+wpa_group_rekey=$wpa_group_rekey}
|
||||||
${ieee80211d:+ieee80211d=$ieee80211d}
|
${ieee80211d:+ieee80211d=$ieee80211d}
|
||||||
$hostapd_cfg
|
$hostapd_cfg
|
||||||
|
EOF
|
||||||
|
case "$driver" in
|
||||||
|
madwifi)
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
cat >> /var/run/hostapd-$ifname.conf <<EOF
|
||||||
wme_enabled=1
|
wme_enabled=1
|
||||||
wme_ac_bk_cwmin=4
|
wme_ac_bk_cwmin=4
|
||||||
wme_ac_bk_cwmax=10
|
wme_ac_bk_cwmax=10
|
||||||
|
@ -145,6 +151,8 @@ tx_queue_data0_cwmin=3
|
||||||
tx_queue_data0_cwmax=7
|
tx_queue_data0_cwmax=7
|
||||||
tx_queue_data0_burst=1.5
|
tx_queue_data0_burst=1.5
|
||||||
EOF
|
EOF
|
||||||
|
;;
|
||||||
|
esac
|
||||||
hostapd -P /var/run/wifi-$ifname.pid -B /var/run/hostapd-$ifname.conf
|
hostapd -P /var/run/wifi-$ifname.pid -B /var/run/hostapd-$ifname.conf
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue