2009-03-06 23:28:03

by Anderson, Charles R

[permalink] [raw]
Subject: iwlagn won't scan 5 GHz band

Please Cc: me on replies as I'm not subscribed. Thanks.

I have a 4965, using kernel-2.6.29-0.197.rc7.fc11.x86_64 (Intel(R)
Wireless WiFi Link AGN driver for Linux, 1.3.27kds). I can connect to
802.11n on 2.4 GHz, but it never finds the 5 GHz cell of the AP. Is 5
GHz 802.11n supported yet? For that matter, shouldn't I be seeing the
802.11a from my APs? How do I get this thing to scan the A/N 5 GHz
band?

Thanks.

#iwlist wlan0 channel

wlan0 11 channels in total; available frequencies :
Channel 01 : 2.412 GHz
Channel 02 : 2.417 GHz
Channel 03 : 2.422 GHz
Channel 04 : 2.427 GHz
Channel 05 : 2.432 GHz
Channel 06 : 2.437 GHz
Channel 07 : 2.442 GHz
Channel 08 : 2.447 GHz
Channel 09 : 2.452 GHz
Channel 10 : 2.457 GHz
Channel 11 : 2.462 GHz
Current Frequency:2.437 GHz (Channel 6)


I turned on the debug flag and verified that the driver is seeing 5.2
GHz band channels as allowed:

Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Initializing regulatory info from EEPROM
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Parsing data for 56 channels.
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 1 [2.4GHz] VALID IBSS ACTIVE WIDE (0x2b 14dBm): Ad-Hoc supported
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 2 [2.4GHz] VALID IBSS ACTIVE WIDE (0x2b 14dBm): Ad-Hoc supported
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 3 [2.4GHz] VALID IBSS ACTIVE WIDE (0x2b 14dBm): Ad-Hoc supported
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 4 [2.4GHz] VALID IBSS ACTIVE WIDE (0x2b 14dBm): Ad-Hoc supported
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 5 [2.4GHz] VALID IBSS ACTIVE WIDE (0x2b 14dBm): Ad-Hoc supported
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 6 [2.4GHz] VALID IBSS ACTIVE WIDE (0x2b 14dBm): Ad-Hoc supported
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 7 [2.4GHz] VALID IBSS ACTIVE WIDE (0x2b 14dBm): Ad-Hoc supported
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 8 [2.4GHz] VALID IBSS ACTIVE WIDE (0x2b 14dBm): Ad-Hoc supported
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 9 [2.4GHz] VALID IBSS ACTIVE WIDE (0x2b 14dBm): Ad-Hoc supported
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 10 [2.4GHz] VALID IBSS ACTIVE WIDE (0x2b 14dBm): Ad-Hoc supported
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 11 [2.4GHz] VALID IBSS ACTIVE WIDE (0x2b 14dBm): Ad-Hoc supported
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 12 Flags 0 [2.4GHz] - No traffic
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 13 Flags 0 [2.4GHz] - No traffic
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 14 Flags 0 [2.4GHz] - No traffic
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 183 Flags 0 [5.2GHz] - No traffic
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 184 Flags 0 [5.2GHz] - No traffic
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 185 Flags 0 [5.2GHz] - No traffic
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 187 Flags 0 [5.2GHz] - No traffic
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 188 Flags 0 [5.2GHz] - No traffic
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 189 Flags 0 [5.2GHz] - No traffic
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 192 Flags 0 [5.2GHz] - No traffic
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 196 Flags 0 [5.2GHz] - No traffic
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 7 Flags 0 [5.2GHz] - No traffic
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 8 Flags 0 [5.2GHz] - No traffic
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 11 Flags 0 [5.2GHz] - No traffic
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 12 Flags 0 [5.2GHz] - No traffic
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 16 Flags 0 [5.2GHz] - No traffic
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 34 Flags 0 [5.2GHz] - No traffic
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 36 [5.2GHz] VALID WIDE (0x21 15dBm): Ad-Hoc not supported
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 38 Flags 0 [5.2GHz] - No traffic
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 40 [5.2GHz] VALID WIDE (0x21 15dBm): Ad-Hoc not supported
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 42 Flags 0 [5.2GHz] - No traffic
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 44 [5.2GHz] VALID WIDE (0x21 15dBm): Ad-Hoc not supported
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 46 Flags 0 [5.2GHz] - No traffic
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 48 [5.2GHz] VALID WIDE (0x21 15dBm): Ad-Hoc not supported
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 52 [5.2GHz] VALID RADAR WIDE (0x31 15dBm): Ad-Hoc not supported
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 56 [5.2GHz] VALID RADAR WIDE (0x31 15dBm): Ad-Hoc not supported
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 60 [5.2GHz] VALID RADAR WIDE (0x31 15dBm): Ad-Hoc not supported
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 64 [5.2GHz] VALID RADAR WIDE (0x31 15dBm): Ad-Hoc not supported
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 100 Flags 0 [5.2GHz] - No traffic
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 104 Flags 0 [5.2GHz] - No traffic
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 108 Flags 0 [5.2GHz] - No traffic
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 112 Flags 0 [5.2GHz] - No traffic
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 116 Flags 0 [5.2GHz] - No traffic
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 120 Flags 0 [5.2GHz] - No traffic
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 124 Flags 0 [5.2GHz] - No traffic
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 128 Flags 0 [5.2GHz] - No traffic
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 132 Flags 0 [5.2GHz] - No traffic
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 136 Flags 0 [5.2GHz] - No traffic
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 140 Flags 0 [5.2GHz] - No traffic
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 145 Flags 0 [5.2GHz] - No traffic
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 149 [5.2GHz] VALID WIDE (0x21 16dBm): Ad-Hoc not supported
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 153 [5.2GHz] VALID WIDE (0x21 16dBm): Ad-Hoc not supported
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 157 [5.2GHz] VALID WIDE (0x21 16dBm): Ad-Hoc not supported
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 161 [5.2GHz] VALID WIDE (0x21 16dBm): Ad-Hoc not supported
Mar 6 17:45:08 l kernel: ieee80211 phy5: U iwl_init_channel_map Ch. 165 [5.2GHz] VALID WIDE (0x21 16dBm): Ad-Hoc not supported


