diff --git a/meshtastic/admin.proto b/meshtastic/admin.proto index ed373a5..643e418 100644 --- a/meshtastic/admin.proto +++ b/meshtastic/admin.proto @@ -154,7 +154,7 @@ message AdminMessage { PAXCOUNTER_CONFIG = 12; /* - * TODO: REPLACE + * Traffic Management module config */ STATUSMESSAGE_CONFIG = 13; diff --git a/meshtastic/module_config.proto b/meshtastic/module_config.proto index 80a2b44..feb8481 100644 --- a/meshtastic/module_config.proto +++ b/meshtastic/module_config.proto @@ -906,7 +906,7 @@ message ModuleConfig { StatusMessageConfig statusmessage = 14; /* - * TODO: REPLACE + * Traffic management module config for mesh network optimization */ TrafficManagementConfig traffic_management = 15; } diff --git a/meshtastic/telemetry.proto b/meshtastic/telemetry.proto index efcc4a4..5dd23c1 100644 --- a/meshtastic/telemetry.proto +++ b/meshtastic/telemetry.proto @@ -451,16 +451,47 @@ message LocalStats { } /* - * Traffic management statistics + * Traffic management statistics for mesh network optimization */ message TrafficManagementStats { + /* + * Total number of packets inspected by traffic management + */ uint32 packets_inspected = 1; + + /* + * Number of position packets dropped due to deduplication + */ uint32 position_dedup_drops = 2; + + /* + * Number of NodeInfo requests answered from cache + */ uint32 nodeinfo_cache_hits = 3; + + /* + * Number of packets dropped due to rate limiting + */ uint32 rate_limit_drops = 4; + + /* + * Number of unknown/undecryptable packets dropped + */ uint32 unknown_packet_drops = 5; + + /* + * Number of packets with hop_limit exhausted for local-only broadcast + */ uint32 hop_exhausted_packets = 6; + + /* + * Number of packets that would have been dropped in dry-run mode + */ uint32 dry_run_would_drop = 7; + + /* + * Number of times router hop preservation was applied + */ uint32 router_hops_preserved = 8; }