On Wed, Mar 11, 2015 at 11:20:44AM +0000, Steger, Marco via Devel wrote: > When I send e.g. 5 packets everything works fine. For 1000 packets I > lose e.g. 200-400 packets. I don't see the packets in Wireshark as > well as in my application. (when I add a stupid while loop to slow > down the sender it also works for 1000 packets; Evaluation of the lost > packets based on the ID of the packet: I lose packets in bulk: e.g. > 0-70 & 500-600 & 750 - 1000. On the sender side no errors are reported
I suspect somewhere in the stack your TX packets are being dropped due to lack of buffer space (not sure where, but you could probably add some debugging to figure that out if important) -- even if no errors are reported on the sender this could be the case, because it could happen in a driver long after the sendto(), for example. Rate limiting the sending speed, as you have found, is a way to avoid. > The number for tx packets are not equal for 'station dump' and > 'ifconfig mesh' commands. Why? Which is the correct number of > transmitted packets (it seems that the station dump is correct because > I receive the same number of packets on the receiver node but as I > said I'm not sure about that)? ifconfig may be counting IP packets while station dump... could be doing anything, I'm not sure (there was recently a question/thread on linux-wireless about just what we are currently -- and should be -- counting here, MPDUs vs MSDUs etc). Supposing it counted things like path selection frames or beacons, you'd see it increase even if no data was being sent. -- Bob Copeland %% http://bobcopeland.com/ _______________________________________________ Devel mailing list [email protected] http://lists.open80211s.org/cgi-bin/mailman/listinfo/devel
