On 2014-03-04 18:20, Ben West wrote: > To follow up, here it seems that setting the basic_rate option in > /etc/config/wireless under AA r39154 has no effect on the rate mask, at > least when queried via > /sys/kernel/debug/ieee80211/phy0/netdev:wlan0/rc_rateidx_mask_2ghz > > As a work-around, I'm using this hotplug script in /etc/hotplug.d/iface > to disable the slower legacy 2.4GHz rates: > > #!/bin/sh > > . /lib/functions.sh > . /lib/functions/network.sh > > # Disable legacy 2.4GHz low bitrates > if [ ifup = "$ACTION" ]; then > case "$DEVICE" in > wlan*) > logger setting bitrate for device "$DEVICE" on interface > "$INTERFACE" > iw "$DEVICE" set bitrates legacy-2.4 6 9 11 12 18 24 36 48 54 > ;; > br-*) > #Bridged interfage, check if any wifi interface is member > for i in $(ls /sys/class/net/$DEVICE/brif); do > case "$i" in > wlan*) > logger setting bitrate for device "$i" on > interface "$INTERFACE" > iw "$i" set bitrates legacy-2.4 6 9 11 12 18 24 > 36 48 54 > ;; > esac > done > ;; > esac > fi > > Should values specified as basic_rate appear in the wifi interface's > rate mask? No, the set of basic rates is different from the set of supported (or used) rates - basic rates are considered mandatory, but do not describe the entire rate set. Feel free to send a patch to allow configuring supported rates.
- Felix _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel