Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp878043pxb; Fri, 22 Apr 2022 13:15:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxCuo6S/3kMuTEG+jQjkymRb5hgxC/HNcDh4tR6SjFzLdDF0r7y+s7WRGv/YjQsFxM23BeJ X-Received: by 2002:aa7:9041:0:b0:4fe:3d6c:1739 with SMTP id n1-20020aa79041000000b004fe3d6c1739mr6592655pfo.13.1650658525106; Fri, 22 Apr 2022 13:15:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650658525; cv=none; d=google.com; s=arc-20160816; b=vMD5xfYrtjAoiqQv+NoOwQImPyVh0FJvUWahSrC7RT5uVKPOUxtQDCkyUlOdklSyRW qDDyZfUjp3NqnyChNR/XqcSGbPovreOP9g9b7gFhZrylNVJ1slcQ/4e+oXpQgcewo+hC YmlVv7Qe9CK+wsHeumQcfu49qHZSzKkS1c66b4NEHuTwfbgD+Vt+A9+V8y1gzv5KtjSx 3RFxZzjDMutmGnCtn61VGCh+9eRhPDzKaAqmKyi9TC3yeX1pSfWAdvKUexwy8xXrXdIF 3/QjCnUOjApzgdrq35Cn86cvGDJAHk3cexckMILEo1C/bXV+cdAqCsCfPTScy9YTlKx8 0BVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=c/02Q/vf5R3LFZzkS8JBR0foELszGqvAH/lUEI2ausk=; b=zI+LAJptmd2ytbgtQn/fecb2L04lwD+ewqbbSSa1PXVJWckrFpeZXBmKWo1/cJzwD6 CjCs/K4PtAGT+BzmQNCMNjwU8FrYQk/WWBwg+fVupd4xHh0fUgox/0YExx58ov6j3cwi 5aVEC5wMgXS3LFmcAGnT3sPivhDeJxtJSfa+NKbbOF/s1c40alafiSNWpplWgHtyaNJk 9c5YCKypPFJeDiq8lGAYTj40NPZbACk7/FhTnR6d0Ap0EiY6NIhMm/WS+RnwGYG0Ui27 WZdd6KQuLY/fcOQvYW7LPBHN439notnLMPWaHlzSpnCdpVImsW1FAUihUujZWAWtDXts fDhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=edEm6nmY; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id 77-20020a630250000000b003aa670ef605si8725592pgc.348.2022.04.22.13.15.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 13:15:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=edEm6nmY; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9B29E250696; Fri, 22 Apr 2022 12:16:53 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1441825AbiDUVRQ (ORCPT + 66 others); Thu, 21 Apr 2022 17:17:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229976AbiDUVRP (ORCPT ); Thu, 21 Apr 2022 17:17:15 -0400 Received: from nbd.name (nbd.name [IPv6:2a01:4f8:221:3d45::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A53349F2C for ; Thu, 21 Apr 2022 14:14:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbd.name; s=20160729; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=c/02Q/vf5R3LFZzkS8JBR0foELszGqvAH/lUEI2ausk=; b=edEm6nmYj4x9gUS0C5+He5pF+/ jSOofWu05NcKaT1KrzbtjDIqxltnmVOkNgdwtQQhF7wnzne5RZ+keeKNajfi+rUVv1lPG9SOTFeql OArLOAQR1xm+ISKZ7+lz/4ObNyeyKYd6EYWLHvs6QJKjCi9nizjGP3372mSgRPtvwg3M=; Received: from p200300daa70ef20028a36ac9fd74af32.dip0.t-ipconnect.de ([2003:da:a70e:f200:28a3:6ac9:fd74:af32] helo=nf.local) by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1nhe85-0006Ib-Gz; Thu, 21 Apr 2022 23:14:21 +0200 Message-ID: Date: Thu, 21 Apr 2022 23:14:21 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: [PATCH] mt76: mt7915: disable RX_HDR_TRANS_SHORT Content-Language: en-US To: "bo.jiao" Cc: linux-wireless , Ryder Lee , Sujuan Chen , "lian . chen" , Shayne Chen , Evelyn Tsai , linux-mediatek References: <20220420071144.14573-1-bo.jiao@mediatek.com> <46f14357-d02b-cad3-9fa8-7e1962305251@nbd.name> <5b0f28fa67b27151a59ea42d9f60e29919f36f36.camel@mediatek.com> From: Felix Fietkau In-Reply-To: <5b0f28fa67b27151a59ea42d9f60e29919f36f36.camel@mediatek.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hi, On 21.04.22 03:44, bo.jiao wrote: > hi felix: > > mt7915_mac_fill_rx: > ...... > > if (!status->wcid || !ieee80211_is_data_qos(fc)) > return 0; > > status->aggr = unicast && > !ieee80211_is_qos_nullfunc(fc); > status->qos_ctl = qos_ctl; > status->seqno = IEEE80211_SEQ_TO_SN(seq_ctrl); > > return 0; > > it will be returned by the condition !ieee80211_is_data_qos(fc) when > receive non-Qos (null) data, and the status->aggr/status- >>qos_ctl/status->seqno keep the default value 0. > > mt76_rx_aggr_reorder: > .... > > sta = wcid_to_sta(wcid); > if (!sta) > return; > > if (!status->aggr && !(status->flag & RX_FLAG_8023)) { > mt76_rx_aggr_check_ctl(skb, frames); > return; > } > > .... > > those packet will be forced to do rx reorder and may incorrectly update > tid->head. > https://patchwork.kernel.org/project/linux-wireless/patch/2022042010503 > 8.36443-1-nbd@nbd.name/ > Your replacement patch did not include this change. > + if (!status->aggr) > + return; > + > > Thanks. I posted this patch: https://patchwork.kernel.org/project/linux-wireless/patch/20220420112524.52430-1-nbd@nbd.name/ - Felix