[PATCH] Add p2p_add_cli_chan=1 option

Hatano, Tomoharu (Sony Mobile) Tomoharu.Hatano at sonymobile.com
Mon Dec 12 16:34:28 PST 2016


Hi Jouni,

Thank you for your feedback.

> Is it the best way of doing such a change for Android or is this something that the Wi-Fi framework should set instead? 
We had several patches of wpa_supplicant for Android related to p2p connection of 5GHz.
The patch can be fixed them.
So, we think is it the best way to fix them. 

> Is there a difference for OTA updates for this? I.e., is this change going to apply after such an update?
Sony Mobile has update mechanism for wpa_supplicant.conf by OTA.
However, Android standard does not have it.
Is it difficult to contribute in this case?

Best Regards,
Tomoharu Hatano

-----Original Message-----
From: Jouni Malinen [mailto:j at w1.fi] 
Sent: Wednesday, December 07, 2016 1:40 AM
To: Hatano, Tomoharu (Sony Mobile) <Tomoharu.Hatano at sonymobile.com>
Cc: hostap at lists.infradead.org; Kanstrup, Mikael <Mikael.Kanstrup at sonymobile.com>
Subject: Re: [PATCH] Add p2p_add_cli_chan=1 option

On Tue, Dec 06, 2016 at 04:26:50PM +0900, Tomoharu Hatano wrote:
> Add p2p_add_cli_chan=1 option to p2p_supplicant.conf to allow wifi p2p 
> operating as GC on passive channels.
> 
> In addition, add p2p_add_cli_chan=1 option to wpa_supplicant.conf as 
> well to have a consistency in p2p channel list. There is a case where 
> p2p channel list is updated with different channels from p2p and 
> wlan0.

So this change in wpa_supplicant/wpa_supplicant_template.conf would only be for the purpose of changing Android default configuration, I'd assume (and if so, this would be good to note in the commit message). There is not really any P2P related items in that template file today.. Is it the best way of doing such a change for Android or is this something that the Wi-Fi framework should set instead? Is there a difference for OTA updates for this? I.e., is this change going to apply after such an update? I don't remember anymore how exactly the configuration file template is used..

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list