dev-harsh1998 / ota

15 stars 1 forks source link

5Ghz Wifi not working (Germany) #6

Closed Simsala91 closed 6 days ago

Simsala91 commented 2 weeks ago

I'm having trouble with connecting to my home 5Ghz network. This was not an issue before I switched from stock ROM. It might have something to do with wifi country codes, but I'm not sure. I have a Xiaomi Pad 5, EU Version (256GB) and I am living in Germany.

Is there any way this can be fixed?

dev-harsh1998 commented 2 weeks ago

Hi @Simsala91 can you please drop bugreport adb bugreport after you try to connect with affected access point, Also can you tell me more about what wifi channel and width you are using (20mhz / 40mhz) along with the security type of the endpoint you're trying to associate with

Simsala91 commented 2 weeks ago

Hi @dev-harsh1998, thanks for the quick response!

So a few additional informations:

Usually, I have a single SSID for both 2.4/5 Ghz. But I realized that data rates are low and that some downloads sometimes fail. Then I checked wifi settings on the device and saw that it is only connected to the 2.4Ghz Wifi. I separated SSIDs, but the 5Ghz Wifi is not visible at all, so I have no option to even try to connect to it (works fine from my phone). I changed Wifi standard from 6 to 5 to 4, but the wifi is not visible with any setting.

Current channel is 112, width setting in router is (20/40/80), my phone seems to use 80.

Security is WPA2-Personal / AES.

bugreport-lineage_nabu-AP2A.240605.024-2024-07-10-11-18-23.zip

Appended bugreport where I connected to the dual 2.4/5Ghz network but only got 2.4 Ghz connection. Also there were some failed downloads during that time.

dev-harsh1998 commented 6 days ago

Hi @Simsala91 please try out the latest build and let me know if you see differences if the issue persists please open the ticket again with new logs

Simsala91 commented 4 days ago

@dev-harsh1998 Sadly, it's still not working flawlessly. I updated it and it still did not connect to my 5Ghz Wifi. But I realized that I saw some networks that ended with "-5Ghz". So I downloaded the Wifi-Analyzer app on both my phone and the tablet, and realized that the tablet did not find any 5Ghz networks with channels 100+. I was able to connect to my 5ghz hotspot from my phone (Channel 36).

I will change the channel of my router to 36 in the evening and do some more testing then.

dev-harsh1998 commented 4 days ago

https://www.qualcomm.com/products/technology/wi-fi/fastconnect/fastconnect-6200 Apparently anything over 80mhz is a pushover for the chip inside the device.

Check the specifications section

Simsala91 commented 4 days ago

The network isn't above 80 Mhz though... The tablet just isn't capable to connect to any channels that are between 100 and ~140.

I switched my wifi settings to channel 40, and now it is connecting to the 5Ghz network and downloads are no longer failing.

Before that, here are comparision pictures from my phone and my tablet:

tablet - no networks with channel 100+:

tablet -  no networks with channel 100+

phone - networks with channel 100 and 112 showings (80mhz, same as some other on the tablet)

phone - networks with channel 100 and 112 showings (80mhz, same as some other on the tablet)

Me switching my Wifi channel will only fix this for my home network though, might still run into bugs when trying to connect at a friends house.