Return-path: Received: from wf-out-1314.google.com ([209.85.200.173]:63514 "EHLO wf-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754539AbZBENAT (ORCPT ); Thu, 5 Feb 2009 08:00:19 -0500 Received: by wf-out-1314.google.com with SMTP id 28so285195wfa.4 for ; Thu, 05 Feb 2009 05:00:17 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <20090205121222.GB18339@jm.kir.nu> References: <20090204150857.GA5069@sortiz.org> <1233789837.24227.19.camel@localhost.localdomain> <1233790539.7390.23.camel@johannes.local> <20090205084407.GA11126@jm.kir.nu> <20090205095217.GA13736@jm.kir.nu> <1ba2fa240902050344h1deb4c3dqce0949ec154faba4@mail.gmail.com> <20090205121222.GB18339@jm.kir.nu> Date: Thu, 5 Feb 2009 15:00:17 +0200 Message-ID: <1ba2fa240902050500p6d8e01d3k6b934f904bd41395@mail.gmail.com> (sfid-20090205_140026_635712_95D5FAA3) Subject: Re: [PATCH RFC] mac80211: Filter scan results From: Tomas Winkler To: Jouni Malinen Cc: Johannes Berg , Dan Williams , Samuel Ortiz , John Linville , Reinette Chatre , linux-wireless@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Thu, Feb 5, 2009 at 2:12 PM, Jouni Malinen wrote: > On Thu, Feb 05, 2009 at 01:44:15PM +0200, Tomas Winkler wrote: > >> Just a thought If user space will be able to merge 2 scan results we >> can then split then in 2 separate reports.... > > Theoretically speaking, yes, WEXT could be extended to do this with some > kind of scan parameter that indicates which 64 kB block is requested. > However, I would not suggest going there and I would probably object to > a patch that tries to do this either in the kernel or in wpa_supplicant > for that matter. I thin it can be done w/o extension of wext, j ust the eviction of old scan results is done in user space.IRCC the time stamp of beacon/probe is part of each entry. And user space state machine should be able to react on nl[SIOCGIWSCAN] w/o issuing ioctl[SIOCSIWSCAN]: > If you really end up hitting a case that does not work reasonably well > with 64 kB fix in user space, I would suggest looking into the > cfg80211/nl80211 scan stuff. The only additional thing it needs in such > an environment is to get better optimized data structure (for which, > there is already a proposed implementation, too). Guess we need to proceed with cfg anyway Tomas > -- > Jouni Malinen PGP id EFC895FA >