Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp360828rwb; Thu, 10 Nov 2022 01:44:13 -0800 (PST) X-Google-Smtp-Source: AMsMyM6RFCjWqAaUehBU4Gt1b0JQ3P6RwD1S8MQVatgT2BlfY6DCzUqiccEc0cG2I/fDClIgNnMT X-Received: by 2002:a17:906:66ce:b0:7ad:d178:c252 with SMTP id k14-20020a17090666ce00b007add178c252mr50933065ejp.158.1668073453428; Thu, 10 Nov 2022 01:44:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668073453; cv=none; d=google.com; s=arc-20160816; b=IrPmC2TE8j/5SzoQTUoVx1nJE+WUjITY/Hm9A73NMcJ3WBPSO1XfwbgtFogArGk7dI HL5zo7zcQYmbj6ybnFVb/+OEnsiLwmMxOCMBfetiGUpQCBosDax7VsvyLF2tiDJahPE5 jFht0sF1vKGb0f0LMO6uZlEiR7x7kDZbS2DmXkVuHsP9xDnMdky0oio/CGhusb2vHWDN m8L/taEwaBY7L1ZWYPnu1nSCfaK/wIvShmM049Xz0oUdl1/k3dOtmne6cpHJOimkqvBO 9pdw/v5wPn1jJYS7gTDd1Nzos4bIvVeWdoAaiAk/+iousPdlvVN+KtK+XG7sIKq87Lxe IIbA== 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=1AP6w1GeV/ZZ91dp+9oOdhrX8VuDyN0HKPZ5VgEEPogInolkSoHUu+Gbxulwi9y3mz vJxZJDyoScTI4Hks+UUSorpal6y409/a9NsHmksoJ7nSISm/NwoL/ZwEZq0kLMScE7q6 lmM9oWOcNK4Xz0NDxA3hUrvmkORUj85rNYad/q07NcHjDjALllpiSCBZCv05PQVwGpHk BTSkZBWAvMN3ZL+TsCF4Q0NIp+6BZ9zVS9P2Eo1wnFw8msrmj0Wtuvp52gsC3gpFJOUi L77w2ygNyrHc2hQXw0H4BJwlgB+45tvdBuhVfTKJtfej1+fTFZUWXz/iqDm87AaTB1qm jV0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=oNmMW+Ym; 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 i6-20020a50fc06000000b00461a32e0e38si14705873edr.306.2022.11.10.01.43.56; Thu, 10 Nov 2022 01:44:13 -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=oNmMW+Ym; 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 S229997AbiKJJhI (ORCPT + 66 others); Thu, 10 Nov 2022 04:37:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56396 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229750AbiKJJhE (ORCPT ); Thu, 10 Nov 2022 04:37:04 -0500 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51E7166CA6 for ; Thu, 10 Nov 2022 01:36:59 -0800 (PST) X-UUID: 61b59f79251b40dd935fb2d73fe8fa43-20221110 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=oNmMW+Ym7kM2vc2nsccJGIo+1m49Z9IRRQIuMQZzq9cJlR3tM6M7oC+NPVyFJv0MQxJZXU5iNjzfGjpxI0CsDmS5jyBRd1JUU1J3d9fNnUG56ANrGzRfJ90OGN6Btr3THyEzqwwHs2XMCvHzPUMRR+apJcHT7ZCr8tsbvzsG1Pk=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.12,REQID:c38b3a7e-bacf-4f27-94e0-abf818ab99e3,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:62cd327,CLOUDID:2752e950-b7af-492d-8b40-b1032f90ce11,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 X-UUID: 61b59f79251b40dd935fb2d73fe8fa43-20221110 Received: from mtkmbs10n2.mediatek.inc [(172.21.101.183)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1606427044; Thu, 10 Nov 2022 17:36:52 +0800 Received: from mtkmbs13n1.mediatek.inc (172.21.101.193) 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; Thu, 10 Nov 2022 17:36:50 +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; Thu, 10 Nov 2022 17:36:50 +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 v2 2/9] wifi: mt76: connac: update struct sta_rec_phy Date: Thu, 10 Nov 2022 17:35:18 +0800 Message-ID: <20221110093525.29649-3-shayne.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20221110093525.29649-1-shayne.chen@mediatek.com> References: <20221110093525.29649-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