Return-path: Received: from mx1.redhat.com ([66.187.233.31]:37582 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752849AbYFXLQy (ORCPT ); Tue, 24 Jun 2008 07:16:54 -0400 Subject: Re: [PATCH] mac80211: add pre- and post-scan hooks From: Dan Williams To: Johannes Berg Cc: John Linville , linux-wireless In-Reply-To: <1214297745.8967.255.camel@johannes.berg> References: <1214149401.8585.2.camel@localhost.localdomain> <1214297745.8967.255.camel@johannes.berg> Content-Type: text/plain Date: Tue, 24 Jun 2008 07:15:47 -0400 Message-Id: <1214306147.12270.9.camel@localhost.localdomain> (sfid-20080624_131657_336562_B05F9572) Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Tue, 2008-06-24 at 10:55 +0200, Johannes Berg wrote: > On Sun, 2008-06-22 at 11:43 -0400, Dan Williams wrote: > > mrv8k has commands that get called before and after the scan has been > > done to save and restore hardware state. Add optional callbacks to > > mac80211 to enable low-level drivers to know when the stack is about to > > start scanning, and when it's done. > > I'm not entirely against this, but does it mean the driver will not work > with the userspace MLME that does scanning itself in userspace too? Probably not? Both TopDog (linville's marvell.git and your marvell.tar.bz2) both do this. It's too early to tell whether we can get along without it since the driver isn't functional enough yet. BTW, where'd you get marvell.tar.bz2 from? Dan