Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp2284869pxb; Fri, 25 Mar 2022 14:38:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy5qLgF7qPeMohJ9acTDAveE+p5upciOcgH0SRVl10C9XEEe1jrum1POYGuPl7w9iP2qmAm X-Received: by 2002:a17:902:da86:b0:154:522b:342d with SMTP id j6-20020a170902da8600b00154522b342dmr13852782plx.46.1648244317229; Fri, 25 Mar 2022 14:38:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648244317; cv=none; d=google.com; s=arc-20160816; b=kqofE0W4h40cE3HfaT0rMDGlMFY3mLiyPLrvsE0tedlvTT3Zi9LhmWSF7TwSIqWTBz Gx1YHeF6pmAfZapTdm1HSogKGUmdMlmBUkF2aRAe+IhJk/i09FnQoeOpL1eCyRpo/vbN 9c9o9iWLKr6bfGCYOVA+Ra6vzlEUrg7ReXWlWqW7vHZVtlFDDxlvN5PHbCyhMMMvy+Fy mBhMPZYKirM2KoX0+9FxywezPtJ21/GnpxLwct1zNzXs4xBbod58ayXT5Z5X1xy7cBDH x9dOtJtqrRzmpJTCfIjhEB2G63jyDMF8UBuDL9iFeZrcvM7bsjamgzVbkpq+Qpr/jdy3 WMyw== 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=uXBAt9XsRmUuSPIcQ9NHpAxUz3a5Chm+TIyzTY05THE=; b=BHEEzGl6Ce/hgCSisZQhWTcf0BzUccIR/Lw7oXFXNzcsQZsiowaJCpmKPbkDU/z1gf lcYyAFN2MHSfc/+N1JXGFhkTOppBZMUTqX1Nsc4tYMv2sVy4GKD42JPvmYuiDZF8CwHk aHw3cW3oXJY4NzZ/QoP3zk0ek+gfy2vMVxTkGzK5AZgjgTgf8UuMMvaP41zGs9DgY4kQ 5HeNtpv4cJ+l9CbCmyZx/Tv2ySClgev67rKlA+7rae8UWid8yA+0hv7i44PINcSOtbil YTXVvjYg8GrDT0cfl0AGMkfhO6Ml74XXSYPF18DvQvo+aP/XO/KXsn1a0qpxqgeJ+gmF 3e9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=NYB2AuT2; 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 w1-20020a170902d3c100b00153b2d1655csi3171243plb.356.2022.03.25.14.38.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Mar 2022 14:38:37 -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=NYB2AuT2; 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 62A46EBACF; Fri, 25 Mar 2022 14:10:49 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233296AbiCYVMU (ORCPT + 70 others); Fri, 25 Mar 2022 17:12:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233255AbiCYVMR (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 8982A3892 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=uXBAt9XsRmUuSPIcQ9NHpAxUz3a5Chm+TIyzTY05THE=; b=NYB2AuT2Df9z/B+HwA1VRQDFEI PSfsmMZfHntEvZA8KQYNelMb5YihM3IhsNJgf2BSDhduynvvTrzBSo2iUw8BcBh2NTtd3UwOOsDKN Y5Z6wQQWC0p3YQb1LtgXkLabFiXOE5GN30vISXfL71nX8U31K6uxd867laB51hged9Mc=; 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-Dp 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 6/8] mt76: mt7915: accept rx frames with non-standard VHT MCS10-11 Date: Fri, 25 Mar 2022 22:10:29 +0100 Message-Id: <20220325211031.24171-6-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/mt7915/mac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/mediatek/mt76/mt7915/mac.c b/drivers/net/wireless/mediatek/mt76/mt7915/mac.c index e9e7efbf350d..a8df65cc115f 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7915/mac.c +++ b/drivers/net/wireless/mediatek/mt76/mt7915/mac.c @@ -521,7 +521,7 @@ mt7915_mac_fill_rx_rate(struct mt7915_dev *dev, status->encoding = RX_ENC_VHT; if (gi) status->enc_flags |= RX_ENC_FLAG_SHORT_GI; - if (i > 9) + if (i > 11) return -EINVAL; break; case MT_PHY_TYPE_HE_MU: -- 2.35.1