On Wed, 2015-06-03 at 14:46 +0200, Robert Hodaszi wrote: > From: Robert Hodaszi <robert.hodaszi@xxxxxxxx> > > To disable the transmit retries on RT28xx driver, the retry limit should > be set to 0. The current lower limit (1) prevents it. So actually - we have the same limit in nl80211... we should change both at the same time. However, I'm withdrawing my earlier comment. The dot11ShortRetryLimit and dot11LongRetryLimit counters (which correspond to this) are defined to have a range 1..255, and semantically are actually the number of permissible transmission *attempts* (see their definition in 802.11-2012). As a consequence, I'd say the driver is doing things wrong here and this part is actually correct. You could argue that this is userspace API that must never change, but ... dunno. If you feel strongly about this I guess we could accept 0 and translate it to 1 in cfg80211 to get the correct semantics, but you'd still have the driver bug then. I don't think we should accept 0 and pass it to the driver, since it need not expect such a value based on the 802.11 spec. johannes -- 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