From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from he.sipsolutions.net ([78.46.109.217]:44782 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754349Ab2JJIRd (ORCPT ); Wed, 10 Oct 2012 04:17:33 -0400 Message-ID: <1349857087.4683.32.camel@jlt4.sipsolutions.net> (sfid-20121010_101738_700926_0494EE8E) Subject: Re: [PATCH v3 0/5] add scan flags support From: Johannes Berg To: Bing Zhao Cc: linux-wireless@vger.kernel.org, "John W. Linville" , Sam Leffler , Amitkumar Karwar , Avinash Patil , Nishant Sarmukadam , Frank Huang Date: Wed, 10 Oct 2012 10:18:07 +0200 In-Reply-To: <1349326066-28501-1-git-send-email-bzhao@marvell.com> References: <1349326066-28501-1-git-send-email-bzhao@marvell.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: Hi, I think this is good, but needs the userspace advertisement. We can either advertise the scan flags word to userspace and set the supported flags, but then I'm not sure how to handle scheduled vs. regular scan. Alternatively we could use nl80211 feature flags (instead of wiphy flags) which get advertised directly... I'm not really sure what's better. What would be the behaviour of flush in a scheduled scan? johannes