From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from he.sipsolutions.net ([78.46.109.217]:48189 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753841Ab1JVNhA (ORCPT ); Sat, 22 Oct 2011 09:37:00 -0400 Subject: Re: [PATCH 1/4] nl80211: Add probe response offload attribute From: Johannes Berg To: Guy Eilam Cc: linux-wireless@vger.kernel.org In-Reply-To: <1319290457.3956.3.camel@jlt3.sipsolutions.net> (sfid-20111022_153423_374925_A537397F) References: <1319289112-21896-1-git-send-email-guy@wizery.com> (sfid-20111022_151410_304888_4D10E8E6) <1319290457.3956.3.camel@jlt3.sipsolutions.net> (sfid-20111022_153423_374925_A537397F) Content-Type: text/plain; charset="UTF-8" Date: Sat, 22 Oct 2011 15:36:58 +0200 Message-ID: <1319290618.3956.6.camel@jlt3.sipsolutions.net> (sfid-20111022_153702_514653_A76D066A) Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Sat, 2011-10-22 at 15:34 +0200, Johannes Berg wrote: > On Sat, 2011-10-22 at 15:11 +0200, Guy Eilam wrote: > > > +enum nl80211_probe_resp_offload_support_attr { > > + NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS, > > + NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS2, > > + NL80211_PROBE_RESP_OFFLOAD_SUPPORT_P2P, > > +}; > > I think doing = 1< > + * @get_probe_resp_offload: Get probe response offload support from driver. > > and this seems unnecessary -- why not just put a u32 value into struct > wiphy? Oh, and probably a regular WIPHY flag that indicates whether the attribute should be added at all so that it can also be 0 but present (presence with 0 value indicates something other than not present). johannes