Whitefield provides a simulation environment for wireless sensor networks by combining RF simulation provided by NS3 and network stack provided by popular IoT OSes such as Contiki/RIOT/OpenThread.
Increased packet queue at MAC layer in NS3. RIOT has this behaviour where it sends lot of Neighbor solicitations and router advertisement in a single stretch (looks like it tight loop). This causes lot of problems, especially MAC queues getting full, increased packet failures etc. I will go into details of why RIOT does this but for now I m increasing the queue limit from 10 to 30 ... This means increased memory usage.
For pcap, i was using promiscuous mode. Unsetted that. Still needs refinements towards how pcap should show up. Currently there is always an icmpv6 checksum error that shows up in the wireshark. But the problem is related to mismatch of stackline and airline behaviours. NS3 airline only supports short addressing scheme and stacklines only use long addressing. Because of this the address decompression results in different values and this has to be fixed properly.