Return-path: Received: from mga01.intel.com ([192.55.52.88]:45778 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754184Ab3KEOfp (ORCPT ); Tue, 5 Nov 2013 09:35:45 -0500 From: "Coelho, Luciano" To: Simon Wunderlich CC: "linux-wireless@vger.kernel.org" , "johannes@sipsolutions.net" Subject: Re: [RFC] mac80211: don't transmit beacon with CSA count 0 Date: Tue, 5 Nov 2013 14:35:42 +0000 Message-ID: <1383662100.579.49.camel@porter.coelho.fi> (sfid-20131105_153548_395050_406F2B7A) References: <1383569955-13236-1-git-send-email-luciano.coelho@intel.com> <1383640077.579.14.camel@porter.coelho.fi> <1383645950.579.26.camel@porter.coelho.fi> <201311051500.58913.sw@simonwunderlich.de> In-Reply-To: <201311051500.58913.sw@simonwunderlich.de> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: T24gVHVlLCAyMDEzLTExLTA1IGF0IDE1OjAwICswMTAwLCBTaW1vbiBXdW5kZXJsaWNoIHdyb3Rl Og0KPiA+IE9uIFR1ZSwgMjAxMy0xMS0wNSBhdCAxMDoyNyArMDIwMCwgTHVjaWFubyBDb2VsaG8g d3JvdGU6DQo+ID4gPiBPbiBNb24sIDIwMTMtMTEtMDQgYXQgMTU6MzEgKzAxMDAsIFNpbW9uIFd1 bmRlcmxpY2ggd3JvdGU6DQo+ID4gPiA+ID4gPiBUaGFua3MgZm9yIGNoZWNraW5nIGJhY2sgLSBJ J3ZlIHJlYWQgdGhlIHBhcnQgaW4gdGhlIHNwZWMgYWdhaW4NCj4gPiA+ID4gPiA+IFsxXSwgYW5k IGFwcGVhcmVudGx5IHlvdSBhcmUgcmlnaHQuDQo+ID4gPiA+ID4gPiANCj4gPiA+ID4gPiA+IFdp dGggeW91ciBwcm9wb3NlZCBjaGFuZ2UsIHNob3VsZG4ndCB3ZSBhbHNvIGNoYW5nZSB0aGUgYmVo YXZpb3VyDQo+ID4g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