Return-path: Received: from wf-out-1314.google.com ([209.85.200.174]:44631 "EHLO wf-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750998AbYLPRd3 (ORCPT ); Tue, 16 Dec 2008 12:33:29 -0500 Received: by wf-out-1314.google.com with SMTP id 27so3315212wfd.4 for ; Tue, 16 Dec 2008 09:33:27 -0800 (PST) Message-ID: (sfid-20081216_183334_499445_930EC5D9) Date: Tue, 16 Dec 2008 12:33:27 -0500 From: "Bob Copeland" To: "Krzysztof Halasa" Subject: Re: ath5k + AP mode? Cc: linux-wireless@vger.kernel.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 References: Sender: linux-wireless-owner@vger.kernel.org List-ID: On Mon, Dec 15, 2008 at 3:41 PM, Krzysztof Halasa wrote: > Hi, > > Is AP mode with ath5k supposed to work? I think it needs some love from interested parties... > hw->wiphy->interface_modes = > BIT(NL80211_IFTYPE_STATION) | > + BIT(NL80211_IFTYPE_AP) | > BIT(NL80211_IFTYPE_ADHOC) | > BIT(NL80211_IFTYPE_MESH_POINT); Definitely needed. > Failed to set interface wlan0 to master mode. > nl80211 driver initialization failed. > wlan0: Unable to setup interface. It's probably worth taking a look at hostapd to see what exactly is failing. We should be able to create an IFTYPE_AP interface with your above patch applied. No telling whether the rest works. -- Bob Copeland %% www.bobcopeland.com