linux-wifi-hotspot icon indicating copy to clipboard operation
linux-wifi-hotspot copied to clipboard

Wifi speed significantly reduced with hotspot enabled

Open roundoutandabout opened this issue 2 years ago • 6 comments

Describe the bug After enabling the hotspot with the same wifi adapter that is used for the internet connection, the network speed is significantly reduced.

To reproduce Steps to reproduce the behavior:

  1. Connect a system to the internet with a wifi adapter (e.g. wlp8s0)
  2. Create a wifi hotspot with the same wifi adapter using a command: $ sudo create_ap --ieee80211n --ieee80211ac --freq-band 2.4 wlp8s0 wlp8s0 My-Hotspot P@ssw0rd
  3. Check the network speed on the same system (e.g. with Speedtest)

Expected behavior Network speed is comparabe with the hotspot enabled and disabled.

Actual behavior Network speed with the hotspot enabled is significantly slower.

  • Network speed with hotspot disabled:

    • Download: 17Mbps
    • Upload: 19.7Mbps
    • Ping: 21ms
  • Network speed with hotspot enabled:

    • Download: 6.2Mbps
    • Upload: 6.2Mbps
    • Ping: 51ms

Desktop:

  • OS: Manjaro 23.0
  • Kernel: 6.1.49-1
  • Network manager: NetworkManager 1.42.6-1
  • Wifi adapter: Intel Wi-Fi 6 AX200 (rev 1a)
  • Wifi driver: part of the linux kernel

Additional context If you know some hotspot settings to improve the network speed, I would be glad to try it out. This migh very well be the hardware/driver limitation. If you think this is the case, you can close the issue.

As can be seen, I'm already using the options --ieee80211n --ieee80211ac but that doesn't have much effect. With the different channel (-c 2) the situation is the same.

I'm using --freq-band 2.4, because otherwise I get:

ERROR: Your adapter can not transmit to channel 1, frequency band 5GHz.

Same with the channel 2.

Related issues: #286

roundoutandabout avatar Sep 05 '23 20:09 roundoutandabout

I am experiencing the same thing, have you been able to resolve it, my network is totally unusable when hotspot is connected

CyberBishop avatar Oct 31 '23 23:10 CyberBishop

I am experiencing the same thing, have you been able to resolve it, my network is totally unusable when hotspot is connected

Unfortunately not.

roundoutandabout avatar Nov 02 '23 21:11 roundoutandabout

Someone needs to figure out how windows does it

CyberBishop avatar Nov 02 '23 21:11 CyberBishop

Same problem using version 4.7.1, Ubuntu 22.04 and a Thinkpad T14 gen2. The created hotspot network speed is about 4 Mbps

cccaballero avatar Apr 10 '24 18:04 cccaballero

Exactly the same problem here

essoojay avatar Jul 29 '24 18:07 essoojay