I am capturing in C with libpcap on a device, that does not support to be set in monitor mode via pcap (pcap_can_set_rfmon returns -6). But i can set it in monitor mode with iw and iwconfig on command line, so I do that manually and then run the program. I am also capturing on my Mac where I can set the network device to monitor mode with the pcap function pcap_set_rfmon.I am capturing in C with libpcap on a device, t