android icon indicating copy to clipboard operation
android copied to clipboard

5GHz band

Open abdulhakam opened this issue 5 years ago • 10 comments

I was thinking there should be a button to toggle between 2.4ghz and 5ghz band for speed vs compatibility like the one I have seen Zapya.

abdulhakam avatar Mar 26 '20 22:03 abdulhakam

I want this even work this is based on the Wi-Fi network you're connected to isn't it. Or are you talking about the hotspot feature which is probably controlled by your phone's operating system.

PeterHindes avatar Apr 15 '20 06:04 PeterHindes

Most probably, the OP is talking about hotspot feature which might not be available in depending upon device and region.

mubashir-rehman avatar Apr 22 '20 10:04 mubashir-rehman

This might help a lot. https://github.com/VREMSoftwareDevelopment/WiFiAnalyzer/search?q=WiFi+band+toggle&unscoped_q=WiFi+band+toggle @velitasali Edit: Check this instead https://github.com/VREMSoftwareDevelopment/WiFiAnalyzer/search?q=WiFi+band+toggle&type=Commits (These commits have code for toggle along with tests.) Edit: I misunderstood the implementation. I thought that WiFi and Hotspot use same settings for band. I might still be right but above links show how to implement toggle for WiFi band.

mubashir-rehman avatar Jul 07 '20 12:07 mubashir-rehman

The problem is not whether this can be achieved. The problem is what will happen when the other device doesn't support that frequency.

velitasali avatar Sep 01 '20 22:09 velitasali

The problem is not whether this can be achieved. The problem is what will happen when the other device doesn't support that frequency.

If it doesn't, won't falling back to 2.4GHz by adding a compatibility check be a solution to this?

kairusds avatar Jul 26 '21 13:07 kairusds

@kairusds that is where the problem begins actually. If the frequency is not supported it will not show up on the scan results. Then, either we will rely on user support to ask the user if it did not show up or use third-party means, e.g. bluetooth, to collect info about the capabilities of devices.

velitasali avatar Jul 27 '21 16:07 velitasali

@velitasali the latter seems like a good choice or just disable the option entirely if the device does not support it.

kairusds avatar Jul 27 '21 16:07 kairusds

@kairusds That is not a feature atm (the app doesn't make use of Bluetooth by default). I will see what I can do.

velitasali avatar Jul 27 '21 16:07 velitasali

thanks for replying. I meant to say that you can disable the option for devices that don't support 5GHz WiFi instead if Bluetooth is not worth the hassle.

On Wed, Jul 28, 2021, 12:42 AM Veli Tasalı @.***> wrote:

@kairusds https://github.com/kairusds That is not a feature atm (the app doesn't make use of Bluetooth by default). I will see what I can do.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/trebleshot/android/issues/115#issuecomment-887666222, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHY745HJPIOBOZPPCYXCSHLTZ3OYPANCNFSM4LUSRCWQ .

kairusds avatar Jul 27 '21 16:07 kairusds

Just depend upon the user to manually change bands in system settings for now is a good option. Which seems to be the default behavior too.

mubashir-rehman avatar Jul 28 '21 08:07 mubashir-rehman