2008-04-27 09:25:08

by Priit Laes

[permalink] [raw]
Subject: [REGRESSION] Trouble seeing some wireless networks in latest git

Hey,

There seems to be some kind of regression in wireless drivers that makes
it not possible to see some wireless networks.

This can be seen with both b43 and iwl3945 drivers.

Using Kismet wireless scanner these networks were visible under latest
git.
All the networks rendered invisible seem to be from channels: 1 (one
network visible), 3, 8, 12 and 13. Visible networks are in channels 1,
4, 6, 9 and 11.

Any hints how to debug this further?

--
Priit


2008-04-28 17:38:56

by Johannes Berg

[permalink] [raw]
Subject: Re: [REGRESSION] Trouble seeing some wireless networks in latest git

On Sun, 2008-04-27 at 20:00 +0300, Priit Laes wrote:
> Ühel kenal päeval, P, 2008-04-27 kell 17:48, kirjutas Michael Buesch:
> > > > Any hints how to debug this further?
> > Nah, it's a regulatory setting issue.
> > The default regdomain is US, which only allows chans 1-11.
> > There's some module parameter to switch the regdomain.
> > This is not a regression, but a feature.
> >
> Regdomain setting seems to be OK (and missing for b43):
> iwl3945: Tunable channels: 13 802.11bg, 23 802.11a channels

This should really read "EEPROM tunable channels" instead, cfg80211 will
further restrict it.

johannes


Attachments:
signature.asc (828.00 B)
This is a digitally signed message part

2008-04-27 17:00:31

by Priit Laes

[permalink] [raw]
Subject: Re: [REGRESSION] Trouble seeing some wireless networks in latest git

=C3=9Chel kenal p=C3=A4eval, P, 2008-04-27 kell 17:48, kirjutas Michael=
Buesch:
> > > Any hints how to debug this further?
> Nah, it's a regulatory setting issue.
> The default regdomain is US, which only allows chans 1-11.
> There's some module parameter to switch the regdomain.
> This is not a regression, but a feature.
>=20
Regdomain setting seems to be OK (and missing for b43):
=EF=BB=BFiwl3945: Tunable channels: 13 802.11bg, 23 802.11a channels

Where can I set the regdomain? I couldn't find any information under
Documentation and with modinfo?

Dmesg output for iwl3945 is:
=2E..
iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for
Linux, 1.2.26ks
iwl3945: Copyright(c) 2003-2008 Intel Corporation
ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:03:00.0 to 64
iwl3945: Detected Intel Wireless WiFi Link 3945ABG
iwl3945: Tunable channels: 13 802.11bg, 23 802.11a channels
phy0: Selected rate control algorithm 'iwl-3945-rs'
=2E..

And b43:
=2E..
b43-pci-bridge 0000:16:00.0: enabling device (0000 -> 0002)
ACPI: PCI Interrupt 0000:16:00.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:16:00.0 to 64
ssb: Sonics Silicon Backplane found on PCI device 0000:16:00.0
b43-phy1: Broadcom 4306 WLAN found
phy1: Selected rate control algorithm 'pid'
Broadcom 43xx driver loaded [ Features: PMLR, Firmware-ID: FW13 ]
input: b43-phy1 as /devices/virtual/input/input9
b43-phy1: Loading firmware version 410.2160 (2007-05-26 15:32:10)
Registered led device: b43-phy1::tx
Registered led device: b43-phy1::rx
Registered led device: b43-phy1::radio
=2E..

2008-04-27 17:04:35

by Brian Morrison

[permalink] [raw]
Subject: Re: [REGRESSION] Trouble seeing some wireless networks in latest git

On Sun, 27 Apr 2008 20:00:25 +0300
Priit Laes <[email protected]> wrote:

> Where can I set the regdomain? I couldn't find any information under
> Documentation and with modinfo?

In /etc/modprobe.conf or equivalent, add:

options cfg80211 ieee80211_regdom="US" or "JP"

Currently these are the only two regulatory domains available.

--

Brian Morrison

"Arguing with an engineer is like wrestling with a pig in the mud;
after a while you realize you are muddy and the pig is enjoying it."

2008-04-27 15:49:13

by Michael Büsch

[permalink] [raw]
Subject: Re: [REGRESSION] Trouble seeing some wireless networks in latest git

On Sunday 27 April 2008 17:43:39 Larry Finger wrote:
> Priit Laes wrote:
> > Hey,
> >
> > There seems to be some kind of regression in wireless drivers that makes
> > it not possible to see some wireless networks.
> >
> > This can be seen with both b43 and iwl3945 drivers.
> >
> > Using Kismet wireless scanner these networks were visible under latest
> > git.
> > All the networks rendered invisible seem to be from channels: 1 (one
> > network visible), 3, 8, 12 and 13. Visible networks are in channels 1,
> > 4, 6, 9 and 11.
> >
> > Any hints how to debug this further?
>
> This regression sounds like a perfect place to use git bisection. As it affects
> b43 and iwl3945, I would suspect some change in mac80211.

Nah, it's a regulatory setting issue.
The default regdomain is US, which only allows chans 1-11.
There's some module parameter to switch the regdomain.
This is not a regression, but a feature.

--
Greetings Michael.

2008-04-27 15:43:51

by Larry Finger

[permalink] [raw]
Subject: Re: [REGRESSION] Trouble seeing some wireless networks in latest git

Priit Laes wrote:
> Hey,
>
> There seems to be some kind of regression in wireless drivers that makes
> it not possible to see some wireless networks.
>
> This can be seen with both b43 and iwl3945 drivers.
>
> Using Kismet wireless scanner these networks were visible under latest
> git.
> All the networks rendered invisible seem to be from channels: 1 (one
> network visible), 3, 8, 12 and 13. Visible networks are in channels 1,
> 4, 6, 9 and 11.
>
> Any hints how to debug this further?

This regression sounds like a perfect place to use git bisection. As it affects
b43 and iwl3945, I would suspect some change in mac80211.

Larry