SNMP counters

Currently the radio and ethernet throughput stats retrieved via SNMP are in format Integer32.

Will this be corrected in the next firmware? It should be a COUNTER64, really, but at least COUNTER32.

COUNTER32 is 32-bit unsigned and ranges from 0 to 4,294,967,295 while Integer32 is 32-bit signed so it ranges from -2,147,483,648 to 2,147,483,647 - even though byte/packet counts will NEVER be negative.

With 50Mbps throughput we’re talking 393,216,000 bytes per minute, about 5.5 minutes before we hit 2.1 billion and the current Integer32 counter wraps. With an AP, it’s quite possible to top 100mbps, where the counter wraps every 150 or so seconds.

Per the SNMPv2-SMI defs, COUNTER64 is “for counters that wrap in less than one hour with only 32 bits”. even with COUNTER32 instead of Integer32, we can wrap in under 5 minutes…

j