On Wed, Jan 27, 2010 at 6:17 AM, Joerg Pommnitz <pommnitz@xxxxxxxxx> wrote: > Hello all, > some time ago I reported that it is currently impossible to change a manually selected data rate back to the automatic rate selection. This bug is still present and is easy to reproduce: > > iwconfig wlan0 rate 54M > iwconfig wlan0 rate auto > > I know that the wireless extensions are deprecated, but until iw supports manual rate selection, iwconfig is what I have to use. Review the patch: Author: Jouni Malinen <jouni.malinen@xxxxxxxxxxx> Date: Tue Dec 29 12:59:45 2009 +0200 nl80211: New command for setting TX rate mask for rate control Add a new NL80211_CMD_SET_TX_BITRATE_MASK command and related attributes to provide support for setting TX rate mask for rate control. This uses the existing cfg80211 set_bitrate_mask operation that was previously used only with WEXT compat code (SIOCSIWRATE). The nl80211 command allows more generic configuration of allowed rates as a mask instead of fixed/max rate. Signed-off-by: Jouni Malinen <jouni.malinen@xxxxxxxxxxx> Acked-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx> I think that addresses this, not sure if we ever got the iw equivalent patches to let userspace use this yet. There are however three wext things which we still do need implement to nl80211: iwconfig wlan0 txpower 17 # sets TX output power to 17 dBm iwconfig wlan0 power off # disables power save iwconfig wlan0 power 500m # enables dynamic power wave with 500ms idle timeout trigger I've stuffed this int our todo list [1], if you confirm that the above patch does not yet address what you wish please add it to the todo list. http://wireless.kernel.org/en/developers/todo-list Luis -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html