linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kalle Valo <Kalle.Valo@nokia.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: linux-wireless <linux-wireless@vger.kernel.org>,
	Jiri Benc <jbenc@suse.cz>, Michael Wu <flamingice@sourmilk.net>
Subject: Re: mac80211 AP mode powersaving problems?
Date: Mon, 27 Aug 2007 18:58:35 +0300	[thread overview]
Message-ID: <871wdphsus.fsf@nokia.com> (raw)
In-Reply-To: 1187275344.23489.6.camel@johannes.berg

Johannes Berg <johannes@sipsolutions.net> writes:

>> Are there any tricks or should this be enough with b43:
>> 
>> iwconfig wlan0 mode master channel 2 essid mac80211
>> ip link set wlan0 up
>
> Umm, of course not. You need hostapd.

Heh, I guess I have used madwifi too much :) 

I didn't even think of hostapd, for some strange reason I have always
thought it as an optional feature.

I couldn't find any instructions how to use hostapd with mac80211, so
here's what I did (for the archive):

o pulled latest wireless-dev#everything

o pulled latest hostapd from git

o compiled hostapd with these extra settings in .config:

CONFIG_DRIVER_DEVICESCAPE=y
WIRELESS_DEV=/home/kvalo/linux-2.6/
CFLAGS += -I$(WIRELESS_DEV)/net/mac80211

o edited hostapd.conf (wlan1 is my b43 interface):

interface=wlan1                                                                
driver=devicescape                                                             
hw_mode=g                                                                      
channel=5                                                                      

o started hostapd:

# ./hostapd hostapd.conf

-- 
Kalle Valo

  parent reply	other threads:[~2007-08-27 16:01 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-13  7:35 mac80211 AP mode powersaving problems? Johannes Berg
2007-08-16  5:43 ` Kalle Valo
2007-08-16 13:21   ` Johannes Berg
2007-08-16 14:31     ` Kalle Valo
2007-08-16 14:42       ` Johannes Berg
     [not found]         ` <86wsvv8m9t.fsf@coulee.tdb.com>
2007-08-16 17:02           ` Johannes Berg
2007-08-16 18:37             ` Russell Senior
2007-08-17 10:14               ` Johannes Berg
2007-08-27 15:58         ` Kalle Valo [this message]
2007-08-28  8:48           ` Johannes Berg
2007-08-28 10:59             ` Kalle Valo
2007-08-28 11:05               ` Johannes Berg
2007-08-28 11:11                 ` Kalle Valo
2007-08-28 16:06                 ` Kalle Valo
2007-08-28 16:18                   ` Johannes Berg
2007-08-28 18:08                     ` Kalle Valo
2007-08-28 18:43                       ` Johannes Berg
2007-08-29  4:18                         ` Kalle Valo
2007-08-29  8:37                           ` Johannes Berg
2007-08-29 14:35                             ` Kalle Valo
2007-08-30 11:56                               ` Johannes Berg
2007-08-29  0:12                   ` Johannes Berg
2007-08-29  0:58                   ` Johannes Berg
2007-08-29 10:11                     ` Johannes Berg
2007-08-29 17:50                       ` Michael Buesch
2007-08-30 11:54                         ` Johannes Berg
2007-08-29 14:32                     ` Kalle Valo
2007-08-30 11:55                       ` Johannes Berg
2007-08-22  7:49   ` b43 vs. the TIM (was: mac80211 AP mode powersaving problems?) Johannes Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871wdphsus.fsf@nokia.com \
    --to=kalle.valo@nokia.com \
    --cc=flamingice@sourmilk.net \
    --cc=jbenc@suse.cz \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).