Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp283798ybg; Tue, 22 Oct 2019 20:43:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqzobYE00SYsQZxQZFg6/zUaPZKAZOgfANchAWPBTYzSo7/v4VYL7jMkV54cmEd3DE6WC+8M X-Received: by 2002:a17:906:4ac8:: with SMTP id u8mr31182181ejt.193.1571802225128; Tue, 22 Oct 2019 20:43:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571802225; cv=none; d=google.com; s=arc-20160816; b=wALCzhAnOYx23qzGFBsVYXRpxyS4zAldTGxJA5Ny3Td2vx+uioUqWGWF8J8G3byCyT UWJlneTAjOA8ym9o2s+4+aI+a6ef/3fbt1lydBUnrzEUHSu9LYC9y/DaaBVm1A7dGGf4 SAw/RkzX+uSufL3df39XJYNO8/0sarfHMJoSPk+RZCjyJP7AaqGvLHgYcRR7QRFfBvQI /fCML9dr02gQZZ6KfVSblEibqZviXuiB7G78m61DdriV1vTAjWXJWuxR+dKYEbIrnTae vcoNj4u3uMyq64X3KAnakG6EQZ7PyHEM8qLzcrrKpFLVOZer81emWyW7pKrAlT7RQ/5I tZuQ== 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=rkH16vcAORN3IeJPxxtobT7A4yH46ZC7Xrw7RSDBTvU=; b=HlpaxdpAm/9V5oFE+eBb+/+XeGgQVnYa+sC2zF4RweOSLWCkAB8dQsGsh2ivQTwqtx drX1FPe9oPdIOrRzjUDhmoUgrXR6wkjogOzbPlSWnw6ZYDEA0tGtVDaC72bzCvhKucrP fP+MmUdoZR01pUnBmnZd9gTTM58WibbnOi9F3SuwzQFbSZr3zLsh6nkUVfEx21N8CePw SjVItZ67G/M2sbm1iH/Vj+W4E9QSXBsnVsmj/zbe/m4UkK1wPWZZaD/IJH6FYIvBMkvU HRY+IGR87p66CfJRGvKTax+tqbeN3gC3XIYX8rffTKMmiWWsPxOmSM/s7RgpWgOOUgY0 ULOA== 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 w17si7083886edc.152.2019.10.22.20.43.19; Tue, 22 Oct 2019 20:43:44 -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 S2389026AbfJWCh7 (ORCPT + 99 others); Tue, 22 Oct 2019 22:37:59 -0400 Received: from rtits2.realtek.com ([211.75.126.72]:58613 "EHLO rtits2.realtek.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732279AbfJWCh7 (ORCPT ); Tue, 22 Oct 2019 22:37:59 -0400 Authenticated-By: X-SpamFilter-By: BOX Solutions SpamTrap 5.62 with qID x9N2bkuT007023, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (RTITCAS12.realtek.com.tw[172.21.6.16]) by rtits2.realtek.com.tw (8.15.2/2.57/5.78) with ESMTPS id x9N2bkuT007023 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 23 Oct 2019 10:37:46 +0800 Received: from RTITMBSVM04.realtek.com.tw ([fe80::e404:880:2ef1:1aa1]) by RTITCAS12.realtek.com.tw ([::1]) with mapi id 14.03.0468.000; Wed, 23 Oct 2019 10:37:45 +0800 From: Tony Chuang To: Pkshih , Chris Chiu 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: AQHViMCyaB1B1ww9YUqrHX/EZ29S0qdmFqcAgADIrACAAKINcA== Date: Wed, 23 Oct 2019 02:37:44 +0000 Message-ID: References: <20191022100420.25116-1-yhchuang@realtek.com> <20191022100420.25116-5-yhchuang@realtek.com> <5B2DA6FDDF928F4E855344EE0A5C39D1D5C88DA8@RTITMBSVM04.realtek.com.tw> In-Reply-To: <5B2DA6FDDF928F4E855344EE0A5C39D1D5C88DA8@RTITMBSVM04.realtek.com.tw> Accept-Language: zh-TW, en-US Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.21.68.183] 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 PiBbbWFpbHRvOmxpbnV4LXdpcmVsZXNzLW93bmVyQHZnZXIua2VybmVsLm9yZ10gT24gQmVoYWxm DQo+ID4gT2YgQ2hyaXMgQ2hpdQ0KPiA+IFNlbnQ6IFR1ZXNkYXksIE9jdG9iZXIgMjIsIDIwMTkg ODo0OSBQTQ0KPiA+IFRvOiBUb255IENodWFuZw0KPiA+IENjOiBLYWxsZSBWYWxvOyBsaW51eC13 aXJlbGVzczsgQnJpYW4gTm9ycmlzDQo+ID4gU3ViamVjdDogUmU6IFtQQVRDSCB2MyA0LzVdIHJ0 dzg4OiBhZGQgc2V0X2JpdHJhdGVfbWFzayBzdXBwb3J0DQo+ID4NCj4gPiBPbiBUdWUsIE9jdCAy MiwgMjAxOSBhdCA2OjA0IFBNIDx5aGNodWFuZ0ByZWFsdGVrLmNvbT4gd3JvdGU6DQo+ID4gPg0K PiA+ID4gRnJvbTogVHp1LUVuIEh1YW5nIDx0ZWh1YW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jdCBydHdfaGFsICpoYWwgPSAm cnR3ZGV2LT5oYWw7DQo+ID4gPiArICAgICAgIGNvbnN0IHN0cnVjdCBjZmc4MDIxMV9iaXRyYXRl X21hc2sgKm1hc2sgPSBzaS0+bWFzazsNCj4gPiA+ICsgICAgICAgdTY0IGNmZ19tYXNrID0gR0VO TUFTSyg2MywgMCk7DQo+ID4gPiArICAgICAgIHU4IHJzc2lfbGV2ZWwsIGJhbmQ7DQo+ID4gPiAr DQo+ID4gPiArICAgICAgIGlmICh3aXJlbGVzc19zZXQgIT0gV0lSRUxFU1NfQ0NLKSB7DQo+ID4g PiArICAgICAgICAgICAgICAgcnNzaV9sZXZlbCA9IHNpLT5yc3NpX2xldmVsOw0KPiA+ID4gKyAg ICAgICAgICAgICAgIGlmIChyc3NpX2xldmVsID09IDApDQo+ID4gPiArICAgICAgICAgICAgICAg ICAgICAgICByYV9tYXNrICY9IDB4ZmZmZmZmZmZmZmZmZmZmZlVMTDsNCj4gPiA+ICsgICAgICAg ICAgICAgICBlbHNlIGlmIChyc3NpX2xldmVsID09IDEpDQo+ID4gPiArICAgICAgICAgICAgICAg ICAgICAgICByYV9tYXNrICY9IDB4ZmZmZmZmZmZmZmZmZmZmMFVMTDsNCj4gPiA+ICsgICAgICAg ICAgICAgICBlbHNlIGlmIChyc3NpX2xldmVsID09IDIpDQo+ID4gPiArICAgICAgICAgICAgICAg ICAgICAgICByYV9tYXNrICY9IDB4ZmZmZmZmZmZmZmZmZWZlMFVMTDsNCj4gPiA+ICsgICAgICAg ICAgICAgICBlbHNlIGlmIChyc3NpX2xldmVsID09IDMpDQo+ID4gPiArICAgICAgICAgICAgICAg ICAgICAgICByYV9tYXNrICY9IDB4ZmZmZmZmZmZmZmZmY2ZjMFVMTDsNCj4gPiA+ICsgICAgICAg ICAgICAgICBlbHNlIGlmIChyc3NpX2xldmVsID09IDQpDQo+ID4gPiArICAgICAgICAgICAgICAg ICAgICAgICByYV9tYXNrICY9IDB4ZmZmZmZmZmZmZmZmOGY4MFVMTDsNCj4gPiA+ICsgICAgICAg ICAgICAgICBlbHNlIGlmIChyc3NpX2xldmVsID49IDUpDQo+ID4gPiArICAgICAgICAgICAgICAg ICAgICAgICByYV9tYXNrICY9IDB4ZmZmZmZmZmZmZmZmMGYwMFVMTDsNCj4gPiA+ICsgICAgICAg fQ0KPiA+DQo+ID4gV291bGQgYmUgYmV0dGVyIHRvIGVudW1lcmF0ZSByc3NpX2xldmVsIGluc3Rl YWQgb2YgMCB0byA1LiBEb2VzIGxldmVsDQo+ID4gMCBtZWFucyBiYWQgcnNzaSBvciBnb29kPw0K PiA+DQoNCkkgdGhpbmsgMCBpcyB0aGUgbG93ZXN0IGxldmVsLiBBbmQgSSB0aGluayB3ZSBkb24n dCBuZWVkIHRvIGFkZCBhbiBlbnVtIGZvcg0KdGhpcyBraW5kIG9mIGxldmVscywgYXMgdGhlIG51 bWJlciBqdXN0IHByZXNlbnRzIHRoZSBtZWFuaW5nIG9mIGl0Lg0KDQpZYW4tSHN1YW4NCg==