Is it possible to use a USB wifi adapter directly on an A16 iPad without DriverKit?
Hey, I’ve been working on an idea and wanted to ask here since I’m not very experienced with iPadOS development.
I have an ALFA AWUS036ACS USB wifi adapter which uses the Realtek RTL8811AU/RTL8821AU chip. I want to connect it directly to my iPad A16 running iPadOS 27.2 and use it for wifi, without needing a laptop or another hotspot.
I’ve found a macOS project that actually manages to get this adapter working without DriverKit or kernel extensions:
https://github.com/IFAKA/awus036acs-macos
From what I understand, it uses C and libusb to communicate directly with the chip, load its firmware, initialise it and handle the wifi connection. It then uses a virtual network interface (utun) to pass the internet traffic through macOS.
This got me thinking if something similar could be done on iPadOS.
The main problem:
Apple’s DriverKit support on iPads requires an M-series chip, while mine has an A16. So the normal driver route isn’t available.
I was thinking maybe we could port the macOS userspace implementation instead of trying to install a traditional driver.
What I want to figure out:
Is there any way for a normal iPad app to communicate directly with a USB device and perform bulk/control transfers?
Could libusb be ported to iPadOS if we replaced its USB backend?
Are there any ways around the USB access restrictions without DriverKit?
Could Network Extensions, specifically NEPacketTunnelProvider, be used instead of macOS’s utun interface?
Is there any way to load the Realtek firmware and communicate with the chip from an ordinary app?
Has anyone attempted anything similar on iPadOS?
I understand iPadOS is heavily restricted, but I’m wondering if there’s a way to achieve this through userspace rather than a conventional driver.
I’m not necessarily looking for an easy solution, even just knowing whether this is technically possible would help alot.
Any ideas, projects or documentation that could point me in the right direction would be appreciated!