[PATCH v3] nl80211: Driver capability retrieval only once the interface is UP

Sreenath S sreenats at broadcom.com
Tue Aug 6 03:21:05 EDT 2013


Hello Johannes,

What you have told is correct and this is not a mandatory patch. I just felt it is logical to do interface UP before capability retrieval, similar to the older approach before P2P_DEVICE integration.

Regards,
Sreenath
________________________________________
From: Johannes Berg [johannes at sipsolutions.net]
Sent: 06 August 2013 12:24
To: Sreenath S
Cc: hostap at lists.shmoo.com
Subject: Re: [PATCH v3] nl80211: Driver capability retrieval only once the interface is UP

On Tue, 2013-08-06 at 12:12 +0530, Sreenath Sharma wrote:
> The main intention of this patch is to retrieve driver capabilities only
> once the interface is UP, similar to the older approach before P2P_DEVICE
> integration. This approach will help devices which can retrieve the
> capabilities from firmware only once the interface is UP.

Which driver has a problem with this? cfg80211/nl80211 is not intended
to be used in a way that defers the capability advertisement after the
interface is UP, the advertised values are expected to be correct before
the interface is up. As such, I don't see how with a properly written
driver this patch can be required.

johannes




More information about the HostAP mailing list