Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp347986rwb; Sat, 17 Sep 2022 06:22:17 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7CMAjbeiO3jsjv6ycpM/E30JNx/BrqfnFBsv1pnAhe2hH/fELae4PlDdrDdGoRFv3t4JrO X-Received: by 2002:a05:6a00:1808:b0:542:f4f2:86aa with SMTP id y8-20020a056a00180800b00542f4f286aamr10149767pfa.28.1663420937731; Sat, 17 Sep 2022 06:22:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663420937; cv=none; d=google.com; s=arc-20160816; b=bNgzzBV5/cWQAzz+HRDYRvUUCtkDv1mSr6LX/ul0YBvNjYlulw2C/8PmCW8ZcHcncI kgeyC77iSoKZrbXfTdsmzKw0NoY6M+I3asX67FAcvkVXW6S1+EywdZ4XkxSvkPjoRfgM LHfIO3kwDC0RCseS1dPQ72X9XvWOau5GuFnoeVfDdwXgkhm8wqMryUFoQqRjJXbofozJ zzK3RENT8N0siPx6FtZYGbn+WMQwDL+HbcRKX4f0km5QgwJDGeD2wr5FNXTxp+7e+exZ 7Gl+dRbANPPQZjDt9mYC3OoZpjExIa2trJmZY7hYXGzBUo1dZz9kzZsFaQ73fWRugQ5s jIhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=04ZjOl+BJ+JomNrUqfwG3BFMCECOiWOEzstg1ce02yY=; b=0R8w5XYCt0XfprQaHN509c9ir+I4cudca00yss73wW9Ob3Wuh2YVDbM/WOMu8uu7R9 T5AdcyRULyTln+j5U0W4YA3hAT6rX6NwBg10OwesCr+JuzOagCRD/oVpbgRKLMypw6d+ t0rA7uluNIT1X/wUZLJEVww+7J90i5Vj8eQ0RBVHxIMihlzqjfWdUSNfNxWxFuGGNY8m hmIIgpt4a++yjJEME2/EB+yTWZYI5ZKK87eCmEp4s/DSw6BiL0gDGX+KsQmkJwv+lqYj 1UoeuaFW8FfM6Q5dObg1UDH7ztmgjdwS8nI8w8yI99wwOpSqF/o3vkEQjjYal6akeThc VZnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@wp.pl header.s=1024a header.b="BtLAefq/"; 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=NONE sp=NONE dis=NONE) header.from=wp.pl Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j6-20020a63e746000000b0041a11845a19si24198556pgk.703.2022.09.17.06.22.08; Sat, 17 Sep 2022 06:22:17 -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 (test mode) header.i=@wp.pl header.s=1024a header.b="BtLAefq/"; 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=NONE sp=NONE dis=NONE) header.from=wp.pl Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229501AbiIQNRj (ORCPT + 64 others); Sat, 17 Sep 2022 09:17:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229572AbiIQNRi (ORCPT ); Sat, 17 Sep 2022 09:17:38 -0400 Received: from mx4.wp.pl (mx4.wp.pl [212.77.101.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2F3936DF1 for ; Sat, 17 Sep 2022 06:17:36 -0700 (PDT) Received: (wp-smtpd smtp.wp.pl 22348 invoked from network); 17 Sep 2022 15:17:34 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wp.pl; s=1024a; t=1663420654; bh=04ZjOl+BJ+JomNrUqfwG3BFMCECOiWOEzstg1ce02yY=; h=From:To:Cc:Subject; b=BtLAefq/cx0KPJUMeAQGE435Hikh7Q55Uzuw+5OEda7mjVoozaJJQTI8WwG7vhV2E j7q8Rbvtzg2dXZ9L50YJX2VUs0ZpD9P3KncT1eU6HejcIjVVZ+a5jF39klETLbTOko 59H3CVEiof5iXiWloi8+k1pMIDRqW4Qluvi4sv4Q= Received: from 89-64-7-128.dynamic.chello.pl (HELO localhost) (stf_xl@wp.pl@[89.64.7.128]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with ECDHE-RSA-AES256-GCM-SHA384 encrypted SMTP for ; 17 Sep 2022 15:17:34 +0200 Date: Sat, 17 Sep 2022 15:17:33 +0200 From: Stanislaw Gruszka To: Daniel Golle Cc: linux-wireless@vger.kernel.org, Helmut Schaa , Kalle Valo , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Johannes Berg Subject: Re: [PATCH 00/15] rt2x00: OpenWrt patches improving MT7620 Message-ID: <20220917131733.GM17901@wp.pl> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-WP-MailID: 5a9e261cb07d7cf2d1859a11e6c86d3a X-WP-AV: skaner antywirusowy Poczty Wirtualnej Polski X-WP-SPAM: NO 0000000 [ocM0] X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS 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 On Sat, Sep 17, 2022 at 12:03:57AM +0100, Daniel Golle wrote: > Over the years we have been accumulating a number of patches improving > support for the IEEE 802.11bgn 2T2R wireless interface built into the > MediaTek MT7620 MIPS SoCs. Many of them have not been in shape for > being submitted to Linux and changes were needed to make checkpatch.pl > all happy. Now they look as good as it gets, given that most code deals > with undocumented registers and was adapted from the vendor driver. > > Patch 1/1 also has been previously submitted and then (imho wrongly) >rejected, so I've included it in this series. In general this looks good. Some calibration functions are just too big, but we can eventually take them and refactor in the tree. Just please assure there are no compilation warnings and add yours signed-off by to all patches. > Alltogether rt2x00 now performs almost as good as the vendor driver, > see benchmark of HT20 client below: > > Accepted connection from 192.168.5.133, port 37382 > [ 5] local 192.168.5.175 port 5201 connected to 192.168.5.133 port 37384 > [ ID] Interval Transfer Bitrate > [ 5] 0.00-1.00 sec 9.57 MBytes 80.3 Mbits/sec > [ 5] 1.00-2.00 sec 9.68 MBytes 81.2 Mbits/sec > [ 5] 2.00-3.00 sec 9.98 MBytes 83.7 Mbits/sec > [ 5] 3.00-4.00 sec 9.72 MBytes 81.6 Mbits/sec > [ 5] 4.00-5.00 sec 9.49 MBytes 79.6 Mbits/sec > [ 5] 5.00-6.00 sec 9.88 MBytes 82.9 Mbits/sec > [ 5] 6.00-7.00 sec 9.76 MBytes 81.8 Mbits/sec > [ 5] 7.00-8.00 sec 9.96 MBytes 83.6 Mbits/sec > [ 5] 8.00-9.00 sec 9.76 MBytes 81.9 Mbits/sec > [ 5] 9.00-10.00 sec 9.86 MBytes 82.7 Mbits/sec > [ 5] 10.00-10.03 sec 243 KBytes 78.4 Mbits/sec > - - - - - - - - - - - - - - - - - - - - - - - - - > [ ID] Interval Transfer Bitrate > [ 5] 0.00-10.03 sec 97.9 MBytes 81.9 Mbits/sec receiver My mt7620 AP benchmarking tests quite highly depended on client devices. With clients like iwlwifi and ath it worked ok. I got pretty poor results when connected rt2x00 client devices :-/ Regards Stanislaw