Return-path: Received: from wf-out-1314.google.com ([209.85.200.174]:40301 "EHLO wf-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752003AbZBWVSf convert rfc822-to-8bit (ORCPT ); Mon, 23 Feb 2009 16:18:35 -0500 Received: by wf-out-1314.google.com with SMTP id 28so2687442wfa.4 for ; Mon, 23 Feb 2009 13:18:34 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <69e28c910902231233p57923881r75624e752ba59b92@mail.gmail.com> References: <499C7DC0.4040608@lwfinger.net> <499C8DD2.7000800@lwfinger.net> <20090218224833.GB28733@bombadil.infradead.org> <69e28c910902201145h6d9fa472rc81da56ffce16dc0@mail.gmail.com> <43e72e890902201233w95b4aaew1fa0bbf06196d74f@mail.gmail.com> <69e28c910902201307i398b4a89na4ce0205d66ee921@mail.gmail.com> <20090220234032.GB23428@bombadil.infradead.org> <69e28c910902210731x46fab8a7qfecb276a66f7a890@mail.gmail.com> <43e72e890902230951x71e7d53fwcbcb6e89143b71d9@mail.gmail.com> <69e28c910902231233p57923881r75624e752ba59b92@mail.gmail.com> Date: Mon, 23 Feb 2009 13:18:33 -0800 Message-ID: <43e72e890902231318u6e6a01b9jffcf3846de1e5881@mail.gmail.com> (sfid-20090223_221841_190302_E1782D3D) Subject: Re: ieee80211_regdom module parameter for cfg80211 From: "Luis R. Rodriguez" To: =?UTF-8?Q?G=C3=A1bor_Stefanik?= Cc: "Luis R. Rodriguez" , Larry Finger , Johannes Berg , wireless , John Linville Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Mon, Feb 23, 2009 at 12:33 PM, G=C3=A1bor Stefanik wrote: > On Mon, Feb 23, 2009 at 6:51 PM, Luis R. Rodriguez = wrote: >> If we enable passive scan on channels 12-14 on the world regdomain >> (which it seems we should) that would cure this issue as well. >> Thoughts? >> >> Luis >> > > What if the user wants to host an AP? What if "MyNET123" is ad-hoc or > mesh? What if the user needs packet injection? Then if you see an AP around you you can determine you can beacon as well (did you see the new beacon hint patches I sent?) otherwise you need crda and you need to set your regdomain. Mind you AP support didn't got in for mac80211 drivers until 2.6.29 where OLD_REG is still default. The patch in question is for 2.6.30 and it not about _removing_ OLD_REG, its about not making it default, the patch suggests removal for 2.6.31. Also remember that hostapd supports setting the country from the configuration file as well. > Forcing the initial > regdomain to world is not a good idea. OLD_REG implies just that -- its old, meaning we're moving on to new things. The new strategy we decided on was to not rely on static regulatory domains in the kernel so so the only reasonable option in the absence of location information is to default to world. > Channel 13 was also just an > example, it could be an 5GHz channel as well. Sure, and I posted a new set of patches which enable 5 GHz passive scan= as well. Luis -- To unsubscribe from this list: send the line "unsubscribe linux-wireles= s" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html