Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp12494083rwl; Tue, 3 Jan 2023 15:35:50 -0800 (PST) X-Google-Smtp-Source: AMrXdXvkiE6buf6KK/ueAqmLHyTJfEKBZ09F7PnUCVaTTxIXnuOyFzUKItNzIJqcHqBMdjBhfa/Z X-Received: by 2002:a17:90a:ab8d:b0:226:7efc:989b with SMTP id n13-20020a17090aab8d00b002267efc989bmr7028387pjq.49.1672788950534; Tue, 03 Jan 2023 15:35:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672788950; cv=none; d=google.com; s=arc-20160816; b=CK6ohwTdjZcXIKVNqjnAmDCfOV8Y5x+rYs6E4qoCcaSZdVdhGfwFmnMxQUDJF3sa5v nKDdITRasoAY18Q8ztpyQKiVMFZ+dfs1CuXOnQ1bX8wl+VtYCPdSecODTtimKs0tehyB aK7zn5WwqasmNQlrgYKhBgYdlFk8o6824bIG1dpXspCLWHRjZTHFSVH6E2WlgXyT82cQ h3rZenCI3midSYhaLX8cbyAzQx9oAPBBNBAIzpSH3cN28YNyVplqpGXui1j7yJEqb+sg HeuJJlVV7P1ucVKMicW+h36rCVD+JSvLnjpSDG0ynjirV+vMciOBaNNfvco3bkypBoD6 QWCA== 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=qD+xaPyvStRiGtqYzDHlS5NvOrhcaiQT2C38//KHq8g=; b=v2R7Ctj+TZdtcjv52VfVUvsgTZCEwrdwl7xn9QzD5kYEyH/S+apYHUg/YNbcW6RDFf 86WwfA/JLhO5v6yXxyoq/AsxoZT1f0KGHuLvbXBIrxeUn6PTGKoLwfhEV/Xq+wcOHTF7 vfcxG3syOnzKMGZYTXUmg0dU6KaiQdYVbVoEWo8kOxcWfUyiU9/rHu11OudWUVURhvgb N7aV8jIGplSsAGcLwR1ZtuSBbI99krNoDuSXFyQkY1X7zdKWZ3KBhVKc6xNt5xszYge1 kPeB0hVNORVQS3Dj7Ta8csTt6RG6Gs6LFIlTORnfoOFZhkUWiJAkGL1SMZoYNDH3t36E dGOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b="Aruc/ml/"; 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 lx6-20020a17090b4b0600b00223ea01e3fbsi17993535pjb.60.2023.01.03.15.35.29; Tue, 03 Jan 2023 15:35:50 -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="Aruc/ml/"; 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 S233335AbjACXOA (ORCPT + 67 others); Tue, 3 Jan 2023 18:14:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41104 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230233AbjACXN5 (ORCPT ); Tue, 3 Jan 2023 18:13:57 -0500 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A07814D1B for ; Tue, 3 Jan 2023 15:13:50 -0800 (PST) X-UUID: 7f16fa4a6c9a43a2ae1d890dd8f23ee7-20230104 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=qD+xaPyvStRiGtqYzDHlS5NvOrhcaiQT2C38//KHq8g=; b=Aruc/ml/Ri59BOJNBdOYzuJIQSdLqv/HxtunKOiThA+eAMYg1ZHTtXu6drgE0zzIyegH0/+YDBX14MBZc6U3IpM0UQwc4Z35Tl5y8liaxo/8ytgvllAPLTBoTbdfVurEhOHXy57zEdFtTksLOHbHLNcYI/bbUj3PB1Ouksjom6M=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.16,REQID:b2ad93a2-db37-44a6-bc7e-9a1f6452c977,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:09771b1,CLOUDID:abf1238b-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 X-UUID: 7f16fa4a6c9a43a2ae1d890dd8f23ee7-20230104 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 722613841; Wed, 04 Jan 2023 07:13:44 +0800 Received: from mtkmbs13n1.mediatek.inc (172.21.101.193) by mtkmbs10n1.mediatek.inc (172.21.101.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Wed, 4 Jan 2023 07:13:44 +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; Wed, 4 Jan 2023 07:13:44 +0800 From: Ryder Lee To: Felix Fietkau , CC: Lorenzo Bianconi , Shayne Chen , Evelyn Tsai , , Ryder Lee Subject: [PATCH] wifi: mt76: mt7915: fix WED TxS reporting Date: Wed, 4 Jan 2023 07:13: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=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAY_BE_FORGED,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_SPF_TEMPERROR,UNPARSEABLE_RELAY autolearn=no 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, which drops PPDU TxS reporting. Fixes: 43eaa3689507 ("wifi: mt76: add PPDU based TxS support for WED device") Reported-By: Sujuan Chen Signed-off-by: Ryder Lee Change-Id: Ic40febe166e68833a09dcc96f6bc2316bef43f16 --- 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