From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Koan Date: Tue, 19 May 2009 11:16:18 +1000 Subject: [ath9k-devel] WMP300N-UK Doesn't See 5Ghz SSID References: <20090518160410.GE20637@tesla> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org 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...