From: ASIC Felix <ic.felix@gmail.com>
To: "Luis R. Rodriguez" <mcgrof@gmail.com>,
Johannes Berg <johannes@sipsolutions.net>
Cc: linux-wireless <linux-wireless@vger.kernel.org>
Subject: Re: mac80211 or ath9k? No connect to other band after resume
Date: Tue, 15 Dec 2009 20:24:25 -0800 [thread overview]
Message-ID: <1260937465.12734.6.camel@darkslate> (raw)
In-Reply-To: <1260811456.2442.422.camel@johannes.local>
On Mon, 2009-12-14 at 18:24 +0100, Johannes Berg wrote:
> On Mon, 2009-12-14 at 09:21 -0800, ASIC Felix wrote:
> > Hi,
> >
> > I found a suspend/resume bug.
> > Kernel 2.6.32-wl-45997-gf02c03a master-2009-12-07
> >
> > To reproduce:
> > - connect to 2G network (my office)
> > - pm-suspend
> > - resume (at home, wpa_supplicant.conf only has 5G home network)
> > - laptop only scans 2G, never sees 5G AP
> > - workaround:
> > /etc/init.d/network stop
> > rmmod bla bla bla
> > modprobe ath9k
> > /etc/init.d/network start
> > - now laptop reconnects
>
> I'd guess regulatory -- enable debugging for that please.
>
> johannes
yep, does looke like regulatory after pm-suspend, mcgrof?
Felix
PM: Finishing wakeup.
Restarting tasks ...
hub 5-0:1.0: over-current change on port 3
done.
hub 5-0:1.0: over-current change on port 4
hub 2-0:1.0: over-current change on port 1
hub 2-0:1.0: over-current change on port 2
usb 3-2: reset full speed USB device using uhci_hcd and address 3
cfg80211: Calling CRDA for country: US
cfg80211: Current regulatory domain intersected:
(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
(2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
tg3 0000:02:00.0: PME# disabled
ath9k: Two wiphys trying to scan at the same time
] /etc/init.d/network stop
] rmmod blbalba; modprobe ath9k
] /etc/init.d/network start
tg3 0000:02:00.0: PME# enabled
ath9k 0000:04:02.0: PCI INT A disabled
ath9k: Driver unloaded
cfg80211: Calling CRDA to update world regulatory domain
cfg80211: World regulatory domain updated:
(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
(2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
(2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
(2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
(5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
(5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
ath9k 0000:04:02.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
ath: EEPROM regdomain: 0x0
ath: EEPROM indicates default country code should be used
ath: doing EEPROM country->regdmn map search
ath: country maps to regdmn code: 0x3a
ath: Country alpha2 being used: US
ath: Regpair used: 0x3a
phy0: Selected rate control algorithm 'ath9k_rate_control'
cfg80211: Calling CRDA for country: US
Registered led device: ath9k-phy0::radio
Registered led device: ath9k-phy0::assoc
Registered led device: ath9k-phy0::tx
Registered led device: ath9k-phy0::rx
phy0: Atheros AR9280 Rev:2 mem=0xfad00000, irq=21
cfg80211: Regulatory domain changed to country: US
(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
(2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
(5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
(5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
(5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
(5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
(5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
tg3 0000:02:00.0: PME# disabled
cfg80211: Found new beacon on frequency: 5180 MHz (Ch 36) on phy0
wlan0: direct probe to AP 00:24:01:45:51:41 (try 1)
wlan0: direct probe responded
wlan0: authenticate with AP 00:24:01:45:51:41 (try 1)
wlan0: authenticated
wlan0: associate with AP 00:24:01:45:51:41 (try 1)
wlan0: RX AssocResp from 00:24:01:45:51:41 (capab=0x111 status=0 aid=2)
wlan0: associated
martian source 255.255.255.255 from 192.168.10.1, on dev wlan0
ll header: ff:ff:ff:ff:ff:ff:00:24:01:45:51:3f:08:00
martian source 255.255.255.255 from 192.168.10.1, on dev wlan0
ll header: ff:ff:ff:ff:ff:ff:00:24:01:45:51:3f:08:00
martian source 255.255.255.255 from 192.168.10.1, on dev wlan0
ll header: ff:ff:ff:ff:ff:ff:00:24:01:45:51:3f:08:00
next prev parent reply other threads:[~2009-12-16 4:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-14 17:21 mac80211 or ath9k? No connect to other band after resume ASIC Felix
2009-12-14 17:24 ` Johannes Berg
2009-12-14 17:26 ` ASIC Felix
2009-12-16 4:24 ` ASIC Felix [this message]
2009-12-16 6:09 ` Luis R. Rodriguez
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=1260937465.12734.6.camel@darkslate \
--to=ic.felix@gmail.com \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=mcgrof@gmail.com \
/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.