Return-path: Received: from netsys.kaist.ac.kr ([143.248.239.50]:43835 "EHLO netsys.kaist.ac.kr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753324AbZKJQGa (ORCPT ); Tue, 10 Nov 2009 11:06:30 -0500 From: "Jinsung Lee" To: "'Johannes Berg'" Cc: Subject: [PATCH] iw: setting txq parameters Date: Wed, 11 Nov 2009 01:06:17 +0900 Message-ID: <01e101ca621f$bc5ead30$351c0790$@kaist.ac.kr> MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Sender: linux-wireless-owner@vger.kernel.org List-ID: VGhpcyBwYXRjaCBlbmFibGVzIHRvIHNldCB0eHEgcGFyYW1zIHN1Y2ggYXMgYWlmcywgY3dtaW4s IGN3bWF4IGFuZCB0eG9wIGZvcg0KZWFjaCBxdWV1ZSBmb3IgVk8sIFZJLCBCRSwgQksgZGlyZWN0 bHkgdXNpbmcgk2l3lCBjb21tYW5kLg0KDQoNClNpZ25lZC1vZmYtYnk6IEppbnN1bmcgTGVlIDxs anNAbmV0c3lzLmthaXN0LmFjLmtyPg0KLS0tDQoNCkluZGV4OiBpdy0wLjkuMTcvcGh5LmMNCj09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT0NCg0KKioqIGEvaXctMC45LjE3L3BoeS5joKAgMjAwOS0wOC0yNiAxODo0MTo0MS4w MDAwMDAwMDAgKzA5MDANCi0tLSBiL2l3LTAuOS4xNy9waHkuY6CgIDIwMDktMTEtMTAgMjM6NTM6 NDkuMDAwMDAwMDAwICswOTAwDQoqKioqKioqKioqKioqKiogc3RhdGljIGludCBoYW5kbGVfcnRz KHN0cnVjdCBubDgwMjExX3N0YQ0KKioqIDE0MCwxNDIgKioqKg0KLS0tIDE0MCwyMTYgLS0tLQ0K oCBDT01NQU5EKHNldCwgcnRzLCAiPHJ0cyB0aHJlc2hvbGR8b2ZmPiIsDQqgoKCgoKCgIE5MODAy M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