On Wed, 2011-11-23 at 19:36 +0100, Janusz Dziedzic wrote: > Hello, > > in sta_info.c I see function we call to remove expired unicast buffered frames. > > sta_info_buffer_expired() > { > ... > timeout = (sta->listen_interval * > sta->sdata->vif.bss_conf.beacon_int * > 32 / 15625) * HZ; > if (timeout < STA_TX_BUFFER_EXPIRE) > timeout = STA_TX_BUFFER_EXPIRE; > ... > } > > STA_TX_BUFFER_EXPIRE is define as 10 seconds. > Do you remember why we set this as 10 seconds in case we calculate lower value? > This "listen_interval" calculation seems to be correct. > I found this during UAPSD debuging in AP mode. I have no idea. It's probably just really old code. Now -- why would you sleep for longer than 10 seconds? That's pretty bad user experience :) But really, I don't know, and I wouldn't mind changing it either I think. 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