* [ath9k-devel] WMP300N-UK Doesn't See 5Ghz SSID
@ 2009-05-18 15:14 Paul Koan
2009-05-18 16:04 ` Luis R. Rodriguez
0 siblings, 1 reply; 6+ messages in thread
From: Paul Koan @ 2009-05-18 15:14 UTC (permalink / raw)
To: ath9k-devel
Hello,
I have tried lots of different versions of the compat drivers and kernels
over the months (~20) and I haven't managed to get the pci card (AR5146 +
AR2133, 168c:0023) in the subject line to see the 5Ghz ssid of a WRT610N.
Other devices (even non-N 802.11a) can see the 5ghz ssid.
I am using iw dev wlan1 scan to see what is out there, and it lists all the
g networks around, and the 2.4Ghz ssid on the WRT610N.
Any ideas why that might be?
^ permalink raw reply [flat|nested] 6+ messages in thread
* [ath9k-devel] WMP300N-UK Doesn't See 5Ghz SSID
2009-05-18 15:14 [ath9k-devel] WMP300N-UK Doesn't See 5Ghz SSID Paul Koan
@ 2009-05-18 16:04 ` Luis R. Rodriguez
2009-05-19 1:16 ` Paul Koan
0 siblings, 1 reply; 6+ messages in thread
From: Luis R. Rodriguez @ 2009-05-18 16:04 UTC (permalink / raw)
To: ath9k-devel
On Mon, May 18, 2009 at 08:14:25AM -0700, Paul Koan wrote:
> Hello,
>
> I have tried lots of different versions of the compat drivers and kernels
> over the months (~20) and I haven't managed to get the pci card (AR5146 +
> AR2133, 168c:0023) in the subject line to see the 5Ghz ssid of a WRT610N.
>
> Other devices (even non-N 802.11a) can see the 5ghz ssid.
>
> I am using iw dev wlan1 scan to see what is out there, and it lists all the
> g networks around, and the 2.4Ghz ssid on the WRT610N.
>
> Any ideas why that might be?
Did you install wireless-regdb and crda?
http://wireless.kernel.org/download/wireless-regdb/
http://wireless.kernel.org/download/crda/
What does 'iw list' show?
Luis
^ permalink raw reply [flat|nested] 6+ messages in thread
* [ath9k-devel] WMP300N-UK Doesn't See 5Ghz SSID
2009-05-18 16:04 ` Luis R. Rodriguez
@ 2009-05-19 1:16 ` Paul Koan
2009-05-19 2:29 ` Luis R. Rodriguez
0 siblings, 1 reply; 6+ messages in thread
From: Paul Koan @ 2009-05-19 1:16 UTC (permalink / raw)
To: ath9k-devel
Luis R. Rodriguez wrote:
> On Mon, May 18, 2009 at 08:14:25AM -0700, Paul Koan wrote:
>> Hello,
>>
>> I have tried lots of different versions of the compat drivers and kernels
>> over the months (~20) and I haven't managed to get the pci card (AR5146 +
>> AR2133, 168c:0023) in the subject line to see the 5Ghz ssid of a WRT610N.
>>
>> Other devices (even non-N 802.11a) can see the 5ghz ssid.
>>
>> I am using iw dev wlan1 scan to see what is out there, and it lists all
>> the g networks around, and the 2.4Ghz ssid on the WRT610N.
>>
>> Any ideas why that might be?
>
> Did you install wireless-regdb and crda?
>
> http://wireless.kernel.org/download/wireless-regdb/
> http://wireless.kernel.org/download/crda/
>
> What does 'iw list' show?
>
> Luis
Hello, I didn't have cdra and regdb installed, but I do now.
Cannot seem to get the country to change however. Here is a sequence with
dmesg excerpts:
$ modprobe mac80211
dmesg:
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)
$ iw reg set AU
cfg80211: Calling CRDA for country: AU
cfg80211: Regulatory domain changed to country: AU
(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
(2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
(5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2300 mBm)
(5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2300 mBm)
(5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
$ modprobe ath9k
ath9k 0000:01:06.0: PCI INT A -> Link[LNK1] -> GSI 12 (level, low) -> IRQ 12
ath: Country alpha2 being used: AT
ath: Regpair detected: 0x37
phy0: Selected rate control algorithm 'ath9k_rate_control'
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 AR5416 MAC/BB Rev:2 AR2133 RF Rev:81: mem=0xfd780000, irq=12
cfg80211: Calling CRDA for country: AT
udev: renamed network interface wlan0 to wlan1
cfg80211: Current regulatory domain intersected:
(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
(2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
(5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
(5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Note that the country reverts to AT (which I believe is country code 00). I
have an environment var of COUNTRY set to AU (does this make any difference?)
Any further attempt to reg set AU at this point has no effect.
Here is iw list:
=================
# iw list
Wiphy phy2
Band 1:
HT capabilities: 0x104e
* 20/40 MHz operation
* SM PS disabled
* 40 MHz short GI
* max A-MSDU len 3839
* DSSS/CCK 40 MHz
HT A-MPDU factor: 0x0003 (65535 bytes)
HT A-MPDU density: 0x0006 (8 usec)
HT MCS set: ff ff 00 00 00 00 00 00 00 00 00 00 01 00 00 00
HT TX/RX MCS rate indexes supported:
MCS index 0
MCS index 1
MCS index 2
MCS index 3
MCS index 4
MCS index 5
MCS index 6
MCS index 7
MCS index 8
MCS index 9
MCS index 10
MCS index 11
MCS index 12
MCS index 13
MCS index 14
MCS index 15
Frequencies:
* 2412 MHz [1] (20.0 dBm)
* 2417 MHz [2] (20.0 dBm)
* 2422 MHz [3] (20.0 dBm)
* 2427 MHz [4] (20.0 dBm)
* 2432 MHz [5] (20.0 dBm)
* 2437 MHz [6] (20.0 dBm)
* 2442 MHz [7] (20.0 dBm)
* 2447 MHz [8] (20.0 dBm)
* 2452 MHz [9] (20.0 dBm)
* 2457 MHz [10] (20.0 dBm)
* 2462 MHz [11] (20.0 dBm)
* 2467 MHz [12] (20.0 dBm)
* 2472 MHz [13] (20.0 dBm)
* 2484 MHz [14] (disabled)
Bitrates:
* 1.0 Mbps
* 2.0 Mbps (short preamble supported)
* 5.5 Mbps (short preamble supported)
* 11.0 Mbps (short preamble supported)
* 6.0 Mbps
* 9.0 Mbps
* 12.0 Mbps
* 18.0 Mbps
* 24.0 Mbps
* 36.0 Mbps
* 48.0 Mbps
* 54.0 Mbps
max # scan SSIDs: 4
Supported interface modes:
* IBSS
* managed
* AP
* AP/VLAN
* monitor
* mesh point
==================
This is my udev rule:
KERNEL=="regulatory*", ACTION=="change", SUBSYSTEM=="platform",
RUN+="/sbin//crda"
I am using wireless-compat 2009-05-18 and crda 1.1 and regdb 20090417
Thanks...
^ permalink raw reply [flat|nested] 6+ messages in thread
* [ath9k-devel] WMP300N-UK Doesn't See 5Ghz SSID
2009-05-19 1:16 ` Paul Koan
@ 2009-05-19 2:29 ` Luis R. Rodriguez
2009-05-19 3:50 ` Paul Koan
0 siblings, 1 reply; 6+ messages in thread
From: Luis R. Rodriguez @ 2009-05-19 2:29 UTC (permalink / raw)
To: ath9k-devel
On Mon, May 18, 2009 at 6:16 PM, Paul Koan <gmane@airbred.com> wrote:
> Luis R. Rodriguez wrote:
>
>> On Mon, May 18, 2009 at 08:14:25AM -0700, Paul Koan wrote:
>>> Hello,
>>>
>>> I have tried lots of different versions of the compat drivers and kernels
>>> over the months (~20) and I haven't managed to get the pci card (AR5146 +
>>> AR2133, 168c:0023) in the subject line to see the 5Ghz ssid of a WRT610N.
>>>
>>> Other devices (even non-N 802.11a) can see the 5ghz ssid.
>>>
>>> I am using iw dev wlan1 scan to see what is out there, and it lists all
>>> the g networks around, and the 2.4Ghz ssid on the WRT610N.
>>>
>>> Any ideas why that might be?
>>
>> Did you install wireless-regdb and crda?
>>
>> http://wireless.kernel.org/download/wireless-regdb/
>> http://wireless.kernel.org/download/crda/
>>
>> What does 'iw list' show?
>>
>> ? Luis
>
> Hello, I didn't have cdra and regdb installed, but I do now.
>
> Cannot seem to get the country to change however.
You can set the country after loading ath9k. But keep in mind that
will only help compliance further. Since all Atheros card already have
been programmed with a regulatory domain in the EEPROM that is
respected, you should be fine with regulatory out of the box with
ath9k.
> phy0: Atheros AR5416 MAC/BB Rev:2 AR2133 RF Rev:81: mem=0xfd780000, irq=12
Anyway you have a single band card, as iw didn't even list anything
for 5 GHz. All AR5416 cards I am aware of sold use the AR2133 which is
a single band 2.4 GHz radio. The only AR5416+AR5133 (with dual band
radio) combos that I know of are demo cards here at Atheros.
This would explain why you can't see your 5 GHz AP.
If you're lucky maybe you can find an AR9280 dual band on ebay or
something. AR9280s are dual bands AR9281 are single band 2.4 GHz.
You can check:
http://wireless.kernel.org/en/users/Drivers/ath9k
to see which products ship these.
Luis
^ permalink raw reply [flat|nested] 6+ messages in thread
* [ath9k-devel] WMP300N-UK Doesn't See 5Ghz SSID
2009-05-19 2:29 ` Luis R. Rodriguez
@ 2009-05-19 3:50 ` Paul Koan
2009-05-19 4:00 ` Luis R. Rodriguez
0 siblings, 1 reply; 6+ messages in thread
From: Paul Koan @ 2009-05-19 3:50 UTC (permalink / raw)
To: ath9k-devel
Luis R. Rodriguez wrote:
> On Mon, May 18, 2009 at 6:16 PM, Paul Koan <gmane@airbred.com> wrote:
>> Luis R. Rodriguez wrote:
>>
>>> On Mon, May 18, 2009 at 08:14:25AM -0700, Paul Koan wrote:
>>>> Hello,
>>>>
>>>> I have tried lots of different versions of the compat drivers and
>>>> kernels over the months (~20) and I haven't managed to get the pci card
>>>> (AR5146 + AR2133, 168c:0023) in the subject line to see the 5Ghz ssid
>>>> of a WRT610N.
>>>>
>>>> Other devices (even non-N 802.11a) can see the 5ghz ssid.
>>>>
>>>> I am using iw dev wlan1 scan to see what is out there, and it lists all
>>>> the g networks around, and the 2.4Ghz ssid on the WRT610N.
>>>>
>>>> Any ideas why that might be?
>>>
>>> Did you install wireless-regdb and crda?
>>>
>>> http://wireless.kernel.org/download/wireless-regdb/
>>> http://wireless.kernel.org/download/crda/
>>>
>>> What does 'iw list' show?
>>>
>>> Luis
>>
>> Hello, I didn't have cdra and regdb installed, but I do now.
>>
>> Cannot seem to get the country to change however.
>
> You can set the country after loading ath9k. But keep in mind that
> will only help compliance further. Since all Atheros card already have
> been programmed with a regulatory domain in the EEPROM that is
> respected, you should be fine with regulatory out of the box with
> ath9k.
>
>> phy0: Atheros AR5416 MAC/BB Rev:2 AR2133 RF Rev:81: mem=0xfd780000,
>> irq=12
>
> Anyway you have a single band card, as iw didn't even list anything
> for 5 GHz. All AR5416 cards I am aware of sold use the AR2133 which is
> a single band 2.4 GHz radio. The only AR5416+AR5133 (with dual band
> radio) combos that I know of are demo cards here at Atheros.
>
> This would explain why you can't see your 5 GHz AP.
>
> If you're lucky maybe you can find an AR9280 dual band on ebay or
> something. AR9280s are dual bands AR9281 are single band 2.4 GHz.
>
> You can check:
>
> http://wireless.kernel.org/en/users/Drivers/ath9k
>
> to see which products ship these.
>
> Luis
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel at lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
Thanks Luis,
That explains it - though there is lots of material online suggesting the
WMP300N has 5Ghz radio, but if it doesn't it doesn't.
Wrt the Reg domain. I am in AU and I can set to AU prior to ath9k being
load and see the results in dmesg, but as soon as ath9k is loaded, it
switches to AT. If I iw reg set again, there is no further entries in
dmesg.
So this could mean either it is setting AU and just not reporting it, or it
isn't setting AU and leaves it as AT.
Or it is AU anyway because I bought the WMP300N in AU and so the firmware is
set to AU (dmesg doesn't really support this).
But what is the impact if it is wrong - does it mean that I will not have
access to the correct range of frequencies in this country?
^ permalink raw reply [flat|nested] 6+ messages in thread
* [ath9k-devel] WMP300N-UK Doesn't See 5Ghz SSID
2009-05-19 3:50 ` Paul Koan
@ 2009-05-19 4:00 ` Luis R. Rodriguez
0 siblings, 0 replies; 6+ messages in thread
From: Luis R. Rodriguez @ 2009-05-19 4:00 UTC (permalink / raw)
To: ath9k-devel
On Mon, May 18, 2009 at 8:50 PM, Paul Koan <gmane@airbred.com> wrote:
> Luis R. Rodriguez wrote:
>> Anyway you have a single band card,
>> All AR5416 cards I am aware of sold use the AR2133 which is
>> a single band 2.4 GHz radio.
> That explains it - though there is lots of material online suggesting the
> WMP300N has 5Ghz radio, but if it doesn't it doesn't.
You may have v2.
> Wrt the Reg domain. ?I am in AU and I can set to AU prior to ath9k being
> load and see the results in dmesg, but as soon as ath9k is loaded, it
> switches to AT. ?If I iw reg set again, there is no further entries in
> dmesg.
That's because it does an intersection when ath9k loads because it
detected you one compliant gentlemen so it will listen to that and
compute the intersection between what ath9k has and what you
previously set. After that further user regulatory settings are
ignored by the user as the intersection was computed already.
cfg80211: Current regulatory domain intersected:
(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
(2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
(5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
(5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
> So this could mean either it is setting AU and just not reporting it, or it
> isn't setting AU and leaves it as AT.
Neither, it was computing the intersection for you.
> Or it is AU anyway because I bought the WMP300N in AU and so the firmware is
> set to AU (dmesg doesn't really support this).
ath9k has no firmware, the regulatory domain is hard coded in the
EEPROM by the manufacturer.
> But what is the impact if it is wrong - does it mean that I will not have
> access to the correct range of frequencies in this country?
Its not wrong, its behaving appropriately and as expected, you asked
for one regulatory domain, the card has another one so it computes the
intersection and uses it.
Luis
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-05-19 4:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-18 15:14 [ath9k-devel] WMP300N-UK Doesn't See 5Ghz SSID Paul Koan
2009-05-18 16:04 ` Luis R. Rodriguez
2009-05-19 1:16 ` Paul Koan
2009-05-19 2:29 ` Luis R. Rodriguez
2009-05-19 3:50 ` Paul Koan
2009-05-19 4:00 ` Luis R. Rodriguez
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.