Return-path: Received: from mga01.intel.com ([192.55.52.88]:62170 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756206Ab3KFL2Y (ORCPT ); Wed, 6 Nov 2013 06:28:24 -0500 From: "Coelho, Luciano" To: Johannes Berg CC: "linux-wireless@vger.kernel.org" , "sw@simonwunderlich.de" Subject: Re: [RFC v2 2/2] mac80211: only set CSA beacon when at least one beacon must be transmitted Date: Wed, 6 Nov 2013 11:28:15 +0000 Message-ID: <1383737255.4256.34.camel@porter.coelho.fi> (sfid-20131106_122828_240522_A54EB985) References: <1383684854-21663-1-git-send-email-luciano.coelho@intel.com> <1383684854-21663-2-git-send-email-luciano.coelho@intel.com> <1383735101.14307.25.camel@jlt4.sipsolutions.net> In-Reply-To: <1383735101.14307.25.camel@jlt4.sipsolutions.net> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: T24gV2VkLCAyMDEzLTExLTA2IGF0IDExOjUxICswMTAwLCBKb2hhbm5lcyBCZXJnIHdyb3RlOg0K PiBPbiBUdWUsIDIwMTMtMTEtMDUgYXQgMjI6NTQgKzAyMDAsIEx1Y2lhbm8gQ29lbGhvIHdyb3Rl Og0KPiA+IFdpdGggYSBDU0EgY291bnQgb2YgMCwgd2Ugd29uJ3QgdHJhbnNtaXQgYW55IENTQSBi ZWFjb25zLCBiZWNhdXNlIHRoZQ0KPiA+IHN3aXRjaCB3aWxsIGhhcHBlbiBiZWZvcmUgdGhlIG5l eHQgVEJUVC4gIFRvIGF2b2lkIGV4dHJhIHdvcmsgYW5kDQo+ID4gcG90ZW50aWFsIGNvbmZ1c2lv biBpbiB0aGUgZHJpdmVycywgY29tcGxldGUgdGhlIENTQSBpbW1lZGlhdGVseSwNCj4gPiBpbnN0 ZWFkIG9mIHdhaXRpbmcgZm9yIHRoZSBkcml2ZXIgdG8gY2FsbCBpZWVlODAyMTFfY3NhX2Zpbmlz aCgpLg0KPiANCj4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