Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp2980595rwl; Fri, 6 Jan 2023 13:45:14 -0800 (PST) X-Google-Smtp-Source: AMrXdXuIqOuaEbUv9Qtwt5WAjALvNBWsM575bmRsxHg/EWn5uNrLh2VbkZRkAF5lotinVJXb+vuK X-Received: by 2002:a17:902:c992:b0:190:e6eb:2c05 with SMTP id g18-20020a170902c99200b00190e6eb2c05mr60333395plc.5.1673041514570; Fri, 06 Jan 2023 13:45:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673041514; cv=none; d=google.com; s=arc-20160816; b=XbGnu8nqsANXtIQ5GF8qVjgbiUhcDfEDkIgeJCVQmCnZYLlgv8R6kQDWBxXxejx5Iq 0+eO1iEaeExcvpRrsrG8N1Yv/+9aSiTKyPsvzvWj0/I48FVcLtAFwePBxduE379iowVX d++jTQ989lZtH+rZdAxP4qjeXtXzrMyV201Wta9t9Z6yKmi5f/+5PEhONsSgvRZr9cJv jzk9CVUxbQrN06b6R2S3JF6DLXQd7LD9WFUxuAIthB85I5ybGLVD3Ku1WeT4DyVOmWpf PBviyKw247To5grsdGRGaXL/98phybva2Ex7NlTO/YDwxWQWprQAIkQGUxp+bAteckpX lLTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=LLvVl74Y860WVErCSik7gZGhZ72jffHsm2l1RpDtuXU=; b=rCCMWSFpsfffVIfPbmpRPVtaKtJovdQKRiPK8LNAROC54QnE251G3+DXze+NNYmmho Hc7d5soxtTvkkqIRqPj+ELETjd37TZ904BIR0cDWfb+DSILgRJV7hdge2CYi12KcFUAX 9kMh0CgYD9YTPWX8kFPYRahVnE74p1BDVD1olfXh+A/0f2Sm4CHCjRYl6C0IOvr8BixM ab+/zipEA6FpfKHeu5IuSVy6Ros1E4ME9dcEQzofR7wIafpeERxfNGF4+Ngfhr/BIPx4 9sgw6HbJKBrGKlHGNTziNyxENa3F//FD9z8yTR7MBXjM78hwDVlaev/oNRL9cHBaNT1I dfRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=AgKBeOGD; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y17-20020a170902b49100b00192b23b8444si1788112plr.109.2023.01.06.13.45.01; Fri, 06 Jan 2023 13:45:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=AgKBeOGD; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231620AbjAFVk6 (ORCPT + 65 others); Fri, 6 Jan 2023 16:40:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35498 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229949AbjAFVk4 (ORCPT ); Fri, 6 Jan 2023 16:40:56 -0500 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D01213F9E for ; Fri, 6 Jan 2023 13:40:51 -0800 (PST) X-UUID: 31e442846f05408fa019b677b7154b0b-20230107 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=LLvVl74Y860WVErCSik7gZGhZ72jffHsm2l1RpDtuXU=; b=AgKBeOGDHKr0luRQ4kVL/rMujfhDkNR6tHclR9Oo9DjO1dX64IjGQjYJWSQReZnFw4XsO+0kQkyfH42Kf34V30KVyzBUaSiBwLrNtsMHp2vbJOaAABB7sFYYpqWz45gpwHM4A869LKyZDpJJiSRp7ZsuXzw7FXfuKlbvp/Oh1Xo=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.17,REQID:28bb2b52-e0e6-4914-b1b7-1dd03d7af480,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION: release,TS:0 X-CID-META: VersionHash:543e81c,CLOUDID:8e15808b-8530-4eff-9f77-222cf6e2895b,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0 X-CID-BVR: 0,NGT X-UUID: 31e442846f05408fa019b677b7154b0b-20230107 Received: from mtkmbs11n1.mediatek.inc [(172.21.101.185)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1998159614; Sat, 07 Jan 2023 05:40:44 +0800 Received: from mtkmbs13n1.mediatek.inc (172.21.101.193) by mtkmbs13n1.mediatek.inc (172.21.101.193) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Sat, 7 Jan 2023 05:40:43 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs13n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Sat, 7 Jan 2023 05:40:43 +0800 From: Ryder Lee To: Felix Fietkau , CC: Lorenzo Bianconi , Shayne Chen , Evelyn Tsai , , Ryder Lee Subject: [PATCH v3] wifi: mt76: mt7915: fix WED TxS reporting Date: Sat, 7 Jan 2023 05:40:42 +0800 Message-ID: X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_SPF_TEMPERROR,UNPARSEABLE_RELAY autolearn=ham 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 The previous commit forgot to remove a leftover check. Fixes: 43eaa3689507 ("wifi: mt76: add PPDU based TxS support for WED device") Reported-By: Sujuan Chen Signed-off-by: Ryder Lee --- changes since v3 - revert v2 changes changes since v2 - correct bitmask --- drivers/net/wireless/mediatek/mt76/mt7915/mac.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/net/wireless/mediatek/mt76/mt7915/mac.c b/drivers/net/wireless/mediatek/mt76/mt7915/mac.c index f0d5a3603902..1a6def77db57 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7915/mac.c +++ b/drivers/net/wireless/mediatek/mt76/mt7915/mac.c @@ -1061,9 +1061,6 @@ static void mt7915_mac_add_txs(struct mt7915_dev *dev, void *data) u16 wcidx; u8 pid; - if (le32_get_bits(txs_data[0], MT_TXS0_TXS_FORMAT) > 1) - return; - wcidx = le32_get_bits(txs_data[2], MT_TXS2_WCID); pid = le32_get_bits(txs_data[3], MT_TXS3_PID); -- 2.18.0