Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp96771ybj; Mon, 4 May 2020 16:52:28 -0700 (PDT) X-Google-Smtp-Source: APiQypLbPTJkl7jLgOkFK8HDX/inH7+z6ZAmp9LrKEQd1AsTwEI3DxtBrMxcZEuT8/kBK4BCryig X-Received: by 2002:aa7:c609:: with SMTP id h9mr456362edq.250.1588636348166; Mon, 04 May 2020 16:52:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588636348; cv=none; d=google.com; s=arc-20160816; b=jNKhosB6Go3RBdxtrxhr65oAfrxV+72oVoI6tus35rj2lGueNVBflkb5TG2HeJ0/ne eAD7Qqgv+EZb/jBBhZFSzhJQf+wZ+Cs3NmwoZN0g1CI/5VeLE22VLvyn9tze+zJHn2n2 +2d4U9oRLCp36SOT0aO2YGJ6fVNpf2Er2Kzz26zZAz8BQf+Mg/TD3SdmH6vXjuA9SOdw /mqPu7YhtF1qbNwhxCyzumAWttujSlF/gw2alKv1l+qh4g4CzPZWWnk3un7WwbJw9Dff hEUfF00X25YRN19X9AiG0hDVxVtqF6n7/KYcD3TEtDeJcoqiT7fLv+J1uU0Erywje5Pv n27A== 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:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:dkim-signature:dkim-filter; bh=aj+I8VEDhl4iOYz5aystSOycnWl3nZE3H13y0SSnbkg=; b=eLsGZ+15H5bkoxy7e7aF3eY9BLbsRCbnmxiQVYsL8481daRct90RdmZYGUMqbjh/7R gxyVxmQ3CGwjut7pk24oRYmkIcpsWqxgbeHkSB899TZrzGUkJqtVtUrN3DGi4EZNVgJC MQh+9jJwjlk0yRKk2iqU+jxVQ870hX8X56StsLuENKmsxVVDcsZVaTWp84MKmqJDvll3 HO9JoJdrrZvJ0DlzWEbWd38M7rPHuOLPuFgtU1Pw7MEUZPCDSDK+C8SxxzBuv52pXeLs yGxFAVfwe9OYTLTp3CM7XVOxWgju/Q27PyWxTe2/08Eh2GwKyH6sX/61xPeu0FRRzbsu eQtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@candelatech.com header.s=default header.b=rYVmW9zd; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=candelatech.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qn4si58655ejb.209.2020.05.04.16.52.04; Mon, 04 May 2020 16:52:28 -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; dkim=pass header.i=@candelatech.com header.s=default header.b=rYVmW9zd; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=candelatech.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728430AbgEDXtV (ORCPT + 99 others); Mon, 4 May 2020 19:49:21 -0400 Received: from mail2.candelatech.com ([208.74.158.173]:55250 "EHLO mail3.candelatech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728353AbgEDXtV (ORCPT ); Mon, 4 May 2020 19:49:21 -0400 Received: from [192.168.254.4] (unknown [50.34.219.109]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail3.candelatech.com (Postfix) with ESMTPSA id 70B6A13C2B0; Mon, 4 May 2020 16:49:20 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 mail3.candelatech.com 70B6A13C2B0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=candelatech.com; s=default; t=1588636160; bh=FOB1U3QVYCyG3wm/IhkIjxv7yks2Kjv4QKsl8PiY2XI=; h=Subject:To:References:Cc:From:Date:In-Reply-To:From; b=rYVmW9zddMvVkJtdh6fQKF9z6ggOQhrOrWt5RnIty5MjBywlAbB7z3iQErMSEKz9s jcNBAcHhXe/yEYB02rQ0Bj7JdhvEag92sGPfxuVVXVJ5NWq2EMYzbJwbuTt0HuXhYH BS4jR+VTl9QBkB2gBIhzJJ0Q0M+K1sEOQcqtkd9s= Subject: Re: [PATCH 1/2] ath10k: use cumulative survey statistics To: Rajkumar Manoharan , Markus Theil References: <20200504154122.91862-1-markus.theil@tu-ilmenau.de> Cc: linux-wireless@vger.kernel.org, kvalo@codeaurora.org, ath10k@lists.infradead.org, ath11k@lists.infradead.org, linux-wireless-owner@vger.kernel.org From: Ben Greear Message-ID: <323b4d4f-a967-cf63-6f5a-04f53802c50a@candelatech.com> Date: Mon, 4 May 2020 16:49:19 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 05/04/2020 04:46 PM, Rajkumar Manoharan wrote: > On 2020-05-04 08:41, 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. >> >> Signed-off-by: Markus Theil >> > > IIRC this was fixed a while ago by below patch. Somehow it never landed in ath.git. > Simple one line change is enough. > > https://patchwork.kernel.org/patch/10550707/ > > -Rajkumar Have you tested this with wave-1? Lots of older, at least, firmware has brokenness in this area. Thanks, Ben -- Ben Greear Candela Technologies Inc http://www.candelatech.com