0

Does anyone know how can one find out the number of dropped packets for WiFi interface in Android? I have tried using ifconfig which gives me these statistics, but the problem is that the dropped packets are always zero. I have also tried looking into the files in /proc/net/wireless, but even there all the counters are zero. I am guessing that WiFi drivers/kernel might not be updating these stats. Note that I do not want to capture the whole traffic using tcpdump, but want to be able to passively know these metrics.

  • Possible duplicate of [Capturing mobile phone traffic on wireshark](http://stackoverflow.com/questions/9555403/capturing-mobile-phone-traffic-on-wireshark) – xenteros Jun 30 '16 at 10:38
  • I do not want to active capture of the packet but want to be able to monitor the dropped packet statistics continuously so as to detect WiFi pathology. – user1743182 Jun 30 '16 at 10:58
  • This is also what wireshark can do – xenteros Jun 30 '16 at 11:01
  • AFAIK, wireshark opens a raw socket and captures the packets. I would want some command like ifconfig, that gives the dropped packets. The only issue is that the counters there do not seem to get updated. I have tried going to a low WiFi zone and downloaded a large file. However the counter is still zero. – user1743182 Jun 30 '16 at 11:07

0 Answers0