These patches implement a feature essential for long distance wireless links: setting ACK timeout and slot time. The API is based on a parameter called Coverage Class specified by the 802.11 standard. The first two patches add support to the kernel 802.11 stack via a new nl80211 attribute and a mac80211 callback. Following three patches implement the callback in ath5k driver, after some requisite fixes. Implementation in ath9k driver is planned. Please note the last patch outside the series is not a kernel patch, it adds the necessary support to userspace program iw. This is a second version of these patches, with these changes: * The coverage class is calculated from roundtrip time instead of one-way delay asi specified by the standard * Calculation of slot time and ACK timeouts is based on 802.11 standard and Madwifi 0.10.5.6, instead of athctrl program from Madwifi 0.9.4 * Full name "coverage_class" is used everywhere for consistency Lukas Turek -- 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