2009-03-07 19:30:29

by John W. Linville

[permalink] [raw]
Subject: Re: iwlagn won't scan 5 GHz band

On Fri, Mar 06, 2009 at 06:01:24PM -0500, Chuck Anderson wrote:
> Please Cc: me on replies as I'm not subscribed. Thanks.
>
> I have a 4965, using kernel-2.6.29-0.197.rc7.fc11.x86_64 (Intel(R)
> Wireless WiFi Link AGN driver for Linux, 1.3.27kds). I can connect to
> 802.11n on 2.4 GHz, but it never finds the 5 GHz cell of the AP. Is 5
> GHz 802.11n supported yet? For that matter, shouldn't I be seeing the
> 802.11a from my APs? How do I get this thing to scan the A/N 5 GHz
> band?

Ah, the joys of Rawhide...

Make sure you have "iw" installed.

yum install iw

Then you need to specify your regulatory domain:

iw reg set US # Use ISO/IEC 3166-1 alpha2 as appropriate for you

Does that change things for you?

We are still discussing ways to get this set automatically. We are
hoping that NetworkManager grows this capability "soon"... In the
meantime, you might try calling the attached script from /etc/rc.local.

Hth!

John
--
John W. Linville Someday the world will need a hero, and you
[email protected] might be all we have. Be ready.


Attachments:
(No filename) (1.05 kB)
set-regdomain (541.00 B)
Download all attachments

2009-03-10 12:45:34

by Anderson, Charles R

[permalink] [raw]
Subject: Re: iwlagn won't scan 5 GHz band

On Sat, Mar 07, 2009 at 02:24:17PM -0500, John W. Linville wrote:
> On Fri, Mar 06, 2009 at 06:01:24PM -0500, Chuck Anderson wrote:
> > Please Cc: me on replies as I'm not subscribed. Thanks.
> >
> > I have a 4965, using kernel-2.6.29-0.197.rc7.fc11.x86_64 (Intel(R)
> > Wireless WiFi Link AGN driver for Linux, 1.3.27kds). I can connect to
> > 802.11n on 2.4 GHz, but it never finds the 5 GHz cell of the AP. Is 5
> > GHz 802.11n supported yet? For that matter, shouldn't I be seeing the
> > 802.11a from my APs? How do I get this thing to scan the A/N 5 GHz
> > band?
>
> Ah, the joys of Rawhide...
>
> Make sure you have "iw" installed.
>
> yum install iw
>
> Then you need to specify your regulatory domain:
>
> iw reg set US # Use ISO/IEC 3166-1 alpha2 as appropriate for you
>
> Does that change things for you?

Works great!

> We are still discussing ways to get this set automatically. We are
> hoping that NetworkManager grows this capability "soon"... In the
> meantime, you might try calling the attached script from /etc/rc.local.
>
> Hth!

Thanks!