Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp3835973ybf; Tue, 3 Mar 2020 13:52:24 -0800 (PST) X-Google-Smtp-Source: ADFU+vvGRkw5DRmmgqBWcJhr02Yk2OKvsE0ggSclI/graOXKz8Vk1MGDqJUX1YPyrODaRKg2gtNV X-Received: by 2002:aca:4987:: with SMTP id w129mr451079oia.103.1583272343917; Tue, 03 Mar 2020 13:52:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583272343; cv=none; d=google.com; s=arc-20160816; b=gjVYQQwpSqZ6qb6hgNJbHT9AHkiPqIQ08qrzODdmW61HC0hJQ859VfX4UNXth9OooS zr3zO6th+d862GAhu8xNzYew2aiO2ZRH1df9T9dXkfxEteaiNB7hWRPkpRMWS4+AlfWb 8qc0lyofAkSKwoNVyp9d1iUUZSX54AjFSqvPL9V8by+4ZYHaDqhc/dh6jP3c+qyNLJyT 7PYB4PcGfmkJJeBaS3vwzPLg+SIEkBzBGvMsq+nShuT3A5T/CCIzJHZl72QsLAj5T7Y3 aAuougMlnfrBidY4o82evtAzGyZ2N6E59K3PKioZ0jj9atc+RXBZQrIMFECqzEGnQNlc 1ysA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=ieapjvCxzU2x+tzelyMPr/HKvEjbnBkz/ofpPhSydC8=; b=etBz4ubzxTN/cvpVL8m8VCTuHpD4xOnX+UaK7k/Dh4bNM1Ua8ZBwylCCNwLIdsYo/j rGmwoj3dC03eHn9/XBwBgDcGafOjDHs4oNmuPg+Gm+zdKXUsRhFIgtLI4V0Ofe88HNrl gVcQhS3ZHme7Sdva3LDOs9K6WaKGjEPDvIsSjrtptCerJLXHiuTfWubE1/TmggeA4JS7 3SgUGAOacl06F1jOajgW7m+iC+HPJqC4fJzCpF59VdTedjJjmhuAp69diihLQS2TMdm/ cyTXr31zytBogxiu9oYHyc7TuS4QEbtlqsqzNIUmEUqBKvQMIPXegw75+bDWn+6Xz325 DZBw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l128si28533oih.238.2020.03.03.13.52.12; Tue, 03 Mar 2020 13:52:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732452AbgCCV2B (ORCPT + 99 others); Tue, 3 Mar 2020 16:28:01 -0500 Received: from s3.sipsolutions.net ([144.76.43.62]:34910 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730958AbgCCV2B (ORCPT ); Tue, 3 Mar 2020 16:28:01 -0500 Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.93) (envelope-from ) id 1j9F54-00DnIh-Pb; Tue, 03 Mar 2020 22:27:58 +0100 Message-ID: <8445336f5d71533acf17b6c53fcc88e7faeab3bf.camel@sipsolutions.net> Subject: Re: [PATCH 1/3] nl80211: add monitor mode scan feature From: Johannes Berg To: Markus Theil Cc: linux-wireless@vger.kernel.org, nbd@nbd.name, lorenzo@kernel.org Date: Tue, 03 Mar 2020 22:27:57 +0100 In-Reply-To: <20200303115017.9845-1-markus.theil@tu-ilmenau.de> References: <20200303115017.9845-1-markus.theil@tu-ilmenau.de> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 (3.34.2-1.fc31) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Tue, 2020-03-03 at 12:50 +0100, Markus Theil wrote: > Back in 2007 "mac80211: don't allow scanning in monitor mode" > (f27b62d3e7ec) disabled scanning in monitor mode, because hw > controlled by the zd1211rw driver got confused during this operation. > > Nevertheless, it can be useful to scan in monitor mode, e.g. > when building a tool which processes scans, channel surveys and > monitors the channel passively in monitor mode. Hmm. I'm not really sure that this makes sense. You're in monitor mode, so you won't get any scan processing as such (you will not be able to use nl80211 to retrieve the results!), and there will be a lot of confusion over sending probe requests (the code now looks like it would in fact attempt to do so ... but how?). johannes