Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp744787pxv; Thu, 22 Jul 2021 11:04:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy8Bi7bknTH0tFnkH1u1j9Pb2epDM9U5teMp+609mtsb+qwVL+O+Jmt+b8aYWDfTYF//5f5 X-Received: by 2002:a05:6638:1608:: with SMTP id x8mr650837jas.115.1626977072685; Thu, 22 Jul 2021 11:04:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626977072; cv=none; d=google.com; s=arc-20160816; b=ekxZp6tm2g32EIiBOlGqxMbRjtgUOssJQcUrJiH6eMutIzpmQVKpdqiYgGPvmg1GdD fppUD2n8Nv8mpXcivIotdXt4ouKqcLV0Me9sGxvi8DA1XU7kjHTAC7ldxywqkcIqbxlq BbtX7PimweUAaPTYr3vvlGUxXg2lnlCwQ+4tBfBWzXA+P6C5DCF/lLYVG0NPPm9sPKMR by7UNDLrgSQqtuLX/DPMmzYXf5d4hMmdt3hzO+MK/VRxJyyG3AodLsxAc0nKzfbgbOGQ Md8IT9j4XbynetfrUlh85bec/6/zr7/6iz9bH4Z9lnrRlQj8WdjU4oFk1AQkuk1cF4IN oxeA== 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 :from:references:to:subject:dkim-signature:dkim-filter; bh=hWmyfExgbrFweRpiMYK/7qnGcLT0cquwnIcxSxEFP4U=; b=nrD9osp20gUJr2vNTpkNLMEtevzkXXtzZ8KriKAtuiLmKPNzq/QVcS5ai6NGZvovKe gvk2kUoBq/Y4vDNogIpZZgY+RcwPSmhBqVUite+wByyc1Jh7OCOGfbDtMOFTfXnVFzC8 1uE03+cvZmgGiiLx9d+37w5M6APtl9trqTg9zX7i6UdgXkKswP1NNy7DqTisCx+acAiR Xk/6nUTKVlAFBZmVwVXkQ85Dm6Sda32YSXDu/h8Xc8zHndOQtLsTBQugjWzoOCpdXN/U z1Rd+f5HCj1hnxEzyQWKkWacAIgQGDxSGGq79/MtjxpV/EQCueKKBQl3pvZpJnvQaY1q DrAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@candelatech.com header.s=default header.b=E3xzelUC; 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 j1si13197903ile.62.2021.07.22.11.04.12; Thu, 22 Jul 2021 11:04:32 -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=E3xzelUC; 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 S229966AbhGVRXN (ORCPT + 99 others); Thu, 22 Jul 2021 13:23:13 -0400 Received: from dispatch1-us1.ppe-hosted.com ([67.231.154.164]:47220 "EHLO dispatch1-us1.ppe-hosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229909AbhGVRXN (ORCPT ); Thu, 22 Jul 2021 13:23:13 -0400 X-Virus-Scanned: Proofpoint Essentials engine Received: from mx1-us1.ppe-hosted.com (unknown [10.110.51.26]) by mx1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTPS id E8CF820068 for ; Thu, 22 Jul 2021 18:03:46 +0000 (UTC) Received: from mail3.candelatech.com (mail2.candelatech.com [208.74.158.173]) by mx1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTP id BBACB94008D for ; Thu, 22 Jul 2021 18:03:46 +0000 (UTC) Received: from [192.168.100.195] (50-251-239-81-static.hfc.comcastbusiness.net [50.251.239.81]) (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 3AC4C13C2B1 for ; Thu, 22 Jul 2021 11:03:46 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 mail3.candelatech.com 3AC4C13C2B1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=candelatech.com; s=default; t=1626977026; bh=9dsAdrd9yJF0lANchuZT6kzRegOIW5wOinXme5wXPy0=; h=Subject:To:References:From:Date:In-Reply-To:From; b=E3xzelUCTFBvuXpuFf3JYsPXZYLiS8JNXwqS8bdb86OKcm4BcFEWHslceF4gbnufk qPIB48NYj2DY/+kGTHyLC7QUugI5H4GYbyRBHn2tkacniLmSre7qyTk02erMxLQvuf mGOlH/Ql9eLGLJiP+J3ZQuPFPox/uxOVWNYjf7G0= Subject: Re: [PATCH 10/11] mt76: mt7915: Report tx-retries To: linux-wireless@vger.kernel.org References: <20210720182256.30536-1-greearb@candelatech.com> <20210720182256.30536-10-greearb@candelatech.com> From: Ben Greear Organization: Candela Technologies Message-ID: <41e9db97-741b-a4a3-4b15-2c1ea36a7f7c@candelatech.com> Date: Thu, 22 Jul 2021 11:03:45 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <20210720182256.30536-10-greearb@candelatech.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-MDID: 1626977027-z7QVHiRwAg12 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 7/20/21 11:22 AM, greearb@candelatech.com wrote: > From: Ben Greear > > mac80211 stack will only report tx-status for skb claiming to be ampdu heads, > so lie a bit in mt7915 and set the flag so that mac80211 will record status > for each skb. > > mt7915 appears to report retry status on an individual per-skb manner, > so that method above seems to work. > > Re-constitute the txinfo status rate info so that the rix and flags > is also at least close to correct. No direct way to report HE > rates that way, so mac80211 might could use some tweaking in > the ieee80211_tx_status_ext to take both info and status->rate > into account. Please don't apply this patch, it has a bug related to the aql and how I cleared the skb shared info struct.. I will fix this directly and re-post the series. Thanks, Ben -- Ben Greear Candela Technologies Inc http://www.candelatech.com