Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RPi 3b + Ar9271 low bandwidth on v5 kernel. #243

Closed
lukolszewski opened this issue Apr 25, 2022 · 1 comment
Closed

RPi 3b + Ar9271 low bandwidth on v5 kernel. #243

lukolszewski opened this issue Apr 25, 2022 · 1 comment

Comments

@lukolszewski
Copy link

lukolszewski commented Apr 25, 2022

For various reasons (including that it doesn't work on RPi Zero2W) I compiled wifibroadcast from the project subfolder on couple of my existing OS images. I've applied all ath9k driver patches and module options. I haven't applied the dwc otg kernel patch.

I've tried running it on RPi 3b, RPi Zero2W and an amd64 VM. All running kernel 5.13 (Pi's run 5.13.19, the VM runs 5.13.0).

The result of running tx_measure always shows less than 1Mbit. On the VM it is pretty close to 1Mbit. On RPis it is closer to 850kbit. Same RPi with the same dongle running the EZ-WifiBroadcast image reports slightly over 7Mbit so the hardware is definitely capable.

I also tried the other Wifibroadcast project with similar results.

I've tried to get everything as close as possible on my systems to the image. I believe the issue is caused by v5 kernel. I'm logging this issue to let the devs know this is happening also hoping for tips how to troubleshoot this further.

The WiFi adapter is Tl-wn722n v1. Firmware is open firmware same version as in EZ-WifiBroadcast image (1.4). CPU usage was few % at most during the test.

@lukolszewski
Copy link
Author

Turns out Ar9271 based usb adapters need a firmware patch to run in monitor mode faster than 1Mbit. As of now there is no such patch present in the github repo, but openhd have few examples in their repo so I took a firmware image (set to 24Mbit) from them.

With this image I'm getting 11Mbits on RPi Zero2W (on raspbian kernel 5.15).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant