On Mon, Nov 19, 2012 at 2:32 PM, Adrian Chadd <adrian@xxxxxxxxxxx> wrote: > On 19 November 2012 13:39, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote: > >> Before you repost though I think it would make sense to fix the >> calculation issue that Simon pointed out on the radiotap list? I hope he >> comes up with some code though as I'm not good enough at bitrate >> calculations :-) > > What was his comment? Since it's not on gmane yet: "Unfortunately this patch does not do a very accurate calculation, so it makes the problem worse. It simply multiplies rate by the number of bits to get a time. This does not take into account the limited accuracy in rate (11n has fractional rates), nor does it consider the rounding into blocks caused by FEC, or symbols. As a result the data is made worse by the current code. Either the code should do an accurate fix, or it should record the raw value and let the end user correct it properly." --- Thomas -- 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