nexmon
nexmon copied to clipboard
Packet injection occurs errno=19
Hi. I've made packet injection application using pcap library. This application reads one packet from pcap file, and injects that frame to a specific interface(wlan0) periodically.
When period is big enough(e.g. 5000 microsecond) it works well, but period is small(e.g. 500 microsecond), errorno=19 problem occurs.
Phone : rooted Galaxy S7 / LineageOS 14.1 / bcm43596a0/9.96.4_sta_c0 patched.
While, on rooted Nexus 5(LineageOS 14.1 / bcm4339 / /bcm4339/6_37_34_43), it works well without any problem.
I don't know why it happens.
Thank you in advance.
Here is a test video. https://youtu.be/cI3Y8qYHCbc
https://user-images.githubusercontent.com/4080232/205084232-41b2aab4-0f22-4d2d-b6ae-75a4d6f0430d.mp4
[test codes] https://gitlab.com/gilgil/android-build https://gitlab.com/gilgil/packet-inject-test