[PATCH v2 01/10] nl80211_driver: Identify if nl80211 is capable of p2p device abstraction
Spinadel, David
david.spinadel
Mon Mar 18 07:56:21 PDT 2013
Sorry. Will resend later. Waiting for some more comments for the last fixes.
Thanks,
David
> -----Original Message-----
> From: hostap-bounces at lists.shmoo.com [mailto:hostap-
> bounces at lists.shmoo.com] On Behalf Of Arend van Spriel
> Sent: Monday, March 18, 2013 16:33
> To: David Spinadel
> Cc: hostap at lists.shmoo.com
> Subject: Re: [PATCH v2 01/10] nl80211_driver: Identify if nl80211 is capable of
> p2p device abstraction
>
> On 03/17/2013 09:57 PM, David Spinadel wrote:
> > From: Nirav Shah <nirav.j2.shah at intel.com>
> >
> > Check the supported interfaces attribute to identify support for a
> > dedicated p2p device interface type. If set update the driver
> > capabilities flag to notify the supplicant.
> >
> > Signed-off-by: David Spinadel <david.spinadel at intel.com>
> > ---
> > src/drivers/driver.h | 12 ++++++++++--
> > src/drivers/driver_nl80211.c | 12 ++++++++++++
> > 2 files changed, 22 insertions(+), 2 deletions(-)
> >
>
> > diff --git a/src/drivers/driver_nl80211.c
> > b/src/drivers/driver_nl80211.c index b2dc813..cf15603 100644
> > --- a/src/drivers/driver_nl80211.c
> > +++ b/src/drivers/driver_nl80211.c
> > @@ -2871,6 +2875,10 @@ static int wpa_driver_nl80211_get_info(struct
> > wpa_driver_nl80211_data *drv,
> >
> > if (info->p2p_go_supported && info->p2p_client_supported)
> > drv->capa.flags |= WPA_DRIVER_FLAGS_P2P_CAPABLE;
> > +
> > + if (p2p_device_supported)
> > + capa->flags |=
> WPA_DRIVER_FLAGS_DEDICATED_P2P_DEVICE;
>
> and:
> drv->capa.flags |=
> WPA_DRIVER_FLAGS_DEDICATED_P2P_DEVICE;
>
> > +
> > if (info->p2p_concurrent) {
> > wpa_printf(MSG_DEBUG, "nl80211: Use separate P2P group
> "
> > "interface (driver advertised support)");
>
>
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
---------------------------------------------------------------------
A member of the Intel Corporation group of companies
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
More information about the Hostap
mailing list