Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp14208520pxu; Mon, 4 Jan 2021 16:22:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJxVK5HPsBKotflMNid/b/Xrb55+8s4eBzRksOgvRHdXPLiI0hyQJfXU2/qcI30SX0cGDxwi X-Received: by 2002:aa7:c753:: with SMTP id c19mr18809273eds.358.1609806165367; Mon, 04 Jan 2021 16:22:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609806165; cv=none; d=google.com; s=arc-20160816; b=ClS/Eab2iKmq3fUxzxSn2/FIlGSd06z1VGyE2yAkX01eWM/p+kSqZY2BR/qfBAw8hz mWr1PshRr9PKb/e/v7rV844zq+57Fm+8gigoBr7a4Ns/NquPuDBvX885qnIePq7ZjeHU 9JKTIjkhaMLs7ToSn/37A95Q/fDf9LEUp270y4KqiTBIV6BSSj6cXU8l/TtqeLigZD/7 dwDGng6BNH9Jy80q+mKkbitq+s/VOHynRkxyn81gOl+sRaTxH9X3uskzyrLYMzhRnvNz eaC8a0Yivbk/UWVo/hZEtTbXyKh2I1U47I79AkGqJ47H6vRyhpo1H2yl/zg+v82aYmQT AeSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:organization :references:to:from:subject:dkim-signature:dkim-filter; bh=I2BRH9610SnmShJNyWyP56Dc1xGTgV7bF1yjBt5/0TM=; b=D9veRJyR9yPdK8Wla9TWZ1s+ZHvVdJvIrXvheVGoGxNVh2Z8zd0m0mSlkqAdMmrrHZ LfPFoP8c1fF5hUpmxiUVCV+CH/hgxGBDcd87rn08c1OVcu61WywvWWlAx5Ie3Oz8hw7w /gIHmjHj0ULAg4ghxzpsCjczGLzO9ibG2jrdk+feBAEsBW0eCX9jsq1lYKCWJRM2OLuk IENDc8REOHQK9b1bZY0ErgR0GxHC8yvONqoTBVaGk63L7Z+vD4bjIy0UgPi4Lg7WjPf/ lYHjdgh3bMaGVCs6lDuvCdbZ+YHfntFtCK29eQeMST+66RSR74UFx7ZKpP5omBUffuuC mlVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@candelatech.com header.s=default header.b=oc3z+Rck; 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 eb10si15132344edb.192.2021.01.04.16.22.20; Mon, 04 Jan 2021 16:22:45 -0800 (PST) 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=oc3z+Rck; 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 S1726258AbhAEAT2 (ORCPT + 99 others); Mon, 4 Jan 2021 19:19:28 -0500 Received: from mail2.candelatech.com ([208.74.158.173]:36318 "EHLO mail3.candelatech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726163AbhAEAT1 (ORCPT ); Mon, 4 Jan 2021 19:19:27 -0500 Received: from [192.168.254.6] (unknown [50.46.152.101]) (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 1A3F013C2B0; Mon, 4 Jan 2021 16:18:47 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 mail3.candelatech.com 1A3F013C2B0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=candelatech.com; s=default; t=1609805927; bh=BgBvQ3tngIKZfMOStwU79haJSNRA7/wJGpW6iPo6NVY=; h=Subject:From:To:References:Date:In-Reply-To:From; b=oc3z+RckfgNIgraoev2Fa09WXm/jr3QvMLOA2r8joxrNq9pedQTIScGBM4ZlsaD8C nvyt4ok3ZqWPcwkoG+IG6JQtii51+x8563QUqkvRL8WeB8KHQr42wkNpON+QCI8z6i D9HUGou13ykfXmHRL/w7etZtzPphIn8q1s3AjVi4= Subject: Re: RX rate is wrong in 5.10? (bisected to: mac80211: receive and process S1G beacons) From: Ben Greear To: ath10k , "linux-wireless@vger.kernel.org" , Thomas Pedersen References: <584816e2-ed18-3d5e-651e-293637222148@candelatech.com> Organization: Candela Technologies Message-ID: <5dc86950-1672-6900-dad4-3b437f4959c5@candelatech.com> Date: Mon, 4 Jan 2021 16:18:46 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <584816e2-ed18-3d5e-651e-293637222148@candelatech.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-MW Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 1/4/21 8:18 AM, Ben Greear wrote: > Hello, > > I noticed that RX rate is always 6Mbps when I use -ct firmware and -ct driver in > 5.10, and on stock 5.10.0 driver and stock firmware, rx-rate does not show up at > all in 'iw dev wlan1 station dump'. > > I'm using 9984 NIC... > > Anyone else see this? After a bisect, the first bad commit shows this: commit 09a740ce352e1a1d16b9984115514ba9a4f4704b (refs/bisect/bad) Author: Thomas Pedersen Date: Mon Sep 21 19:28:14 2020 -0700 mac80211: receive and process S1G beacons S1G beacons are 802.11 Extension Frames, so the fixed header part differs from regular beacons. Add a handler to process S1G beacons and abstract out the fetching of BSSID and element start locations in the beacon body handler. Signed-off-by: Thomas Pedersen Link: https://lore.kernel.org/r/20200922022818.15855-14-thomas@adapt-ip.com [don't rename, small coding style cleanups] Signed-off-by: Johannes Berg From a glance through the diff, I'm at a loss as to why it causes the symptom. I manually double-checked the bisect, an it appears correct. What I see is that in the commit before this, I see a useful rx rate (1.3Gbps for instance) in 'iw dev wlan1 station dump', but in this bad commit, both show 6Mbps rate. (Tx rate in ath10k is probably broken for other reasons, so I only bisected the rx side issue.) I'm using ath10k 9984 radio with firmware 10.4-3.9.0.2-00070 in station mode. AP is an ath11k Hawkeye... I'm using a 1Mbps UDP packet 'download' stream to make sure I'm seeing rates for data frames and not just management frames. Any idea what might be the issue? Thanks, Ben