[PATCH] Make rx_bytes and tx_bytes 64-bit rather than 32-bit.

Nick Lowe nick.lowe at lugatech.com
Thu Feb 18 11:03:32 PST 2016


Hi Jouni,

I respectfully disagree and believe that we should break support for
older kernel versions that lack support for 64-bit counters. It is
possible to wrap a 32-bit counter in a very short period of time under
load conditions.

This corrects a defect in hostap where it is possible for multiple
wraps to occur during an Interim-Interval, which go undetected and
unaccounted for. Polling at a higher frequency is undesirable.

Considering that these values are often used for billing purposes, it
should be of paramount concern for it to be accurate. I feel that
should trumps compatibility concerns.

Regards,

Nick



More information about the Hostap mailing list