Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1157266pxb; Thu, 24 Mar 2022 14:00:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxeA2IoIFOXOL0FQnmSj/HXQWJgZCOCQbpbeJq79uu2D+Fo8EG42MHrB/d+8/n0jlso2/1j X-Received: by 2002:a17:907:1c95:b0:6e0:8b3e:3a30 with SMTP id nb21-20020a1709071c9500b006e08b3e3a30mr3810257ejc.271.1648155614635; Thu, 24 Mar 2022 14:00:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648155614; cv=none; d=google.com; s=arc-20160816; b=qGuHSUv9zO5w58kzkId3tK+Mmtk6ClgRJBBmzppyh8Km7iF4zMJ07UdLHLr695K5Vh m9HauFpQBn0F9rvPmfIgM0pFVhao3UVqlA+g3XzPSmlXm8hrTmEczNVl79we1WPDCbB3 8XJWIOivzxSG+1fcqfjZUUdDDimw55uTJ4x05Ly+KnY5i/skd8P8JYLLGb6v8Cl4Ix55 dQmMEd1ADXLQXafDDPY9rn0Vx04nQgWYERQy7A+ShO/FdlCnTKzHbD3UVYkGJCHSD6vP p+4SEp3B10SsgTu2iAZJVJ2Vzl/ZNp8IlMQ/miwPBTqlrmWi36dGUFQLnAP3/HhA985K nmVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=XodcjkQW0bgmmueAalELjd4SLUNdr1dNqq8bRyltkVI=; b=PN/e4B7/C89fjG3tylOhTuQVSj4FquLJorMFkWqhLtoKquItcuKxQ7svYZn85XyPxV MtpzTiI2RSkTxYEIllI6mXLWSxg0QJvwCaQjsAjvAwQ5J+/NaShAYIGSZ/UOsaUn4lZQ Pe7WHrv4Q1yx9pyrNOd9aWkaIeB4ZMTpiNq+iNoKkuww/GpfA4nxyAwDybRHj7OQiFmD wZzTEfm0P7T7o21OLYIWCkzDp0Sl6OC5ocmeaejq4FbA1M/ZxCl4k2P66h5sENq7nhdG Lwe4vhJ5PCIp7Pg5lLzo8RaZXTD98EXu08EltB4rhzm8wfWgiJOSxusjJ+jZaqhKFACb WMDA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y9-20020a50f1c9000000b00418d6c3d730si875004edl.253.2022.03.24.13.59.42; Thu, 24 Mar 2022 14:00:14 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349804AbiCXQhB (ORCPT + 70 others); Thu, 24 Mar 2022 12:37:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229817AbiCXQhA (ORCPT ); Thu, 24 Mar 2022 12:37:00 -0400 Received: from mxout013.mail.hostpoint.ch (mxout013.mail.hostpoint.ch [IPv6:2a00:d70:0:e::313]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 262B270046; Thu, 24 Mar 2022 09:35:28 -0700 (PDT) Received: from [10.0.2.46] (helo=asmtp013.mail.hostpoint.ch) by mxout013.mail.hostpoint.ch with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2 (FreeBSD)) (envelope-from ) id 1nXQQo-000FQP-NN; Thu, 24 Mar 2022 17:35:26 +0100 Received: from [2a00:a680:2222:ff00:421d:ad7:faa1:5cf9] by asmtp013.mail.hostpoint.ch with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.95 (FreeBSD)) (envelope-from ) id 1nXQQo-0007gn-IP; Thu, 24 Mar 2022 17:35:26 +0100 X-Authenticated-Sender-Id: reto-schneider@reto-schneider.ch Message-ID: <429120bd-c321-ca44-a98f-a2d8f1ef483d@reto-schneider.ch> Date: Thu, 24 Mar 2022 17:35:26 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH v2 2/2] rtl8xxxu: fill up txrate info for gen1 chips Content-Language: en-US To: Chris Chiu Cc: linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kvalo@kernel.org, Jes.Sorensen@gmail.com, davem@davemloft.net, kuba@kernel.org References: <20220318024216.42204-1-chris.chiu@canonical.com> <20220318024216.42204-3-chris.chiu@canonical.com> From: Reto Schneider In-Reply-To: <20220318024216.42204-3-chris.chiu@canonical.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 18.03.22 03:42, Chris Chiu wrote: > RTL8188CUS/RTL8192CU(gen1) don't support rate adatptive report hence adaptive > no real txrate info can be retrieved. The vendor driver reports the > highest rate in HT capabilities from the IEs to avoid empty txrate. > This commit initiates the txrate information with the highest supported > rate negotiated with AP. The gen2 chip keeps update the txrate from > the rate adaptive reports, and gen1 chips at least have non-NULL txrate > after associated.