Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp151780ybg; Tue, 22 Oct 2019 17:51:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqwQIdu7TrYmrEToNkkyzfsaXTS1KJV8GHMZZ7ttjYmkKyRPOxHxT7N6T8qgov8bZgRx9mnN X-Received: by 2002:a17:906:5ac3:: with SMTP id x3mr18358542ejs.145.1571791894753; Tue, 22 Oct 2019 17:51:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571791894; cv=none; d=google.com; s=arc-20160816; b=jbwGtGAU2U/v+VEUiNgNsD5XruhoJXihCEeM1NMsrdcbaI2MatBOqNzenkgcUvx1CN 8yCEIuEebCmLNnYHnAmCkUh4eTSvktUcXfUDnLGHIJ2J0oTT7G8/WPOqex7FczP/2EvK 1ItcVvO+ZZLswJmBjh2+Stj+OjT7Q/HI25oaA3qwFaIeAHwG46GntHXUf2sU3smJZnxq +Tw2fxvkEwyNTaRwwamv7GXyr0mVq88dv+6BgIBIiBW1fx0qcvu7f3tpGYnJoJGYwmTG D8CQjJjSv/x6xTjHO9XBEQ2qcyM28ZHo8b9iGG8ubXdd7fk5v6lMpDWc6V6BiayZOwQn W6Sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:authenticated-by; bh=GDIWLATpbiyhHtYZT/LDMloMBTUBqKJz9wzWAOWcL6Y=; b=oq4N1MLZKVhTxry6qqkK05f3ghs5/2exR77b0Jseiu4BH48YI+w0w0OlH6kZGJXcFf NbNSkOJcfDrU/PgrK8QyQ0FAaqDFnqMdLbZ9QU7AxmWwJ3KYqsu0XLdkdrbGRqNzHQW3 TYb0KHfDfrIiY34QEseZ9qlo57iigHqT1jcicPslhfN5p/mPdXxDID3oEz92S9Le2JTC 6bW8rDzWVcU8souHB0TzMJBdhPGF/iTtaqlB3U+PuP4LD/4gE7q6q4pPldbLbPJ7Yd9p 304mL4DCVxNSr1yYnzXaNR/0e4n0X07Bk5XWkG1pFWnyH0pjzfublxILkkGntxZ3eU+e FTQA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-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 i31si6715937eda.147.2019.10.22.17.51.06; Tue, 22 Oct 2019 17:51:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729666AbfJWAr4 (ORCPT + 99 others); Tue, 22 Oct 2019 20:47:56 -0400 Received: from rtits2.realtek.com ([211.75.126.72]:40998 "EHLO rtits2.realtek.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727403AbfJWAr4 (ORCPT ); Tue, 22 Oct 2019 20:47:56 -0400 Authenticated-By: X-SpamFilter-By: BOX Solutions SpamTrap 5.62 with qID x9N0lgT6017959, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (RTITCAS11.realtek.com.tw[172.21.6.12]) by rtits2.realtek.com.tw (8.15.2/2.57/5.78) with ESMTPS id x9N0lgT6017959 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 23 Oct 2019 08:47:42 +0800 Received: from RTITMBSVM04.realtek.com.tw ([fe80::e404:880:2ef1:1aa1]) by RTITCAS11.realtek.com.tw ([fe80::7c6d:ced5:c4ff:8297%15]) with mapi id 14.03.0468.000; Wed, 23 Oct 2019 08:47:42 +0800 From: Pkshih To: Chris Chiu , Tony Chuang CC: Kalle Valo , linux-wireless , Brian Norris Subject: RE: [PATCH v3 4/5] rtw88: add set_bitrate_mask support Thread-Topic: [PATCH v3 4/5] rtw88: add set_bitrate_mask support Thread-Index: AQHViMCyu5KjsNbAd0CXoL0Xc3riU6dmFqcAgAFOEYA= Date: Wed, 23 Oct 2019 00:47:40 +0000 Message-ID: <5B2DA6FDDF928F4E855344EE0A5C39D1D5C88DA8@RTITMBSVM04.realtek.com.tw> References: <20191022100420.25116-1-yhchuang@realtek.com> <20191022100420.25116-5-yhchuang@realtek.com> In-Reply-To: Accept-Language: en-US, zh-TW Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.21.69.95] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogbGludXgtd2lyZWxlc3Mt b3duZXJAdmdlci5rZXJuZWwub3JnIFttYWlsdG86bGludXgtd2lyZWxlc3Mtb3duZXJAdmdlci5r ZXJuZWwub3JnXSBPbiBCZWhhbGYNCj4gT2YgQ2hyaXMgQ2hpdQ0KPiBTZW50OiBUdWVzZGF5LCBP Y3RvYmVyIDIyLCAyMDE5IDg6NDkgUE0NCj4gVG86IFRvbnkgQ2h1YW5nDQo+IENjOiBLYWxsZSBW YWxvOyBsaW51eC13aXJlbGVzczsgQnJpYW4gTm9ycmlzDQo+IFN1YmplY3Q6IFJlOiBbUEFUQ0gg djMgNC81XSBydHc4ODogYWRkIHNldF9iaXRyYXRlX21hc2sgc3VwcG9ydA0KPiANCj4gT24gVHVl LCBPY3QgMjIsIDIwMTkgYXQgNjowNCBQTSA8eWhjaHVhbmdAcmVhbHRlay5jb20+IHdyb3RlOg0K P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g2MywgMCk7DQo+ID4gKyAgICAgICB1OCByc3NpX2xldmVsLCBiYW5kOw0KPiA+ICsNCj4gPiAr ICAgICAgIGlmICh3aXJlbGVzc19zZXQgIT0gV0lSRUxFU1NfQ0NLKSB7DQo+ID4gKyAgICAgICAg ICAgICAgIHJzc2lfbGV2ZWwgPSBzaS0+cnNzaV9sZXZlbDsNCj4gPiArICAgICAgICAgICAgICAg aWYgKHJzc2lfbGV2ZWwgPT0gMCkNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICByYV9tYXNr ICY9IDB4ZmZmZmZmZmZmZmZmZmZmZlVMTDsNCj4gPiArICAgICAgICAgICAgICAgZWxzZSBpZiAo cnNzaV9sZXZlbCA9PSAxKQ0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgIHJhX21hc2sgJj0g MHhmZmZmZmZmZmZmZmZmZmYwVUxMOw0KPiA+ICsgICAgICAgICAgICAgICBlbHNlIGlmIChyc3Np X2xldmVsID09IDIpDQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgcmFfbWFzayAmPSAweGZm ZmZmZmZmZmZmZmVmZTBVTEw7DQo+ID4gKyAgICAgICAgICAgICAgIGVsc2UgaWYgKHJzc2lfbGV2 ZWwgPT0gMykNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICByYV9tYXNrICY9IDB4ZmZmZmZm ZmZmZmZmY2ZjMFVMTDsNCj4gPiArICAgICAgICAgICAgICAgZWxzZSBpZiAocnNzaV9sZXZlbCA9 PSA0KQ0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgIHJhX21hc2sgJj0gMHhmZmZmZmZmZmZm ZmY4ZjgwVUxMOw0KPiA+ICsgICAgICAgICAgICAgICBlbHNlIGlmIChyc3NpX2xldmVsID49IDUp DQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgcmFfbWFzayAmPSAweGZmZmZmZmZmZmZmZjBm MDBVTEw7DQo+ID4gKyAgICAgICB9DQo+IA0KPiBXb3VsZCBiZSBiZXR0ZXIgdG8gZW51bWVyYXRl IHJzc2lfbGV2ZWwgaW5zdGVhZCBvZiAwIHRvIDUuIERvZXMgbGV2ZWwNCj4gMCBtZWFucyBiYWQg cnNzaSBvciBnb29kPw0KPiANCj4gPiAtLQ0KPiA+IDIuMTcuMQ0KPiA+DQo+IA0KPiAtLS0tLS1Q bGVhc2UgY29uc2lkZXIgdGhlIGVudmlyb25tZW50IGJlZm9yZSBwcmludGluZyB0aGlzIGUtbWFp bC4NCg==