5

Can an Android device with a 5Ghz-capable Wi-Fi chip, such as the Nexus 5, use Wi-Fi direct on the 5Ghz band?

If so, how? Couldn't find anything of substance on the net.

  • Only did a quick research, but seems Wi-Fi direct is not supported on 5GHz. While probably unrelated, from Sony Bravia Smart TV manual: "Wi-Fi Direct compatible devices: 2.4GHz connection (5GHz not supported)." Otherwise, it might be possible by forcing the configuration of Wi-Fi direct to use 5GHz on Linux, but I can't promise anything on Android. – Andrew T. May 13 '16 at 14:43
  • Post 45 May help you – beeshyams May 14 '16 at 6:12
  • @beeshyams That seems to relate only to certain channels. – QwertyChouskie May 29 '17 at 2:29
1

You might or might not be able to depending on your device. I tested this on OnePlus 5 with Android 8.1 and 5GHz P2P GO works (channel = 48, i.e. freq = 5.240GHz). Only a few 5GHz channels however actually works though.

Basically you need to use a hidden (light greylist at the time of this post) API Landroid/net/wifi/p2p/WifiP2pManager;->setWifiP2pChannels(Landroid/net/wifi/p2p/WifiP2pManager$Channel;IILandroid/net/wifi/p2p/WifiP2pManager$ActionListener;)V. See here for example usage. You can also try out my app to test whether your phone supports it if you have root.

You might also need to remove an entry named p2p_no_go_freq in your p2p_supplicant_overlay.conf if there is one. It's located in /system/etc/wifi or /vendor/etc/wifi depending on your Android system version.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.