Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp6504044rwl; Mon, 9 Jan 2023 09:08:06 -0800 (PST) X-Google-Smtp-Source: AMrXdXuXjrHNm7Vh4EZG0KRLm2o7uI5EJ9cS/VgUiE6LwsUL3M1QGvS7D+qwHppL74xxu48ytX3+ X-Received: by 2002:a05:6402:b68:b0:499:b3fe:3b9 with SMTP id cb8-20020a0564020b6800b00499b3fe03b9mr4754142edb.34.1673284085849; Mon, 09 Jan 2023 09:08:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673284085; cv=none; d=google.com; s=arc-20160816; b=O0HQLT+nJApsuLFv/ZOOOMvHSApQjowhLcDIM07ChvFRo9t+hl3LzBaldTFERVbU3Y ray5SydS8dz9nBthlhy73QvqeMHBLIVYqWljHmt6Vsrqi8ei7SOWTAjkZ8ESNoGUbBQ3 hdl7aDhiCw6zv25vtmFiIME3GD+g5/TaY/dOJOQYUCM7NECS1T5QCWC6b5lSo3BqQZRI cATOx8+xFiCyODThpLjJHylfBokG9R26Dog3FZ5+M35yNnTgAGXtSK/AmTRl2oo8icJ6 djIp2xy2ZkUSHeARKDl3I+49b4YQxLw6pv8SpIBfvVGVoVTWw0cctXX0mkdtZ/rVuq7p sSng== 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=cXioOF1K+VKgN8TOD7yddiipWqxKsdy8Iw7EAB+DK+k=; b=p2M/JMT2m9S3etyIn3jy6/zQIkQ7EPUKGBQGhdfvvhOPSSFG/QMeee+Uvx3wOWAqLQ nUqZ+EkIWhFJkPQ3flUQh5WOdWyDCyHBlGiWNqJNuYc28wRdCwQiCkaLgqvJ0zK4coUh ajy9MGai3DSfGi8yPTR/PG5liDr1XI4swFJtnzyD4FIQ7ux+T/sJ+En+4JyQ0CbpGqLU aWLfrO/GoQPvFSqRhwCUnD7RGdjSxnLN+cqpJUsBE5XLH7xlDY0GC13unfe+TsRCad2u omwGLwioKO71E89MX+AldKNSZ9XmmcUMuZ1i86pRK0lBJvQ0NJMV3pEF3JHE1h+77o+v kIzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=FvAszcFy; 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 f15-20020a056402354f00b004866d75a5bfsi10675279edd.572.2023.01.09.09.07.49; Mon, 09 Jan 2023 09:08:05 -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=FvAszcFy; 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 S230042AbjAIRGu (ORCPT + 65 others); Mon, 9 Jan 2023 12:06:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52944 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234032AbjAIQ6S (ORCPT ); Mon, 9 Jan 2023 11:58:18 -0500 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1AA4F958E for ; Mon, 9 Jan 2023 08:58:16 -0800 (PST) X-UUID: df49443b999949759153e53371f0797a-20230110 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=cXioOF1K+VKgN8TOD7yddiipWqxKsdy8Iw7EAB+DK+k=; b=FvAszcFyI17LuP6EY+EdCDyaVxTwf5yZgylcvLngl1mHRYuyRcQ9/VqB72/t7DUKrfEhZs3j9stVLFU8KaPNqb4nIQjjcrszAo2Zvk1fUQvwVb5ws72xE+jBit4dKuMEDNJxuaSqCkB8TclV1CfxroGnEmCzVHqadbCKGArR6ns=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.17,REQID:98e72f9c-0ba7-41c7-b3a1-ce5be567add0,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Release_Ham,ACTION :release,TS:95 X-CID-INFO: VERSION:1.1.17,REQID:98e72f9c-0ba7-41c7-b3a1-ce5be567add0,IP:0,URL :0,TC:0,Content:0,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Spam_GS981B3D,ACTION :quarantine,TS:95 X-CID-META: VersionHash:543e81c,CLOUDID:33edbb8b-8530-4eff-9f77-222cf6e2895b,B ulkID:230110005809DZAZI0FK,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,OSI:0 ,OSA:0 X-CID-BVR: 0 X-UUID: df49443b999949759153e53371f0797a-20230110 Received: from mtkmbs10n1.mediatek.inc [(172.21.101.34)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 52880908; Tue, 10 Jan 2023 00:58:06 +0800 Received: from mtkmbs11n1.mediatek.inc (172.21.101.186) by mtkmbs10n1.mediatek.inc (172.21.101.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Tue, 10 Jan 2023 00:58:05 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs11n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Tue, 10 Jan 2023 00:58:05 +0800 From: Shayne Chen To: Felix Fietkau CC: linux-wireless , Lorenzo Bianconi , Ryder Lee , Evelyn Tsai , Bo Jiao , linux-mediatek , Shayne Chen Subject: [PATCH 04/13] wifi: mt76: connac: add cmd id related to EHT support Date: Tue, 10 Jan 2023 00:57:22 +0800 Message-ID: <20230109165731.682-5-shayne.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20230109165731.682-1-shayne.chen@mediatek.com> References: <20230109165731.682-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 This is the preliminary patch to add EHT support for mt7996. Signed-off-by: Shayne Chen --- drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h b/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h index efba24bd3c6b..e26c4e4a2a16 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h +++ b/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h @@ -793,6 +793,7 @@ enum { STA_REC_PHY = 0x15, STA_REC_HE_6G = 0x17, STA_REC_HE_V2 = 0x19, + STA_REC_EHT = 0x22, STA_REC_HDRT = 0x28, STA_REC_HDR_TRANS = 0x2B, STA_REC_MAX_NUM @@ -1202,6 +1203,7 @@ enum { MCU_UNI_CMD_REPT_MUAR = 0x09, MCU_UNI_CMD_WSYS_CONFIG = 0x0b, MCU_UNI_CMD_REG_ACCESS = 0x0d, + MCU_UNI_CMD_CHIP_CONFIG = 0x0e, MCU_UNI_CMD_POWER_CTRL = 0x0f, MCU_UNI_CMD_RX_HDR_TRANS = 0x12, MCU_UNI_CMD_SER = 0x13, -- 2.25.1