You would be better off using a virtual device like TAP . You can easily hack the management interface into the TAP kernel module, through which you can transfer frames ready to be sent to the driver. This approach can be compared to the performance of a regular socket application as a baseline. Since the TAP device will eventually โsendโ output frames through the personal device, you can easily write a test application that measures performance and latency.
source share