Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp7722879rwi; Mon, 24 Oct 2022 19:38:13 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4RVm49HTEz3WrBdFGY6REg6sFRcQPA+O91T+gbmFWpkRTSrgozET/ESazEVrxpugzWFrgz X-Received: by 2002:a17:907:a055:b0:7a5:587d:d313 with SMTP id gz21-20020a170907a05500b007a5587dd313mr8976350ejc.657.1666665492807; Mon, 24 Oct 2022 19:38:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666665492; cv=none; d=google.com; s=arc-20160816; b=Xtvkszsj6l55sOMgDba/bNFCg0w2Xs0RTINRFymt3swBOQVaqcGsQzNkxDdBB/bhag yCTHqauu4FxBKlLrM/g22z3WEUR1Bd3eiCKUv/3rYr/VDMR+rLqmXTTyP71sijBGL1eJ W109C3L01hSQlUIQJJBsjV+oIBn9rEtXLcAEyGUHAzr28E3JVA4aRarhVDZgrkMgD74W QFhnjF6QdEUlEhjHJhD5LOC5Yz2yjVyiyQChSMAVc6F8mCwmVX7m/7Z80z4ccQB1A0Y2 zwTTEyq0KbN8NHUTjccyKLHzClOTZVYI8REqxiVOp6diZ0ZYPT+QixiOuNmAC9GSOSiv yLPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:to:from:authenticated-by; bh=CPPbpZ5OWZjKhQ82pjOmBIMWgNWcEKNKOkmQXts84PI=; b=rwUbRuLq7zCX1MFqaG/WLjBIpWeWjo0bN3ZSkqMmAqBaIF09PSFnTktMFwsyi7+yfT CvwDnr29c18JIle4mART3RAB8Hz2jCYi6BSK5BwkvJ/AxDvGkqb4CY5hZhaGSon1/pc2 MujYWlpY38DOQPHeEG71l6MZC6chuhzih0xwyEUxKVqX4txtr6FC8gcCnRcb++IQp4yU m4sWsYBSUpThCpioe8OXIZ0htjI8DtyuntiMl3q7UTOxgIul6V9Q6PxdNHjYpCKCY/4o 1f3EpWaDMUtiKfLrqxz3hEPx3PdUEEQKXXrylhhpEX7p4zVaY5rOKsDjTT6OVvY49sTt 9hAg== 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 l11-20020a056402254b00b00457c9eddd10si1364146edb.617.2022.10.24.19.37.52; Mon, 24 Oct 2022 19:38:12 -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 S230521AbiJYCZy (ORCPT + 65 others); Mon, 24 Oct 2022 22:25:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230476AbiJYCZs (ORCPT ); Mon, 24 Oct 2022 22:25:48 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 40C9230550 for ; Mon, 24 Oct 2022 19:25:45 -0700 (PDT) Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.77 with qID 29P2P7ntC002883, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36506.realtek.com.tw[172.21.6.27]) by rtits2.realtek.com.tw (8.15.2/2.81/5.90) with ESMTPS id 29P2P7ntC002883 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=FAIL); Tue, 25 Oct 2022 10:25:07 +0800 Received: from RTEXMBS01.realtek.com.tw (172.21.6.94) by RTEXH36506.realtek.com.tw (172.21.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.9; Tue, 25 Oct 2022 10:25:40 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXMBS01.realtek.com.tw (172.21.6.94) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Tue, 25 Oct 2022 10:25:40 +0800 Received: from RTEXMBS04.realtek.com.tw ([fe80::add3:284:fd3d:8adb]) by RTEXMBS04.realtek.com.tw ([fe80::add3:284:fd3d:8adb%5]) with mapi id 15.01.2375.007; Tue, 25 Oct 2022 10:25:40 +0800 From: Ping-Ke Shih To: Bitterblue Smith , "linux-wireless@vger.kernel.org" Subject: RE: How to use the rate control in mac80211? Thread-Topic: How to use the rate control in mac80211? Thread-Index: AQHY5lyyL3gBgbd0EU6ThXL7SgPKiq4cyQxQgABM5QCAAUxF4A== Date: Tue, 25 Oct 2022 02:25:40 +0000 Message-ID: <6af9d9ddfdb34f22a8c8e181ba5d0b1f@realtek.com> References: <92d01e81-9d40-a9a2-1a8e-1207ccf33755@gmail.com> In-Reply-To: <92d01e81-9d40-a9a2-1a8e-1207ccf33755@gmail.com> Accept-Language: en-US, zh-TW Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.21.69.188] x-kse-serverinfo: RTEXMBS01.realtek.com.tw, 9 x-kse-attachmentfiltering-interceptor-info: no applicable attachment filtering rules found x-kse-antivirus-interceptor-info: scan successful x-kse-antivirus-info: =?utf-8?B?Q2xlYW4sIGJhc2VzOiAyMDIyLzEwLzI0IOS4i+WNiCAxMTozMTowMA==?= x-kse-bulkmessagesfiltering-scan-result: protection disabled Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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 DQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IEJpdHRlcmJsdWUgU21pdGgg PHJ0bDg4MjFjZXJmZTJAZ21haWwuY29tPg0KPiBTZW50OiBNb25kYXksIE9jdG9iZXIgMjQsIDIw MjIgMTA6MjUgUE0NCj4gVG86IFBpbmctS2UgU2hpaCA8cGtzaGloQHJlYWx0ZWsuY29tPjsgbGlu dXgtd2lyZWxlc3NAdmdlci5rZXJuZWwub3JnDQo+IFN1YmplY3Q6IFJlOiBIb3cgdG8gdXNlIHRo ZSByYXRlIGNvbnRyb2wgaW4gbWFjODAyMTE/DQo+IA0KPiBPbiAyNC8xMC8yMDIyIDA1OjEzLCBQ aW5nLUtlIFNoaWggd3JvdGU6DQo+ID4NCj4gPj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0N Cj4gPj4gRnJvbTogQml0dGVyYmx1ZSBTbWl0aCA8cnRsODgyMWNlcmZlMkBnbWFpbC5jb20+DQo+ ID4+IFNlbnQ6IFN1bmRheSwgT2N0b2JlciAyMywgMjAyMiA1OjI0IEFNDQo+ID4+IFRvOiBsaW51 eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vcmcNCj4gPj4gU3ViamVjdDogSG93IHRvIHVzZSB0aGUg cmF0ZSBjb250cm9sIGluIG1hYzgwMjExPw0KPiA+Pg0KPiA+PiBIaSENCj4gPj4NCj4gPj4gV2hh dCBkb2VzIGEgZHJpdmVyIChydGw4eHh4dSkgbmVlZCB0byBkbyB0byBtYWtlIHRoZSByYXRlIGNv bnRyb2wgd29yaz8NCj4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