Skip to content
Snippets Groups Projects
Commit b66f0401 authored by Fabian Blaese's avatar Fabian Blaese Committed by Adrian Schmutzler
Browse files

Disable 802.11b rates using OpenWRT option


Instead of manually overwriting basic and supported rates,
this patch makes use of a new OpenWRT option "legacy_rates",
which disables 802.11b data rates.

Signed-off-by: default avatarFabian Bläse <fabian@blaese.de>
Reviewed-by: default avatarChristian Dresel <fff@chrisi01.de>
parent ef000549
No related branches found
No related tags found
No related merge requests found
...@@ -57,8 +57,7 @@ wifiAddPhy() { ...@@ -57,8 +57,7 @@ wifiAddPhy() {
__EOF__ __EOF__
if [ "$hwmode" = "11g" ]; then if [ "$hwmode" = "11g" ]; then
uci batch <<-__EOF__ uci batch <<-__EOF__
set wireless.${radio}.supported_rates='6000 9000 12000 18000 24000 36000 48000 54000' set wireless.${radio}.legacy_rates='0'
set wireless.${radio}.basic_rate='6000 9000 18000 36000 54000'
__EOF__ __EOF__
fi fi
uci commit wireless uci commit wireless
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment