Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2365219rwd; Fri, 2 Jun 2023 08:26:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6UH2HCqgK+7hBqu+jqIWmrn4TcOFJDJ3aO48NKxUxS1QsssExD9RwA/n8YKG0hBZJPAilj X-Received: by 2002:a05:6a21:170c:b0:110:873a:c3 with SMTP id nv12-20020a056a21170c00b00110873a00c3mr7487173pzb.59.1685719592789; Fri, 02 Jun 2023 08:26:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685719592; cv=none; d=google.com; s=arc-20160816; b=0UT8UUzaiCIoTGYa0QErQexKioaoAFDKcNE3jWivWXCslnFf96nFwwcz1FIhpBYh3C cmmVQh29A4NKynzpzNdi/vemNwY+6stVRl4F9Z7aDvggrzRKUQmj+Tze6FNMNBC4q3Al xDe8sa5qr0+Na/MfcxSd8nUXsoMKYba6YehoMJoPAmRH5HeYjwUyc9USEE9qejZlvBsM HZlkJpMNP3vGhkqEOCUAFi1POcHzlrQsW446kTHuDJ6cJdKxKhQJMj/qgbn3IVzJpqc2 6Ol/zvnWhGJm0Y7skS5iYP4QluJ/axHxgbMG98xQWHZGDKqd+C2Ybc+DasVB6o3O9p9c M3dw== 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=YK442o+TSmC2/oovm6NFFCuJYxxN9tyqtaZCBSo0kT8=; b=eqs1GxyGk3hwQLDr+XPwZWk9f4AXghaXD3AQTGcsY5OuztNR1eA/jSI8rnsCdZdtqW dI6bNuiw/rmiiJKSDsnMHt0Mh8S28Cg1THtQ/iZksNNc88Ptlf/BvPMkdGyqg5YyA+RE k9TjQwfekSoHvlfNdZNn+zj5io7mSz0nkmAO2ThXhPkpshXBA6D0YCz8nRJJzdFbjIRT QffkjNEqBPx3/CYutlBiIDDB5Lg8DnCXZI8GMkFmg4bQ3mwzQI4EF1/ws/JeEyt/3S+m /SoBqwKUWybZTFxr/+TS1GFL7gxjNfaivt4KlGdof8y9dUQLI/K21VwZo8Jc/Ta09nFI JBbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=gZeE8kJL; 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 a127-20020a624d85000000b006519ca72dc6si877297pfb.161.2023.06.02.08.26.24; Fri, 02 Jun 2023 08:26:32 -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=gZeE8kJL; 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 S236579AbjFBPWE (ORCPT + 64 others); Fri, 2 Jun 2023 11:22:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236175AbjFBPWA (ORCPT ); Fri, 2 Jun 2023 11:22:00 -0400 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A30D123 for ; Fri, 2 Jun 2023 08:21:59 -0700 (PDT) X-UUID: 34570e80015911ee9cb5633481061a41-20230602 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=YK442o+TSmC2/oovm6NFFCuJYxxN9tyqtaZCBSo0kT8=; b=gZeE8kJLCdIM1hOcoapHhO5zE2/dfYavPYz1Im6R57YBCOCkSIwL5H4dB4Gi62qu61Fd+LEXaQVO9EuLFehTyZ0OA03cHhiwDxuQD/58FfcD++m6kfdYLdk833n2W8PKKEFmbynwFXauldaHZVrJ2iyrKw79fZCONa2DQDXHQeE=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.25,REQID:51ac7f0d-4f8c-4dc8-9df0-7441f5d254b8,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:d5b0ae3,CLOUDID:4a1c363d-de1e-4348-bc35-c96f92f1dcbb,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,OSI:0,OSA:0,AV:0 X-CID-BVR: 0 X-CID-BAS: 0,_,0,_ X-UUID: 34570e80015911ee9cb5633481061a41-20230602 Received: from mtkmbs13n2.mediatek.inc [(172.21.101.108)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1385702008; Fri, 02 Jun 2023 23:21:53 +0800 Received: from mtkmbs13n2.mediatek.inc (172.21.101.194) by mtkmbs13n1.mediatek.inc (172.21.101.193) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Fri, 2 Jun 2023 23:21:52 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs13n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Fri, 2 Jun 2023 23:21:52 +0800 From: Shayne Chen To: Felix Fietkau CC: linux-wireless , Lorenzo Bianconi , Ryder Lee , Evelyn Tsai , Bo Jiao , linux-mediatek , Howard Hsu , Shayne Chen Subject: [PATCH 12/12] wifi: mt76: mt7996: increase tx token size Date: Fri, 2 Jun 2023 23:21:08 +0800 Message-ID: <20230602152108.26860-12-shayne.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20230602152108.26860-1-shayne.chen@mediatek.com> References: <20230602152108.26860-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,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,URIBL_BLOCKED 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 From: Howard Hsu Align tx token size to proprietary driver, which can improve peak throughput under MU performance tests. Signed-off-by: Howard Hsu Signed-off-by: Shayne Chen --- drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h b/drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h index a3bd85d3df25..651f53aa0cca 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h +++ b/drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h @@ -36,7 +36,7 @@ #define MT7996_EEPROM_DEFAULT "mediatek/mt7996/mt7996_eeprom.bin" #define MT7996_EEPROM_SIZE 7680 #define MT7996_EEPROM_BLOCK_SIZE 16 -#define MT7996_TOKEN_SIZE 8192 +#define MT7996_TOKEN_SIZE 16384 #define MT7996_CFEND_RATE_DEFAULT 0x49 /* OFDM 24M */ #define MT7996_CFEND_RATE_11B 0x03 /* 11B LP, 11M */ -- 2.39.2