Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp1575100rwb; Thu, 19 Jan 2023 12:29:38 -0800 (PST) X-Google-Smtp-Source: AMrXdXtCahBlDpx+FVZ929m9fhnxTJvadkb3CNTMqiVIAJWIYF9JOye7AQiNWkf7/GcijOnFnDAZ X-Received: by 2002:a17:906:4684:b0:86f:b99c:ac8d with SMTP id a4-20020a170906468400b0086fb99cac8dmr12722585ejr.44.1674160178365; Thu, 19 Jan 2023 12:29:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674160178; cv=none; d=google.com; s=arc-20160816; b=ucyKUkIesFWi/Lb7dyWPgAsN48+yVsNROjuPZc7/v+q5zvoBG/USFijmVQMzi5Dpm5 cXeY420AnsOiPHnXPsKuojpMvlYXteSQPPyN+QxRpxcSt6Q7EI5oIWW6OBOfEYCPqcXi e1p11ivtyFDjbkI0DPeH9qzqrrdLFDHonk88R3kWKitu2Pdervd16nxJJgktSmmjrNSG 1bCsJzrnTQ6tJXpfeU8hVF/US6d1LLZuyNXMNtEAmqmpXolRTuQvho6DiTS5xMS/hPAu BB1qLr6pbTQml2qOyslgjouiSmy0WSnChqVkYGolKNkpzoAJTDpwmpixeTj8RNgisVJK 72Eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:feedback-id:dkim-signature:dkim-signature; bh=4xbrnFLhcmh1rZxMU27tTFyIb/ImY7Dp6wUugS/RQIo=; b=EgXdKsG5RlpcTTo21aRccTilYcV1DDoM+BhhqhRJcnRXIpGIwtshUidKnDpUjH9na1 qqqBxLFDn/7aC7GKGx2sr8g0YyC6em7g+Mqo1ZjHTwi8wi0ZQa1GdPq3z4hVXQ0rrS02 LXeSkZ85YvJpn3NmdYAE9h00bchDaj+oAGJQCuublCbqNHsq7Z43z6OFD9mwvNvsw/6E 3Y+qVdonXyT9LvECJEjblIeVOjv3hTqtUhDWg3RWS9uX42dhrksXgE521ZQtGd9pTwah euockQPp5ZgdBzcNB5et7KuNCrA2GI7+jnf+j94A4xAmW71i7t8c5hbUl4qDbBa4IlAH BIoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@airpost.net header.s=fm3 header.b=0oQu4hmf; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=mehJyXhf; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=airpost.net Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sb16-20020a1709076d9000b00872733f3b8esi10804748ejc.231.2023.01.19.12.29.20; Thu, 19 Jan 2023 12:29:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@airpost.net header.s=fm3 header.b=0oQu4hmf; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=mehJyXhf; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=airpost.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229968AbjASUZc (ORCPT + 63 others); Thu, 19 Jan 2023 15:25:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39374 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229770AbjASUZb (ORCPT ); Thu, 19 Jan 2023 15:25:31 -0500 Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BCC6E9B136 for ; Thu, 19 Jan 2023 12:25:30 -0800 (PST) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 6C0015C00D5; Thu, 19 Jan 2023 15:25:28 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Thu, 19 Jan 2023 15:25:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=airpost.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1674159928; x= 1674246328; bh=4xbrnFLhcmh1rZxMU27tTFyIb/ImY7Dp6wUugS/RQIo=; b=0 oQu4hmfwHOzYwmjrDeFIYr4bWrI6UtWdfgwxj5f4qg06hVHg59l4QhFLBK+RW0wC YsZ201pxJemCpBpSw+3B0jD2SDMpOgS/DS9UjMNLOsRLNV8GuFQiPtuAQB5L+u8A 4wtzdehEWdI7VJvdpgXDYpLj3Nozef85KDeGxw+p2QbpmugCBbTtTW5Mv2O51Nsn 6TCKLkRkCT7pG4QmRABb6+BZe9lgX5fuu6qScMO++tJPGGflEHzgV1xzAzEJRQhb WsDUlNFSE3nM8jO/vqEAy0E7CC99KC+dbMTAb9SC1/nI3kNBQTaz3iowyv3TtGOp EBpWzsmX48712GLktS3Rw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1674159928; x= 1674246328; bh=4xbrnFLhcmh1rZxMU27tTFyIb/ImY7Dp6wUugS/RQIo=; b=m ehJyXhfafCDp+ZFhWpxGGq3Y7j0uUDoBdWzMT1eeO193v/JJ//l9GYkO2gwrwAhV xVrjeJ0Krmhj59KnBQwaCvjgwppcqX149UvUNVQGHCbzHhPHNITOOQ2Vkfg9+8jF BJ8d28SH/FWvCLFtfsJV7p0k3dUD/Af/kA9Nq02aGWKOlesmGc7tJ1KEsIStTQXS ykZyB/4jZOPWzAXMVmkOpJZ6SD8iealby0ICT5kcL7AnfNLPB29GO7EFhI5+KRx/ 0i0CGyS57QY5s9zCNbThXV+ffBW9hLPXkNfNlqJ6R1OGEHye7Np8ID+l6dlud8Cd 7lFfjOunzhs1Ju+66dqng== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedruddutddgudefjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefuvfhfvefhkffffgggjggtgfesthejredttdefjeenucfhrhhomhepuehr uhhnohcuffgrnhhtrghsuceouggrnhhtrghssegrihhrphhoshhtrdhnvghtqeenucggtf frrghtthgvrhhnpedtheevgeeiteehgfetkefhleeftdejheffheeuhfffgeduveeffeel gffhtedvheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpegurghnthgrshesrghirhhpohhsthdrnhgvth X-ME-Proxy: Feedback-ID: i1cfa4199:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 19 Jan 2023 15:25:28 -0500 (EST) Subject: Re: every other wireless scan shows bogus (too low) signal strengths To: Johannes Berg , Julian Calaby References: <80556c56e69405d7c8f8bc3d57e2ba697074c660.camel@sipsolutions.net> <9093c08e-302d-578c-3e16-619d238b4022@airpost.net> <90bb34e9-4e83-dcc2-91f2-e6f28ddbcc73@airpost.net> <1592b9b4354d67c104d2782915e1a66d0a972b92.camel@sipsolutions.net> Cc: linux-wireless@vger.kernel.org From: Bruno Dantas Message-ID: <2920b7de-5515-3f5e-5982-abaf5bb8bc91@airpost.net> Date: Thu, 19 Jan 2023 15:25:27 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <1592b9b4354d67c104d2782915e1a66d0a972b92.camel@sipsolutions.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Thank you for getting back to me, Johannes. My hypothesis was a wild guess based on almost no evidence, so I'm not surprised that it was totally wrong :) Despite remaining unexplained, the behavior is perfectly consistent. Plus, my system is very minimalistic (e.g., there is no network manager, all network scans are explicitly initiated by me, I only use iw for scans). Because of this, I wrote a wrapper script around iw. If action is anything other than scan, the script bails out and passes all arguments to the iw executable. If action is scan, script does a disposable scan then passes all arguments to the iw executable. It's ugly as heck but I can live with it. Happy hacking, Bruno