From: Jochen Friedrich <jochen@scram.de>
To: Daniel Schmitt <daniel@schmitt-united.de>
Cc: OpenWrt Development List <openwrt-devel@lists.openwrt.org>,
bcm43xx-dev@lists.berlios.de, linux-wireless@vger.kernel.org
Subject: Re: PHY Transmission error and radio turned off with b43legacy
Date: Fri, 15 Jan 2010 13:12:04 +0100 [thread overview]
Message-ID: <4B505B94.3020509@scram.de> (raw)
In-Reply-To: <51ab59276e22ee681f29560ebac67004.squirrel@unimail.uni-dortmund.de>
[-- Attachment #1: Type: text/plain, Size: 908 bytes --]
Daniel Schmitt wrote:
> hostapd doesn't continue to work after controller is restarted.
> I also have the problem that the wlan0-interface shall not be upped with
> "ifconfig wlan0 0.0.0.0 up" before starting hostapd, otherwise no beacons
> will be send. The interface must be down before starting hostapd.
> If I terminate a not daemonized hostapd with CTRL+C and restart if without
> rmmod+modprobe b43legacy, no beacons are sent, too. And I cannot connect
> the AP.
> This happens with the bleeding-edge wireless drivers 2009-11-13.
I noticed the same on MN700 hardware running OpenWrt bleeding edge. The init scripts enable and
disable wlan0 once before starting hostapd. Here, beacons are still being sent, but hostapd is
unable to transmit any packet. When reloading b43legacy and starting hostapd manually it works, but
only once.
The attached patch resolves the problem for me.
Thanks,
Jochen
[-- Attachment #2: 011-b43legacy_queues.patch --]
[-- Type: text/x-patch, Size: 408 bytes --]
--- compat-wireless-2010-01-11/drivers/net/wireless/b43legacy/main.c.orig 2010-01-14 12:14:39.000000000 +0100
+++ compat-wireless-2010-01-11/drivers/net/wireless/b43legacy/main.c 2010-01-14 12:14:52.000000000 +0100
@@ -2921,6 +2921,7 @@
goto out;
}
/* We are ready to run. */
+ ieee80211_wake_queues(dev->wl->hw);
b43legacy_set_status(dev, B43legacy_STAT_STARTED);
/* Start data flow (TX/RX) */
next parent reply other threads:[~2010-01-15 12:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <51ab59276e22ee681f29560ebac67004.squirrel@unimail.uni-dortmund.de>
2010-01-15 12:12 ` Jochen Friedrich [this message]
2010-01-15 19:59 ` PHY Transmission error and radio turned off with b43legacy Larry Finger
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=4B505B94.3020509@scram.de \
--to=jochen@scram.de \
--cc=bcm43xx-dev@lists.berlios.de \
--cc=daniel@schmitt-united.de \
--cc=linux-wireless@vger.kernel.org \
--cc=openwrt-devel@lists.openwrt.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.