Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp105942ybj; Mon, 4 May 2020 17:03:20 -0700 (PDT) X-Google-Smtp-Source: APiQypLG0x/DAC9E6JKN2xF3W7+2rc0VlXgrS9Z0fXolNck3+lWL8hD0Ma+5poJoSqV+HM/8j1Qm X-Received: by 2002:a17:906:7282:: with SMTP id b2mr251009ejl.161.1588637000515; Mon, 04 May 2020 17:03:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588637000; cv=none; d=google.com; s=arc-20160816; b=cdfOP2i5m5L9ZhzSJswQcRm8pKZpR/s5yyJmtZ28kq3qY/gTYOWkia0EiEEfGRCwrM ovyVM/BZrvcfATV3ryb0cSsKA9Ctp5uSH4JsKsHvqqxCWxcvmz+ew2u4DvNVCo3Zv0hT Lnyh3yguq+Lid+susGCdH4jZLHXKegU8b8brebJEafNFiJeO9bT2UQLa2tbGoxkwBpku 3gpamCku1hr6BQZoZdJ1qffYROKGv+Kmshk1sIfn98JHrjAVMaiZEsX1cXf9d/q+UIwN UViEL14RSrGM5R/jYprFlb6RjdkB9VMFU6S0RrlM6aAx7S6O2u4I7AiGnh/pd3I2vMIq UNvA== 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=TxJVi+YOU/KdJzMUVdx7rq0KCtjufy7j1mD4WfjoYeU=; b=GQC8E1mnyrPV5j3vJdplc6pURqHoF30PA4oJdtRR+mpMy2XSvtfGIT3QR3c2GrNBFm bZxS1DCFp9nt0obJR0SLxhcsrBqBFSl2GVLWmaaCMpWdhSN8/WMK0qFT+g9P5lAI33Tx 6V5hlhygMvX6ti0p7ZpJFdr8YdIAWteWiqb9YWoDD2RdL7hW6DDUsQPKBaNJGsdg+98V q2ECYxfpQ+UZjf4WRwFdF48wX6YvI/OnlOkWsZwI2BfPx2IpmyPip64CAWAhi87tjYU9 G+VTbh7irzg10JNjk6f53DADEEeoLPQPWMl3IZ8yfpfR1z+GCDDBJ2gIID0K31ZQb2Bo RTHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@candelatech.com header.s=default header.b=sC8XmVRN; 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 q20si313660edb.36.2020.05.04.17.02.54; Mon, 04 May 2020 17:03:20 -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=sC8XmVRN; 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 S1728383AbgEEACo (ORCPT + 99 others); Mon, 4 May 2020 20:02:44 -0400 Received: from mail2.candelatech.com ([208.74.158.173]:56628 "EHLO mail3.candelatech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728376AbgEEACo (ORCPT ); Mon, 4 May 2020 20:02:44 -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 3010E13C2B0; Mon, 4 May 2020 17:02:43 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 mail3.candelatech.com 3010E13C2B0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=candelatech.com; s=default; t=1588636963; bh=Um9qS9gMVFpziLD0y++FXs7GTlBwSq6hU8KvFDT7SJo=; h=Subject:To:References:Cc:From:Date:In-Reply-To:From; b=sC8XmVRNtusQqXdUSdOe55Fc0/SoPRkDS5IAa/StrszxF7pC/ry6Rixw6F091F7Y+ S6p2loQuzVK5Cy5UeEBEbmIdyAu43kVfYJ/kGrUW8v82gABb4bX5+1+y6OsWZ5QCTg EG1AnFRc11nQX9b+9W/Evoueh8vZ6huuRdauYVoY= Subject: Re: [PATCH 1/2] ath10k: use cumulative survey statistics To: Rajkumar Manoharan References: <20200504154122.91862-1-markus.theil@tu-ilmenau.de> <323b4d4f-a967-cf63-6f5a-04f53802c50a@candelatech.com> <4b03993ba81a8e9ebb1203c0b8aa90f6@codeaurora.org> Cc: linux-wireless-owner@vger.kernel.org, linux-wireless@vger.kernel.org, Markus Theil , ath10k@lists.infradead.org, ath11k@lists.infradead.org, kvalo@codeaurora.org From: Ben Greear Message-ID: <9044aa57-ceb2-fecd-e220-eb8b7c0db4b5@candelatech.com> Date: Mon, 4 May 2020 17:02:42 -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: <4b03993ba81a8e9ebb1203c0b8aa90f6@codeaurora.org> 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:52 PM, Rajkumar Manoharan wrote: > On 2020-05-04 16:49, Ben Greear wrote: >> 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. >> > Yes. It was tested in wave-1 as well. Venkat replied to your comment on original change. Ahh, sorry I missed that. Hopefully no one is using the broken firmware anymore then! --Ben -- Ben Greear Candela Technologies Inc http://www.candelatech.com