Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp2285062pxb; Fri, 25 Mar 2022 14:38:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz5pmI8Y4PMYox2kYKQrwoLgrBJLpReL1d889DAC0fPXjjQJXFdMGXvrt8WLYx0GDVAxMoF X-Received: by 2002:a63:c048:0:b0:381:7aad:57c5 with SMTP id z8-20020a63c048000000b003817aad57c5mr1173742pgi.595.1648244330897; Fri, 25 Mar 2022 14:38:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648244330; cv=none; d=google.com; s=arc-20160816; b=j1cxgnMPAJ1EXa4TBhbGqmR5FJn+MkSiFGXcNp9KcLkDVNcY5rf4KkK/bxqp7pc775 +bVU7/zIi4WZIEzZDHYRd9tWHarWxNJi4QawORa448dRmoSDWKVWCH6sKprcUAma02n6 IuZokghu+oDHIBjl9cr1Erx5rUqhDfSBOp+IftYkkBi0ctf9ROJ/ifGUFH0RHsOMA+rV +B4xjknkGgh0F5cSn8gKiGTij0EUk2VVSwREy3Uv7mI5HAI4qv0TtNKuFOu1FcO9+Jeh h3BlXxtIf3aLW/EQ3XhBYrgim0qIYkI3aBWdMm1iY/Z/QvZVwHNTHLd4lmQG4RXpad0k 8Tpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=Rj33DW5tARsy6fZX2AF8YaXCT3KAT7zFsx+4LonU9as=; b=Go8ofhoJoS8jRU9v3LVK0y6LHi2kMJHOWCW+zH6YlL5vDqx/qVY/ZPX9qJvtTAh/gS wid0Ao3zA9SWeZzzYL8K0bgBzGLb3K+mZGgnmXD99tkQPVMznkdcU7VR4K9pIGgajZFa 9elBVbHdFGFSNT6XJj07PZEKwdH3/G9rbksLzP98I8E2eu4wwNbhcznLPmQX4bpqWKTs ntxcz9zAgerJ5YuNCRlvuRa/H03hyxfCBxhn+uMM5gF4ZZlv+RwudUB3Ln9U0Dwi0W6N QoJ0j9PHWCXb+BgWvfvlj/2kFR4z6VDAuQAsp8esJ/U1kkSWDwcQZCVjko44TjZsjcjT iH8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=Zj8Hg8Hf; spf=softfail (google.com: domain of transitioning linux-wireless-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id nn5-20020a17090b38c500b001c72b71a7e4si6941555pjb.27.2022.03.25.14.38.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Mar 2022 14:38:50 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-wireless-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=Zj8Hg8Hf; spf=softfail (google.com: domain of transitioning linux-wireless-owner@vger.kernel.org does not designate 23.128.96.19 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 DBA041FF218; Fri, 25 Mar 2022 14:10:55 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233308AbiCYVMV (ORCPT + 70 others); Fri, 25 Mar 2022 17:12:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233160AbiCYVMR (ORCPT ); Fri, 25 Mar 2022 17:12:17 -0400 Received: from nbd.name (nbd.name [IPv6:2a01:4f8:221:3d45::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8998D35DFC for ; Fri, 25 Mar 2022 14:10:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbd.name; s=20160729; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Sender:Reply-To:Cc:Content-Type: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=Rj33DW5tARsy6fZX2AF8YaXCT3KAT7zFsx+4LonU9as=; b=Zj8Hg8HfXnFx4A0tdnwY9GXXkJ /nZpntAaC3X5WTu4Ww4HgmoRNbAtPeTKhKv6sXabiICvkOIl6cqjN5lruJFzPOSXxRrWFRUfOoNUf liBLEFCh6fjyg4DJNIHmcUsiDT0pfESfQjW0ELJSkcqeLFEbcHuoU8v0mahuctV3myr4=; Received: from p200300daa70ef200dc11dea3d730df97.dip0.t-ipconnect.de ([2003:da:a70e:f200:dc11:dea3:d730:df97] helo=Maecks.lan) by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1nXrCi-0001fW-LW for linux-wireless@vger.kernel.org; Fri, 25 Mar 2022 22:10:40 +0100 From: Felix Fietkau To: linux-wireless@vger.kernel.org Subject: [PATCH 7/8] mt76: mt7921: accept rx frames with non-standard VHT MCS10-11 Date: Fri, 25 Mar 2022 22:10:30 +0100 Message-Id: <20220325211031.24171-7-nbd@nbd.name> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220325211031.24171-1-nbd@nbd.name> References: <20220325211031.24171-1-nbd@nbd.name> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE 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 hardware receives them properly, they should not be dropped Signed-off-by: Felix Fietkau --- drivers/net/wireless/mediatek/mt76/mt7921/mac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/mediatek/mt76/mt7921/mac.c b/drivers/net/wireless/mediatek/mt76/mt7921/mac.c index 233998ca4857..f34070ca7bbe 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7921/mac.c +++ b/drivers/net/wireless/mediatek/mt76/mt7921/mac.c @@ -696,7 +696,7 @@ mt7921_mac_fill_rx(struct mt7921_dev *dev, struct sk_buff *skb) status->nss = FIELD_GET(MT_PRXV_NSTS, v0) + 1; status->encoding = RX_ENC_VHT; - if (i > 9) + if (i > 11) return -EINVAL; break; case MT_PHY_TYPE_HE_MU: -- 2.35.1