Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1829170ybi; Mon, 1 Jul 2019 00:58:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqyH4QW6EIP+63WdPn947FsGzV4GGRV9FmusjyculzvdH0ctmemKBajoYz3w/jzuruXHlEXe X-Received: by 2002:a17:902:8c98:: with SMTP id t24mr28323526plo.320.1561967907028; Mon, 01 Jul 2019 00:58:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561967907; cv=none; d=google.com; s=arc-20160816; b=b0NfGAGAx5MKMiW2cNvDfZ4pefbCuxTZucE4TkBPGEnmvGsGugOm3Rec6UHpQ8YxeC ZAtwW/fh/iTWoRHj2PtZ0IEMCEr7SdMHbz24/k16jvBxAY7N6DSfuGEJqpscQ2Sd21v9 T16Xo+lzrmBIQl5pg4kw1YX3kJAjiZ3ZRq/Bwri5Vm4kLUfBC4dJyUXViR22+Ivm2ZrE 46Ggk3PUIed1FtPivYBXQMCblTsVMbJyReMMKB2+jGF9A6UdRb7g0Kzo7ecwwV8dzzZJ DQKSf92vp+KKuNMEL5Jm5Rznn4cifKEo0LtXyKN5guMQU3IOtOAYM+p7WR/x5zL7I8if EMsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=mtyfCDkCjq5RHAVYhMnNoIQKBSXSMCI67JdQ5H2fFB4=; b=bl2avnnOhaVJv4KycFwzdwWFu1zGA+tx1BTl29NEYSdTUabv0TgqkBWc/WAeMUtzyf 9M1oam9SKx8bkWnit74kJZPRsYM62X5xmjo0dTJWRgfE7HhRjiCNCIlden41GCgxz3cn OZZMlT3PmUy+m0nxJsoiab0SoJgJJIXOzKTtqjAQyk6Cz1izX3UCNvtzrALOZAK+JJZi MWMEu4NgAcxmMVv73kjwSSG8+OnyaMiyGB7lLl0BDkRErhdiRUMLbJDk73O0AyOQrfMO uFo3VSvaO5SMIfGDvTLzafsjpCHmoPROJlGEGb5KF3vvzJyQJhSsdWsHg36zZEFRo6VR v3hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@endlessm-com.20150623.gappssmtp.com header.s=20150623 header.b=CMfvCiQ9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j2si10413459pff.230.2019.07.01.00.58.11; Mon, 01 Jul 2019 00:58:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@endlessm-com.20150623.gappssmtp.com header.s=20150623 header.b=CMfvCiQ9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726036AbfGAH5h (ORCPT + 99 others); Mon, 1 Jul 2019 03:57:37 -0400 Received: from mail-qk1-f195.google.com ([209.85.222.195]:38401 "EHLO mail-qk1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727344AbfGAH5h (ORCPT ); Mon, 1 Jul 2019 03:57:37 -0400 Received: by mail-qk1-f195.google.com with SMTP id a27so10260190qkk.5 for ; Mon, 01 Jul 2019 00:57:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=endlessm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mtyfCDkCjq5RHAVYhMnNoIQKBSXSMCI67JdQ5H2fFB4=; b=CMfvCiQ9YcwZMzl4gxArCw2oFzR+5VwPbG22HvLIBEuInytw5vIVm3X8wYi+SLPMqf ShzzQOvX3lx4nDaIXJXgZZyzdvFqMcBoLGxeMrzy2SO48kTtUJeWHbZS0rHeWMWuYKYU ZElTKLFd6vSjn93nyBlLvaWF8mgOyX3DoT1GF6/CwKdg5a0A1s7neYlcm47XEUKmdqET AUKk1MA6xlA+kQplohG8lWA+u7uDzG3RpZ5sm7LCv5CjjP1wNyDFNpJGKwIYsGxClHXS o9kSagK/mZ17fupgVAwYkWbPaz3/+UHmAbC6POxg3z2lC0AxI5oCNWJbdf4zGN3fH8cb GrTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mtyfCDkCjq5RHAVYhMnNoIQKBSXSMCI67JdQ5H2fFB4=; b=Pz5VvPKiRhgsr0+I20xm5qPeGkLY/rCb+ggH1kMWuokmKNLzu3wJ9295kfDH5c6g/3 18lwEx3hd7IqUUtMos+mtoqYMDcejYAxLHVbhtRF6fl5UCq7F5YmAyEqWT1xgtZWMjNN Vl6gT/Z+Gd+aNBikHfG/ON2uyBxy5gXvvNnuiVGQGZDoJHeekU/OTkKm2YQEj/nOcvDw ubRH3ShOdoZ53vdNeYod6HqCpRiDd6M6wpeTVRrmhgbzrEMqDmaW87m1K+TiigDQbtwg i8W3cVpk7SLorQ9ZlQnLkVNvw0KvZ9JEKPN2qoTekRPBjThnLFDwylAeS5Endnmgu4/X E4XQ== X-Gm-Message-State: APjAAAXVxH0dd83+anDO4kj2hq93i28z7L5BzaCfCqWUSzORmQr9LM/3 j0f47gGFh8QAGvMNlK/x/KtbT5kzu0V4iP4X6P9kYg== X-Received: by 2002:ae9:e306:: with SMTP id v6mr19147089qkf.145.1561967856075; Mon, 01 Jul 2019 00:57:36 -0700 (PDT) MIME-Version: 1.0 References: <20190617065600.40405-1-chiu@endlessm.com> In-Reply-To: <20190617065600.40405-1-chiu@endlessm.com> From: Daniel Drake Date: Mon, 1 Jul 2019 15:57:25 +0800 Message-ID: Subject: Re: [RFC PATCH v5] rtl8xxxu: Improve TX performance of RTL8723BU on rtl8xxxu driver To: Chris Chiu Cc: Jes Sorensen , Kalle Valo , David Miller , linux-wireless , netdev , Linux Kernel , Linux Upstreaming Team Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 17, 2019 at 2:56 PM Chris Chiu wrote: > With this commit, the tx rate of each data and qos data packet will > be 39Mbps (MCS4) with the 0xF00000 as the tx rate mask. The 20th bit > to 23th bit means MCS4 to MCS7. It means that the firmware still picks > the lowest rate from the rate mask and explains why the tx rate of > data and qos data is always lowest 1Mbps because the default rate mask > passed is always 0xFFFFFFF ranges from the basic CCK rate, OFDM rate, > and MCS rate. However, with Realtek's driver, the tx rate observed from > wireshark under the same condition is almost 65Mbps or 72Mbps suggestion: add: , indicating that rtl8xxxu could still be further improved. Then remove this paragraph, I think we're in agreement of the approach here: > I believe the firmware of RTL8723BU may need fix. And I think we > can still bring in the dm_watchdog as rtlwifi to improve from the > driver side. Please leave precious comments for my commits and > suggest what I can do better. Or suggest if there's any better idea > to fix this. Thanks. > Signed-off-by: Chris Chiu Reviewed-by: Daniel Drake > + * is supported and no iface_combinations are providec. typo: provided