Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1112150pxb; Wed, 6 Apr 2022 09:01:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzSiGzSHMiysbFOzkvmiX484DQ5/Sjb46McwdfLW1foeBnzArKuUIyBxr5cm79iRK88/Uyr X-Received: by 2002:a05:6e02:198e:b0:2c9:ef6a:9974 with SMTP id g14-20020a056e02198e00b002c9ef6a9974mr4532575ilf.290.1649260878151; Wed, 06 Apr 2022 09:01:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649260878; cv=none; d=google.com; s=arc-20160816; b=A2YAgbd6MJISmUCZA0t60M7pS9eU1E5grbl89y8Vm+H2NpylExI6IN3xjKqC3F+q1g irr9fRsVl+PWjU2voFAZn8ymM0mnE49NLT62vqQbkg+tebya/NNTlE+FrDOlsyAMY5vk zJh9L2fjxN6e0mC43m6kcVHoVANl238myFsr9W61Os96+2O4iJWTo7jwQpf2P50AnDaM qdyWwZ/Hl0W3uXl1cdlLQfm5zxW4BLe50TDSw+Wnz+Ed7rDT7HMH6abyUm9FNFspl0FZ 6TIL4V5uLIi7W+n7i0I39lCmAhd5tirAa4QhhOJzTsxzbP2+YA1IDhGLWELtcOa3IVPE n02A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:user-agent:cc:to:references :in-reply-to:from:subject:content-transfer-encoding:mime-version :dkim-signature; bh=tmCiag5D3aXl1jmzMUj2xym45I2yUFSy226lfgdc5cY=; b=zkjlQO6YArqzd6IyPa90xk+FyyD2BHOJvdy31KeEPxYW9AQt0X/6h19G4+PN5jDXs/ uEAkZttoponDBBXpvRzMAELP5z83ZK7LT1Hnce/He/+30kpXk0ICynSppKE4K8nwR8ls 8vdWPfp7pqRXCca9Ug2WcXEffdoM+OinYWfNvfj00tU95jtZmMCvP7Pq7krChmcocvDE ncd8gc4NADG7MTcSuPEYhg4eiwMyVLw2JGmXNpwtWm3IdS7JZsOksndWi3vcqY0G800D rjtpi596brM6FPoFhiy7qYJ+oBKcvtvE/grIIU05K6fKnB04U53/tPaziWghHVM8ktsf Yqdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pIa4E0+U; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id s3-20020a5e9803000000b0064c6fd65b5bsi8237060ioj.50.2022.04.06.09.01.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 09:01:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pIa4E0+U; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A16553F7DEE; Wed, 6 Apr 2022 07:51:23 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235408AbiDFOxO (ORCPT + 99 others); Wed, 6 Apr 2022 10:53:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235072AbiDFOwq (ORCPT ); Wed, 6 Apr 2022 10:52:46 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4F911925BA; Wed, 6 Apr 2022 04:28:19 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 15480CE22A0; Wed, 6 Apr 2022 11:28:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7CD01C385A7; Wed, 6 Apr 2022 11:28:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649244496; bh=eAgbv9qgg274UEIYdexRlug70MVocnKwK9vWroUZko0=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=pIa4E0+UEbA/SOqY2lPQRFBLbmmUL0xYSP6M7jkkfkqwJf9TgYsN473SXmo2sHjlU XLWBEYPihuWGVMM5W7V8bvRJweLXMypfFYcCgSrqAJ4zfmBjnH97NpR0pb8nqL2KU2 yFdkNcWhloCeDF6i6GhqjHHRKFd/Dkh1vCN+0mfC3XqAlANEpmKz9jiiXF8eovm3U3 9EJ+TqSTXdN7C4Msd+UYwvdf/9Pzl1GHAKAnxFBIVrMvyXe60cNfJakGXXwRfPQjB+ xYII7hf8ECE4TLJb2sPpnQxUA17myXM3T0xI6zDVH9m/OhT0SqR/oMbFxrLazompDI YzxNMSJJlQ3/A== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [v3,2/2] rtl8xxxu: fill up txrate info for gen1 chips From: Kalle Valo In-Reply-To: <20220325035735.4745-3-chris.chiu@canonical.com> References: <20220325035735.4745-3-chris.chiu@canonical.com> To: Chris Chiu Cc: Jes.Sorensen@gmail.com, davem@davemloft.net, kuba@kernel.org, code@reto-schneider.ch, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Chris Chiu User-Agent: pwcli/0.1.0-git (https://github.com/kvalo/pwcli/) Python/3.7.3 Message-ID: <164924448932.19026.12333806311207815732.kvalo@kernel.org> Date: Wed, 6 Apr 2022 11:28:14 +0000 (UTC) X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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-kernel@vger.kernel.org Chris Chiu wrote: > RTL8188CUS/RTL8192CU(gen1) don't support rate adaptive report hence > 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. > > Signed-off-by: Chris Chiu You ignored Reto's comment in v2 about misspelling of adaptive, but I'll fix that during commit. -- https://patchwork.kernel.org/project/linux-wireless/patch/20220325035735.4745-3-chris.chiu@canonical.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches