Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3782987ybz; Mon, 4 May 2020 09:36:50 -0700 (PDT) X-Google-Smtp-Source: APiQypKIKbDzdNYPM3dt6gdYV5I3Kr4YliSgGlBD6fdjZUkQXv0zmttWwsJCRmyWb3djdl5lMRco X-Received: by 2002:aa7:d1cc:: with SMTP id g12mr15683783edp.84.1588610210736; Mon, 04 May 2020 09:36:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588610210; cv=none; d=google.com; s=arc-20160816; b=mx8ybrVISGUcQepoKGhJNM+g1ZRQptvUHnuVcHLuZXjHRVND7uwgaRWyBQgaJPEsKP KswhZCPabVKHPnsuilZyCZ8AoO8x2tNN6W7+5NAFCU0VxZaNpsF7T/pbDWRWC1q6P/w0 SSl0qz62SbaJgLV5oknYBEVCid+OT1Fp0quRAxwau18VYmIHmQcXmDDIWAJgr0/z+N7S 6C3JCoLmlS3Q3ORrykzvd8jMu0Gfup1N0s5zTbP10C/MZLHt8mESA/1jpiXt2pPIVK04 6qFrTko9m78vuCPln2sanC+qGzUnW0mFtevdCCePh/a7JTDOuQgg6TfnOUqkf9LcaAfU iAOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=SvAncVwj1CCqrPztb4w93s4vSloXBK5mWT+AQXyXc/Y=; b=nCrIyVl4bOtO9MwqZir5WbMCpmhuO6rQMoxTiLFecrewoiJG9Vr6aLcagnswkm5LHq hzhOyW68df/EiVXJBRe7j6CGVueFHNexSBBQ0KUFR3YE2nzjznmEvhmqqNoKe1NDsftO EfcohTbG1RF0nOZSMOwqHMFPTXxViHXjeXDUnV9HR0v/XJ/hLhhWGegYU2NGAiGhG2E/ OThwHZxiXU4KjbiYz+0WtEL+nwb//dfeLNx7MXH2N/Xp+lsFeEx3YbKNfPIIKQjKUO88 oMmD0OliBqcfD4ertqvBlT63r5NCjN6j3SVBQfyPcDLNiEp751qrMyEqhl2Pv5vTM8va hTSw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t24si7283069ejb.144.2020.05.04.09.36.19; Mon, 04 May 2020 09:36:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729606AbgEDQdq convert rfc822-to-8bit (ORCPT + 99 others); Mon, 4 May 2020 12:33:46 -0400 Received: from smail.rz.tu-ilmenau.de ([141.24.186.67]:58562 "EHLO smail.rz.tu-ilmenau.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728158AbgEDQdp (ORCPT ); Mon, 4 May 2020 12:33:45 -0400 Received: from [192.168.178.34] (unknown [87.147.56.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smail.rz.tu-ilmenau.de (Postfix) with ESMTPSA id 26FA4580243; Mon, 4 May 2020 18:33:44 +0200 (CEST) Subject: Re: [PATCH 1/2] ath10k: use cumulative survey statistics To: Sven Eckelmann , ath11k@lists.infradead.org Cc: linux-wireless@vger.kernel.org, ath10k@lists.infradead.org, kvalo@codeaurora.org References: <20200504154122.91862-1-markus.theil@tu-ilmenau.de> <1760068.xeLkAeoAig@bentobox> From: Markus Theil Message-ID: <5a4c9924-e727-30e7-8409-967c361c2fae@tu-ilmenau.de> Date: Mon, 4 May 2020 18:33:43 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <1760068.xeLkAeoAig@bentobox> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8BIT Content-Language: en-US Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 5/4/20 6:29 PM, Sven Eckelmann wrote: > On Monday, 4 May 2020 17:41:21 CEST Markus Theil wrote: >> ath10k currently reports survey results for the last interval between each >> invocation of NL80211_CMD_GET_SURVEY. For concurrent invocations, this >> can lead to unexpectedly small results, e.g. when hostapd uses survey >> data and iw survey dump is invoked in parallel. Fix this by returning >> cumulative results, that don't depend on the last invocation. Other >> drivers, e.g. ath9k or mt76 also use this behavior. > It is (unfortunately) not that trivial: > > See code and comments from other people: > > * https://patchwork.kernel.org/cover/11150285/ > * https://patchwork.kernel.org/patch/11150287/ > * https://patchwork.kernel.org/patch/11150289/ > > Kind regards, > Sven Thanks a lot for pointing this out! I was not aware of your patch.