Return-path: Received: from he.sipsolutions.net ([78.46.109.217]:51362 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756888Ab2COI6b (ORCPT ); Thu, 15 Mar 2012 04:58:31 -0400 Subject: Re: [PATCH 3.5] cfg80211: enforce lack of interface combinations From: Johannes Berg To: Vasanthakumar Thiagarajan Cc: linux-wireless@vger.kernel.org, "Luis R. Rodriguez" , Jouni Malinen , Senthil Balasubramanian , Kalle Valo , Jiri Slaby , Nick Kossifidis , Bob Copeland , Bing Zhao , Lennert Buytenhek , Ivo van Doorn , Gertjan van Wingerde , Helmut Schaa , Luciano Coelho In-Reply-To: <20120315085736.GB17590@vasanth-laptop> References: <20120313150613.300612962@sipsolutions.net> <20120315084217.GA17590@vasanth-laptop> <1331801488.3432.2.camel@jlt3.sipsolutions.net> <20120315085736.GB17590@vasanth-laptop> Content-Type: text/plain; charset="UTF-8" Date: Thu, 15 Mar 2012 09:58:27 +0100 Message-ID: <1331801907.3432.3.camel@jlt3.sipsolutions.net> (sfid-20120315_095836_580792_A5908763) Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Thu, 2012-03-15 at 14:27 +0530, Vasanthakumar Thiagarajan wrote: > On Thu, Mar 15, 2012 at 09:51:28AM +0100, Johannes Berg wrote: > > On Thu, 2012-03-15 at 14:12 +0530, Vasanthakumar Thiagarajan wrote: > > > On Tue, Mar 13, 2012 at 04:06:03PM +0100, Johannes Berg wrote: > > > > From: Johannes Berg > > > > > > > > My grand plan to allow drivers to gradually move over > > > > to advertising virtual interface combinations and only > > > > enforce with drivers that do want it enforced doesn't > > > > seem to be working out, only Christian ever added the > > > > advertising (to carl9170), nobody else did. > > > > > > > > Begin enforcing combinations in cfg80211 so that users > > > > can rely on the information reported about a device. > > > > > > This breaks ath6kl AP mode and P2P, is it expected that the driver > > > needs to register the combination (?) even it supports a single > > > interface? > > > > Kalle tells me that ath6kl does support multiple virtual interfaces, but > > if it didn't then it wouldn't have to register combinations. > > > > I suspect you're using > > driver_param=use_p2p_group_interface=1 > > in wpa_supplicant? > > Actually, I verified only AP mode, since it affects any sort of change interface, > I mentioned P2P as well. AP is expected to work without any issue right?. As long as you don't try to add the AP interface as the second one... johannes