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? On Wed, Feb 26, 2014 at 3:59 PM, Ben West <b...@gowasabi.net> wrote: > I'm curious about the correct use of basic_rate parameter in > /etc/config/wireless for 802.11n operation on ath9k. Specifically, I'm > looking for the ability to disable low bitrates (e.g. 1Mbit/s) to conserve > airtime. > > http://wiki.openwrt.org/doc/uci/wireless#common.options1 > > Searching the forum yields usage like this, but that appears to be for > 802.11g operation: > > > option basic_rate '1000 2000 5500 11000' > > > Does the basic_rate list have to be populated for all values from 2000 to > 300000, i.e. when using HT40 modes, to exclude 1Mbit/s? > > Thank you. > > -- > Ben West > http://gowasabi.net > b...@gowasabi.net > 314-246-9434 > -- Ben West http://gowasabi.net b...@gowasabi.net 314-246-9434
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel