From: Johannes Berg <johannes@sipsolutions.net>
To: Bing Zhao <bzhao@marvell.com>
Cc: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
Jouni Malinen <j@w1.fi>,
"John W. Linville" <linville@tuxdriver.com>,
Amitkumar Karwar <akarwar@marvell.com>
Subject: Re: [PATCH] nl/cfg80211: advertise OBSS scan offload capability
Date: Fri, 09 Nov 2012 22:17:42 +0100 [thread overview]
Message-ID: <1352495862.30006.1.camel@jlt4.sipsolutions.net> (raw)
In-Reply-To: <477F20668A386D41ADCC57781B1F7043083BBD703C@SC-VEXCH1.marvell.com>
On Fri, 2012-11-09 at 12:18 -0800, Bing Zhao wrote:
> > > New flag is added to inform userspace that this driver doesn't
> > > internally perform OBSS scan. It can use this feature available
> > > in userspace application.
> >
> > Shouldn't that be a little more precisely worded? Most drivers already
> > expect wpa_s to do this, but apparently the assumption was that without
> > the flag, full-MAC drivers, i.e. drivers implementing the nl80211
> > connect API (rather than auth/assoc) do it themselves?
>
> That's right.
>
> >
> > Or maybe mac80211 should just set the flag?
>
> Currently wpa_s checks WPA_DRIVER_FLAGS_SME flag for OBSS scan.
> Since WPA_DRIVER_FLAGS_SME bit is set for mac80211, it's unnecessary to set this new flag.
>
> Or, are you suggesting that we should set the new flag in mac80211
> (and all drivers that need OBSS scan feature in wpa_s) and replace
> WPA_DRIVER_FLAGS_SME check with the new flag?
I don't think that can be done, for the simple reason that wpa_s should
continue to work on older kernels.
Thus, I guess that wpa_s is going to continue with the assumption that
auth/assoc API implies also doing OBSS in wpa_s (which is a fair
assumption), but then I think we should simply change the documentation
of this new feature flag to indicate that it's interesting only in the
case of a driver that has connect API.
johannes
next prev parent reply other threads:[~2012-11-09 21:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-08 22:54 [PATCH] nl/cfg80211: advertise OBSS scan offload capability Bing Zhao
2012-11-09 16:29 ` Johannes Berg
2012-11-09 20:18 ` Bing Zhao
2012-11-09 21:17 ` Johannes Berg [this message]
2012-11-09 22:40 ` Bing Zhao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1352495862.30006.1.camel@jlt4.sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=akarwar@marvell.com \
--cc=bzhao@marvell.com \
--cc=j@w1.fi \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox