title: Wi-Fi Direct Group Owner Frequency Band
body: <p>I'm currently using a Nexus 10 (2.4 GHz and 5 GHz dual band radio) to connect to a third-party peripheral device (2.4GHz single band radio) via Wi-Fi Direct. When I connect the tablet as a Client, and the peripheral device as the Group Owner (GO), the connection is made without problem since the GO determines the frequency band to use, i.e., 2.4 GHz, which is supported by both devices.</p>
  
  <p>However, attempting to connect with the Nexus 10 as the GO, and the peripheral device as the client, the connection fails. I have deduced that this failure occurs because the Nexus 10, being the GO, determines the frequency band of the connection, and is attempting to use 5 GHz, which is not supported by the peripheral device. </p>
  
  <p>Setting the Wi-Fi to 2.4 GHz (via the Wi-Fi Settings, Advanced tab), forces the Nexus 10 as the GO to use 2.4 GHz during the group negotiation, resulting in a successful connection to the client peripheral device.</p>
  
  <p>So, I have two questions:</p>
  
  <p>1). Is it possible, via the <code>WifiP2p</code> (or <code>wpa-supplicant</code>) suite of APIs to set the frequency band that should be used during group negotiation? This ought to be possible if Android devices are equipped with dual band radios.</p>
  
  <p>2). Is it possible, via the <code>Wifi</code> suite of APIs, to set the Wi-Fi to use only 2.4 GHz?</p>
  
  <p>Any pointers or advice appreciated.</p>