Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2157857iof; Tue, 7 Jun 2022 21:41:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxSZhRYnOwWr7nAYq05FPQHjXO1XFfEoSxuzI2UyLfdNLm5D3kpKJUOWX4JD2zT0nvF2QhI X-Received: by 2002:a05:6a00:1344:b0:51b:ed0d:dbbd with SMTP id k4-20020a056a00134400b0051bed0ddbbdmr23363303pfu.45.1654663281238; Tue, 07 Jun 2022 21:41:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654663281; cv=none; d=google.com; s=arc-20160816; b=eW4DK3Udr1tsppuEwaS+BtWOxvYQu8FjSzrSBdTmgS4418xqeuZQ24fFuSHCbrJX1x QkG87hNhfmtPjl8dHsLSim4tc72Kk7V1INgEmVZpW9OiXR/d9vXacCzFPaIw+XKNKT8U KeWiovvbCKKfx0r1zNSxzaPZIuX8EXncvk6PMaooHExEEsaW7Yx5XSqfuMCS53VKa4Cs CBa9utmECbntGvJ91mbAwu4ofE6uUGnDOHKkTQKDRTcmDhmCccsgz3m7K+wWoODTOySf t2kDxZWZ1EFWT2oMUzgdTI5syCL6RbHTgLhzzsD+vQYkFpY5kaGEnyYoDMProqSkks7Z /5YQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=wkdcyapQx+X1EOiFRq+f4iK9RVsMih6RpP3SgYhxIkw=; b=hX6GZMecg3gCg+TyyRTBeGAFtNWGYvU0T0FWNLE/V5ZYViO8iNlKffu2v+WLrxpMFT SCFLnA9SjMkiX8nAy3opIwBu+trGjy3pb+P5ACos+kQBeIX0KAfoGZXa4DK9qmOZuPYt mu4n0iTIx/jjBshYn3JiiIqEw/wDOGILh0uyOeXAIOiKLBqCqsjAGiqS07Mc/N2qz8OC +bQ2wWPzmbrF8WzhTXcPK1CnrdF4xDOKtKlM1uG5aWiIxCdzfyiLZe8bOZvktVLRuVLm +ZenQe+EzCsMh3TkQj5d2wRtsTrGZgTIDz+DCi2lERfLdLAG/6T0OVj7IpxDknDfwbZ1 gZTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="YrMj/XQm"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id q24-20020a635c18000000b003fd23cde694si22133667pgb.128.2022.06.07.21.41.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 21:41:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=pass header.i=@linuxfoundation.org header.s=korg header.b="YrMj/XQm"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8457A446A61; Tue, 7 Jun 2022 21:12:23 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1386101AbiFGWr4 (ORCPT + 99 others); Tue, 7 Jun 2022 18:47:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1381078AbiFGVj3 (ORCPT ); Tue, 7 Jun 2022 17:39:29 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3092E232364; Tue, 7 Jun 2022 12:05:50 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id CEE0BB8220B; Tue, 7 Jun 2022 19:05:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 47248C385A2; Tue, 7 Jun 2022 19:05:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1654628747; bh=/hO7V1E4bGRZIAjtvHweCl5D4LwDlWhO4XIrdlNKhT0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YrMj/XQm6ZyOL99j2QdBHy+/HlCNA+c2FWE5mIgMFNcZuF4lMqf964cH+rLNg8xtv bnk1Q6ozBmdkt+asTUz0QfxfNGweh6jWV9fmElNQvEzhmQGpFkoe+8tPP/rVDhgLRt LMCdsf4oPCNis1SiaNEWwgTJxoLWJus2cQXzFAAM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Peter Chiu , Felix Fietkau , Sasha Levin Subject: [PATCH 5.18 441/879] mt76: mt7915: fix twt table_mask to u16 in mt7915_dev Date: Tue, 7 Jun 2022 18:59:19 +0200 Message-Id: <20220607165015.672004666@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220607165002.659942637@linuxfoundation.org> References: <20220607165002.659942637@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE 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-kernel@vger.kernel.org From: Peter Chiu [ Upstream commit 3620c8821ae15902eb995a32918e34b7a0c773a3 ] mt7915 can support 16 twt stations so modify table_mask to u16. Fixes: 3782b69d03e7 ("mt76: mt7915: introduce mt7915_mac_add_twt_setup routine") Signed-off-by: Peter Chiu Signed-off-by: Felix Fietkau Signed-off-by: Sasha Levin --- drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h b/drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h index 6efa0a2e2345..4b6eda958ef3 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h +++ b/drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h @@ -319,7 +319,7 @@ struct mt7915_dev { void *cal; struct { - u8 table_mask; + u16 table_mask; u8 n_agrt; } twt; -- 2.35.1