lib: report byte counters as 64 bit values
authorThomas Weißschuh <thomas@t-8ch.de>
Mon, 15 May 2023 14:54:27 +0000 (16:54 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 25 Jun 2023 19:58:09 +0000 (21:58 +0200)
commitca79f64154b107f192ec3c1ba631816cb8b07922
tree3b8f0da34ee1d4b9182cd93c668116094a796f64
parent65ea345a5bfe044b870d26e3bcdb6a0ec3ae463c
lib: report byte counters as 64 bit values

The 32bit counter can only count to 4GiB before wrapping.
Switching to the 64bit variant avoids this issue.

In practice some users are interpreting the counter values as signed
integer bringing down the usable range for 32bit values down to only
2GiB.

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
include/iwinfo.h
iwinfo_nl80211.c