Search Linux Wireless

estimated_retx ?

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

 



Hi,

I was wondering what the meaning of this line of code in mesh_hwmp.c
in function airtime_link_metric_get is:

        estimated_retx = ((1 << (2 * ARITH_SHIFT)) / (s_unit - err));

The computation is : 1 / ( 1 - error rate )

Does the variable name imply "estimated retransmissions" ?

Also the err variable is calculated as a moving average based on the
ACK of every frame tx.
It is my understanding that err should be error rate (no.of bit errors
per second). How then can a moving average be considered as errors
*per second* ?

thanks,
Joel
--
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