Return-path: Received: from mx0b-0016f401.pphosted.com ([67.231.156.173]:50303 "EHLO mx0b-0016f401.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965061AbdEWHIW (ORCPT ); Tue, 23 May 2017 03:08:22 -0400 From: Xinming Hu To: Brian Norris , Xinming Hu CC: Linux Wireless , Kalle Valo , Dmitry Torokhov , "rajatja@google.com" , Zhiyuan Yang , Cathy Luo , Ganapathi Bhat Subject: RE: [EXT] Re: [PATCH v3 5/6] mwifiex: do not aggregate tcp ack in usb tx aggregation queue Date: Tue, 23 May 2017 07:08:12 +0000 Message-ID: <0f8ab8755daa4fd19242fdaa4abddc5f@SC-EXCH02.marvell.com> (sfid-20170523_090848_157264_BC92AA58) References: <1495184805-6631-1-git-send-email-huxinming820@gmail.com> <1495184805-6631-5-git-send-email-huxinming820@gmail.com> <20170519164232.GB125761@google.com> In-Reply-To: <20170519164232.GB125761@google.com> Content-Type: text/plain; charset="gb2312" MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: SGkgQnJhaW4sDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogQnJpYW4g Tm9ycmlzIFttYWlsdG86YnJpYW5ub3JyaXNAY2hyb21pdW0ub3JnXQ0KPiBTZW50OiAyMDE3xOo1 1MIyMMjVIDA6NDMNCj4gVG86IFhpbm1pbmcgSHUNCj4gQ2M6IExpbnV4IFdpcmVsZXNzOyBLYWxs ZSBWYWxvOyBEbWl0cnkgVG9yb2tob3Y7IHJhamF0amFAZ29vZ2xlLmNvbTsgWmhpeXVhbg0KPiBZ YW5nOyBDYXRoeSBMdW87IFhpbm1pbmcgSHU7IEdhbmFwYXRoaSBCaGF0DQo+IFN1YmplY3Q6IFtF WFRdIFJlOiBbUEFUQ0ggdjMgNS82XSBtd2lmaWV4OiBkbyBub3QgYWdncmVnYXRlIHRjcCBhY2sg aW4gdXNiIHR4DQo+IGFnZ3JlZ2F0aW9u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