Re: [OpenWrt-Devel] [PATCH] iwinfo: 64-bit byte counters for assoclist

2020-01-15 Thread John Crispin
On 10/01/2020 15:27, Dainis Jonitis wrote: When available, use 64-bit byte counters rx/tx_bytes64. New 32-bit counters rx/tx_bytes32 are guaranteed to clamp to max 32-bit value and never wrap around. For compatibility with legacy clients the old values rx/tx_bytes are just aliases of new

[OpenWrt-Devel] [PATCH] iwinfo: 64-bit byte counters for assoclist

2020-01-10 Thread Dainis Jonitis
When available, use 64-bit byte counters rx/tx_bytes64. New 32-bit counters rx/tx_bytes32 are guaranteed to clamp to max 32-bit value and never wrap around. For compatibility with legacy clients the old values rx/tx_bytes are just aliases of new rx/tx_bytes32. Signed-off-by: Dainis Jonitis ---