On Mon, 2013-09-30 at 11:46 +0200, Felix Fietkau wrote: > On 2013-09-30 11:10 AM, Johannes Berg wrote: > > On Sun, 2013-09-29 at 21:39 +0200, Felix Fietkau wrote: > >> When clients are idle for too long, hostapd sends nullfunc frames for > >> probing. When those are acked by the client, the idle time needs to be > >> updated. > >> > >> To make this work (and to avoid unnecessary probing), update sta->last_rx > >> whenever an ACK was received for a tx packet. Only do this if the flag > >> IEEE80211_HW_REPORTS_TX_ACK_STATUS is set. > > > > Why that last bit? If we got an ack status, wouldn't it be OK to do > > either way? Or are you saying drivers are lying more often than not > > otherwise? > I added that just in case, some drivers might not be fully reliable wrt. > reporting the ACK status. Ok, I'll apply it. 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