Skip to content
  • Vladimir Kondratiev's avatar
    cfg80211: expand per-station byte counters to 64bit · 42745e03
    Vladimir Kondratiev authored
    In per-station statistics, present 32bit counters are too small
    for practical purposes - with gigabit speeds, it get overlapped
    every few seconds.
    Expand counters in the struct station_info to be 64-bit.
    Driver can still fill only 32-bit and indicate in @filled
    only bits like STATION_INFO_[TR]X_BYTES; in case driver provides
    full 64-bit counter, it should also set in @filled
    Netlink sends both 32-bit and 64-bit counters, if present, to not
    break userspace.
    Signed-off-by: default avatarVladimir Kondratiev <>
    [change to also have 32-bit counters if driver advertises 64-bit]
    Signed-off-by: default avatarJohannes Berg <>