Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp978803rwi; Mon, 31 Oct 2022 09:43:14 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6bLPwRzHT5WsyFb4m8RFj6RPKSt3b7VsXQDonjcVRtuPYozm/JCKJ6hzNreEMJTpbM5Xdr X-Received: by 2002:a17:902:bf08:b0:178:90fb:8cda with SMTP id bi8-20020a170902bf0800b0017890fb8cdamr14831930plb.9.1667234594684; Mon, 31 Oct 2022 09:43:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667234594; cv=none; d=google.com; s=arc-20160816; b=DoMpgYVG/8zRM830RcdGrgf9F/jYtxLePGlxyBLmIhoPtYHDhY2+6XxJNWh+edeGoC P2Vy0Rtg24BoSP+hB/MKh9eRdfZjpPtEXC5DTHaGBwIw0iIEiBvUGoUMM0uynLHoIU14 FLq22LSPZJDM4OK50ogPFH8xWyK2T3Syl5YOApo098FrHeTUFWyxBum1y8alKVTGqEmA azQJ108TiNdFeMlYoLszhL6DXZX27Y1PAVt49hnUfhj6+ghuriEnUSHzA1oSczU6JNGw 51pbfzBttwIxiYlR9/izy5/swZ5KH4ZQlmVz0sPEEF9TUT2I5JSBpj7z2BggPhQOp61q lxeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=5QwtAji22vmtmGUtFZtCGltV4sorg9UqLXiFVRBwfQE=; b=wxE2frU1i4LNSCIWoxGfQXOpFkt6WNWROKJSTvL30U25358ji1/1obWx+pYGnX0Cs9 QdwkK5YgGRX9cCyBbwDQzOJ4HJyfE92og+8Go5b+SH6EFAz05nmzruln0XuKXhOslFwv Ao6TQHMHjqroZCFWuhQAPwe4/tGgIUznx+B+TKG32uqCwcBGt7cplTmNVCJVdHUJ7GJu dgWNaWVLFwNGbv1MAup9JQ+VGNRvH/sKjjGgsFLJLYaTI51g36jAYMVI1GMi4AzrfFJ5 1wCoaoXvxnBUEbnOddXrqvHNJCypQEZ96xzg4lDsjUJK94fgChLJ7c7XTZSe0fFDLOoi Jw9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=fXktveIw; 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 b13-20020a6541cd000000b00463dbc5cebfsi8728312pgq.67.2022.10.31.09.43.05; Mon, 31 Oct 2022 09:43:14 -0700 (PDT) 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=fXktveIw; 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 S231908AbiJaQk0 (ORCPT + 66 others); Mon, 31 Oct 2022 12:40:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58550 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231905AbiJaQkY (ORCPT ); Mon, 31 Oct 2022 12:40:24 -0400 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0E38273D for ; Mon, 31 Oct 2022 09:40:20 -0700 (PDT) X-UUID: 7ee18451c7d445e49387fd2da2f0e6e2-20221101 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=5QwtAji22vmtmGUtFZtCGltV4sorg9UqLXiFVRBwfQE=; b=fXktveIwuO35nMkRmc4xZrsCv8PbVLghJoOVqWhfHu7l1pV1Xqvs+PaZe1B1qcg5RCl/Qzziaqqcjln0tilOXybNtiYk9I3FIBe01in3IusmlZrjpwRr1M4rajD2tBksn4DTv/Ht97/eyS8L55rSmnPNIN9m06E8BEexX+f5Bkk=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.12,REQID:f5a326e8-6535-4515-b3c5-1081d9346c8e,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:100,FILE:0,BULK:0,RULE:Release_Ham,ACTIO N:release,TS:100 X-CID-INFO: VERSION:1.1.12,REQID:f5a326e8-6535-4515-b3c5-1081d9346c8e,IP:0,URL :0,TC:0,Content:0,EDM:0,RT:0,SF:100,FILE:0,BULK:0,RULE:Spam_GS981B3D,ACTIO N:quarantine,TS:100 X-CID-META: VersionHash:62cd327,CLOUDID:19152d81-3116-4fbc-b86b-83475c3df513,B ulkID:221101004016YPIDR8F7,BulkQuantity:0,Recheck:0,SF:28|17|19|48,TC:nil, Content:0,EDM:-3,IP:nil,URL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0 X-UUID: 7ee18451c7d445e49387fd2da2f0e6e2-20221101 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 243305891; Tue, 01 Nov 2022 00:40:12 +0800 Received: from mtkmbs11n2.mediatek.inc (172.21.101.187) by mtkmbs10n2.mediatek.inc (172.21.101.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.3; Tue, 1 Nov 2022 00:40:11 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs11n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Tue, 1 Nov 2022 00:40:11 +0800 From: Shayne Chen To: Felix Fietkau CC: linux-wireless , Lorenzo Bianconi , Ryder Lee , Evelyn Tsai , Bo Jiao , linux-mediatek , Shayne Chen , Peter Chiu Subject: [PATCH 03/10] wifi: mt76: connac: update struct sta_rec_phy Date: Tue, 1 Nov 2022 00:39:53 +0800 Message-ID: <20221031164000.17063-4-shayne.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20221031164000.17063-1-shayne.chen@mediatek.com> References: <20221031164000.17063-1-shayne.chen@mediatek.com> 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, SPF_PASS,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 For connac3 generation, max_ampdu_len should be filled in struct sta_rec_phy. This is a preliminary patch to add mt7996 chipset support. Signed-off-by: Peter Chiu Signed-off-by: Shayne Chen --- drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h b/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h index d3d5ba2d47ad..87c27a836e2b 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h +++ b/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h @@ -401,7 +401,8 @@ struct sta_rec_phy { u8 ampdu; u8 rts_policy; u8 rcpi; - u8 rsv[2]; + u8 max_ampdu_len; /* connac3 */ + u8 rsv[1]; } __packed; struct sta_rec_he_6g_capa { -- 2.25.1