Search Linux Wireless

Re: mac80211: AP mode - question about Tx buffered unicast frames drop timeout

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux