Slow USB tethering downloads on Fedora 44 with OPPO Reno6 Pro — experimental RNDIS fix improves speed significantly

Hi everyone,

I’m using Fedora 44 KDE Plasma on an Acer Aspire ES1-521 laptop, and I’m experiencing very slow downloads when sharing my OPPO Reno6 Pro 5G’s Cellular 5G connection over USB tethering.

My setup

  • Laptop: Acer Aspire ES1-521, AMD A4-6210

  • Phone: OPPO Reno6 Pro 5G (CPH2249)

  • USB ID: 22d9:276a

  • Fedora kernel: 7.2.9-200.fc44.x86_64

  • USB driver with the stock kernel: rndis_host

The problem

With the standard Fedora RNDIS driver, browser speed tests repeatedly showed approximately 4–5 Mbps download speed. On the same phone and USB cable, Windows achieved 124 Mbps download and 10.4 Mbps upload.

My phone’s direct mobile-data speed was approximately 177 Mbps download and 19.3 Mbps upload.

I reproduced the slow-download behaviour with Fedora kernels 7.2.7, 7.2.8, and 7.2.9. Updating the kernel did not resolve it.

Experimental workaround

I built a temporary out-of-tree test module based on the Linux v7.2 rndis_host.c source. For USB ID 22d9:276a, it increases the minimum RNDIS receive transfer buffer (rx_urb_size) to 16 KiB.

After binding this module to the OPPO’s USB tethering interfaces:

  • Two direct USB-bound curl downloads reached approximately 57.8 and 57.9 Mbps.

  • A browser speed test reached 82.8 Mbps download and 11.3 Mbps upload.

The stock driver and experimental driver results suggest that the receive-buffer change may address the problem, although I have not independently confirmed the exact underlying cause.

There is a related upstream Linux patch for a OnePlus Nord CE 2 with USB ID 22d9:2766:

My OPPO uses a different product ID, 22d9:276a.

My questions

  1. Has anyone seen this RNDIS download bottleneck with an OPPO or another Android phone on Fedora?

  2. Could this device need the same receive-aggregation quirk as the OnePlus device?

  3. What is the best way to get this investigated by Fedora’s kernel maintainers and, if appropriate, upstream Linux?

I can provide kernel logs, the experimental source diff and additional test results.

I am currently using an experimental, locally built module, so the improved results are not from Fedora’s stock driver.

Thank you!

Note: I did use AI for it

Update: Experimental RNDIS workaround confirmed

I forgot to mention in my original post that I have a source diff for the experimental driver.

The standard Fedora driver gave me around 4–5 Mbps download over USB tethering. With my experimental rndis_host_test module, which increases the minimum RNDIS receive buffer to 16 KiB for my OPPO Reno6 Pro (USB ID 22d9:276a), I obtained:

  • Browser speed test: 82.8 Mbps download, 11.3 Mbps upload

  • Direct USB-bound curl tests: approximately 57.8–57.9 Mbps

The diff is currently for a standalone test module, so it is not a clean upstream-ready patch. I can share the experimental source and diff if useful. I’d appreciate guidance on how best to get this investigated upstream, especially given the related OnePlus RNDIS receive-aggregation patch.

I guess all mobile phones with RNDIS support would benefit from receive aggregation. The patch enables this for one phone, you are asking for the next. This doesn’t scale. Better solutions would enable receive aggregation for all phones or if too risky, make the receive buffer size configurable.

The patch has been merged into netdev/net-next, see https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=f688218baa7128a1ef3f8377679fc5fcbc22fa2e. We’ll see how that works out.

Hey so is it gonna happen??? or something similar that could fix this issue