OpenWrt Forum Archive

Topic: How to enable WME at boot time

The content of this topic has been archived on 20 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi, Guys,

I can toggle WME mode ON/OFF at run time by using $wl wme 1/0/-1, but as long as I switch up/down my wl0, I will lose my wireless connection to the AP. Don't know how to get connection again other than reboot.

So I'll need to set WME=ON at boot time.
Followed: http://wiki.openwrt.org/oldwiki/wmehowto
But it won't work for me,

The next thing I did is directly set the NVRAM.
$nvram set wl0_wme="on"             ##sure I just assume wl0_wme is same to wl wme 1. (but after reboot, wl0_wme="on", the wl wme still shows -1

What I did wrong, please suggest.

Thanks,

(Last edited by legendbb on 24 Sep 2009, 16:31)

Hi.

Configuration support for wmm/wme has been added recently, see https://dev.openwrt.org/changeset/17676 … roadcom.sh .
You can download the script using the following url: https://dev.openwrt.org/export/17676/tr … roadcom.sh - copy to your router and replace the existing /lib/wifi/broadcom.sh file with it.

After the script was updated, you can add "option wmm 1" to the wifi-iface section in /etc/config/wireless which will enable wme at boot time.

Regards,
JoW

(Last edited by jow on 24 Sep 2009, 16:43)

jow wrote:

After the script was updated, you can add "option wmm 1" to the wifi-iface section in /etc/config/wireless which will enable wme at boot time.

The UCI CLI way:

root@OpenWrt:~# uci set wireless.@wifi-iface[0].wmm=1
root@OpenWrt:~# uci commit wireless
root@OpenWrt:~# reboot

(Last edited by Dogge on 24 Sep 2009, 17:08)

It works, thank you very much for all.

Oh nice! I've been looking for the script.. thanks!

The discussion might have continued from here.