"Input packets dropped" isn't really a good description of what
happened when we failed to allocate a new node in the net80211 stack.
This allocation doesn't happen for every packet, only for new nodes
that appear in reach of the antenna.

And we already mention "nodes" elsewhere in the output:
       p(is_tx_nonode, "\t%lu output packet%s failed for no nodes\n");
       p(is_node_timeout, "\t%lu node%s timed out\n");

Index: net80211.c
===================================================================
RCS file: /cvs/src/usr.bin/netstat/net80211.c,v
retrieving revision 1.7
diff -u -p -r1.7 net80211.c
--- net80211.c  4 Mar 2011 23:48:15 -0000       1.7
+++ net80211.c  13 Jul 2012 14:10:29 -0000
@@ -80,7 +80,7 @@ net80211_ifstats(char *ifname)
        p(is_rx_elem_toosmall, "\t%lu input packet%s with elements too 
small\n");
        p(is_rx_badchan, "\t%lu input packet%s with invalid channel\n");
        p(is_rx_chanmismatch, "\t%lu input packet%s with mismatched channel\n");
-       p(is_rx_nodealloc, "\t%lu input packet%s dropped\n");
+       p(is_rx_nodealloc, "\t%lu node allocation%s failed\n");
        p(is_rx_ssidmismatch, "\t%lu input packet%s with mismatched ssid\n");
        p(is_rx_auth_unsupported, "\t%lu input packet%s with unsupported auth 
algorithm\n");
        p(is_rx_auth_fail, "\t%lu input authentication%s failed\n");

Reply via email to