Return-path: Received: from ra.tuxdriver.com ([70.61.120.52]:4616 "EHLO ra.tuxdriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1762239AbXHCPIO (ORCPT ); Fri, 3 Aug 2007 11:08:14 -0400 Date: Fri, 3 Aug 2007 10:53:05 -0400 From: "John W. Linville" To: Derek Atkins Cc: Johannes Berg , ipw3945-devel@lists.sourceforge.net, linux-wireless@vger.kernel.org, "Winkler, Tomas" , network manager Subject: Re: [ipw3945-devel] chaning mode only when interface down? Message-ID: <20070803145305.GE5137@tuxdriver.com> References: <1186058047.24230.38.camel@johannes.berg> <46B1D28F.1080006@gmail.com> <1186059192.24230.44.camel@johannes.berg> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: Sender: linux-wireless-owner@vger.kernel.org List-ID: On Fri, Aug 03, 2007 at 10:33:07AM -0400, Derek Atkins wrote: > Johannes Berg writes: > > > On Thu, 2007-08-02 at 14:48 +0200, dragoran wrote: > > > >> > Nono, you cannot solve it in the driver. The whole design of mac80211 > >> > mandates that assumption and I think it is a valid one to make. > >> why? did the old way (allow mode changing while up) caused any problems? > > > > Why should it be allowed? Can you come up with a good reason for that > > since you lose all state anyway when doing mode transitions? > > Um, what state? Sure you lose your layer 2 state, but why force a > layer 3 lossage when you don't necessarily have to do so? For > example, I've seen plenty of networks that have both 802.11(a) and > 802.11(b/g) networks that share absolutely everything at layer 3. I think you are confusing a/b/g "mode" (which is _not_ the topic) with AP/STA/IBSS/monitor "mode" (which is the topic). John -- John W. Linville linville@tuxdriver.com