From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luis R. Rodriguez Date: Sat, 14 Feb 2009 17:18:46 -0800 Subject: [ath9k-devel] ath9k WMP300nv2 (AR5416) In-Reply-To: <20090214230618.203560@gmx.net> References: <20090203173228.GB9713@tesla> <20090203184632.137560@gmx.net> <20090203190955.GB15591@tesla> <20090203201941.242400@gmx.net> <20090203212317.GA25036@tesla> <20090204194544.158460@gmx.net> <20090204214334.GF5581@tesla> <20090206202205.218710@gmx.net> <20090206211804.GG5031@tesla> <20090214230618.203560@gmx.net> Message-ID: <43e72e890902141718v544f5caejb71f53bdadbf8a8f@mail.gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org On Sat, Feb 14, 2009 at 3:06 PM, Alexander Bartha wrote: > hello Luis, > > Hardware: > Wireless Card: LinksysWMP300Nv2 > Wireless Router: LinksysWRT160 > Router Wireless Config: 802.11N, Channel 12 (because there are many routers in the neighborhood using the lower channels) > SecurityMode: WPA2-Personal, Encryption: TKIP or AES > > Packages: > Kernel: gentoo-sources-2.6.28-r1 > linux-headers-2.6.28-r1 > wpa_supplicant-0.6.4 > compat-wireless-2009-02-14 > iw-0.9.9 > wireless-tools-29 > > my wpa_supplicant.conf: > update_config=1 > > ctrl_interface=/var/run/wpa_supplicant > eapol_version=2 > fast_reauth=1 > > # Ensure that only root can read the WPA configuration > #ctrl_interface_group=0 > # > # Let wpa_supplicant take care of scanning and AP selection > ap_scan=1 > #country=AT > > > network={ > ssid="MySSid" > # scan_ssid=1 > proto=RSN > key_mgmt=WPA-PSK > pairwise=TKIP CCMP > group=TKIP CCMP > psk="MyPsk" > priority=2 > } > (END) > > My Network-Konfiguration-File:/etc/init.d/net > > modules=( "wpa_supplicant" ) > wpa_supplicant_wlan0="-Dwext" > config_wlan0=( "dhcp" ) > dhcpcd_wlan0="-t 10" > dhcp_wlan0="nonis" > channel_wlan0="12" > dns_domain_lo="localdnsdomain" > > > > Error description: > > When i boot my System i have to rmmod cfg80211 mac80211 ath9k + modprobe ath9k otherwise my Wlan Card (LinksysWMP300Nv2) does not > > work --the leds on my WlanCard will be turned off when wpa_supplicant is starting! After the reload the WlanCard work fine. > > The goal at this problem is that in var/log/messages i have the same output as my problem with crda-0.9.5 (the second part of the > > frequences of crda isnt there). > > > Output: > [ 6.422739] cfg80211: Using static regulatory domain info > [ 6.422743] cfg80211: Regulatory domain: US > [ 6.422746] (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) > [ 6.422751] (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm) > [ 6.422756] (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) > [ 6.422760] (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) > [ 6.422765] (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) > [ 6.422770] (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) > [ 6.422774] (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm) > [ 6.422779] cfg80211: Calling CRDA for country: US > [ 6.491245] ath9k 0000:04:00.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20 > [ 6.507775] dib0700: loaded with support for 8 different device-types > [ 6.507803] dvb_usb_dib0700 1-6:1.0: usb_probe_interface > [ 6.507809] dvb_usb_dib0700 1-6:1.0: usb_probe_interface - got id > [ 6.508112] dvb-usb: found a 'Terratec Cinergy DT USB XS Diversity' in cold state, will try to load a firmware > [ 6.508118] usb 1-6: firmware: requesting dvb-usb-dib0700-1.20.fw > [ 6.704575] hub 4-0:1.0: hub_suspend > [ 6.704587] usb usb4: bus auto-suspend > [ 6.704590] usb usb4: suspend_rh > [ 6.919213] phy0: Selected rate control algorithm 'ath9k_rate_control' > [ 6.924986] cfg80211: Calling CRDA for country: AT > [ 6.925034] Registered led device: ath9k-phy0::radio > [ 6.925058] Registered led device: ath9k-phy0::assoc > [ 6.925083] Registered led device: ath9k-phy0::tx > [ 6.925110] Registered led device: ath9k-phy0::rx > [ 6.925138] phy0: Atheros AR5416 MAC/BB Rev:2 AR2133 RF Rev:81: mem=0xf9140000, irq=20 <-- snip --> > if i dont reload the modules "ADDRCONF(NETDEV_UP): wlan0: link is not ready" is the last relevant message in /var/log/messages! That is not a critical message, it means nothing bad. It just means your card is not associated yet. Once it gets associated, you "link" goes up. > if i only stop and start my /etc/init.d/net.wlan0 init script it also fails with the same output in var log message "link is not ready". That is not bad, it just means you are not associated. > After boot when i dont relaod cfg, mac, ath9k "iwlist channel" knows only channel 1-11. I believe Gentoo crda package may be installing the udev rule in the wrong place. We used to use /lib/udev/rules.d and recently started using /lib/udev/rules.d/ which seems to be more of an appropriate place. Check which one you have. If you have both remove both and try in only one location. Can you recompile and install compat-wireless with this added to config.mk: CONFIG_ATH9K_DEBUG=y Then load ath9k like this: modprobe ath9k debug=0x00000080 Before loading ath9k remember to unload all wireless modules you can do that from compat-wireless by doing: make unload Then provide the output of: iw list > But when i am reloading cfg, mac and > ath9k "iwlist channel" knows Channel 1-13. There may be an issue with the udev rule location, here's a backport of a patch I just posted though which may help too since you are reloading right now (but reloading should not be required). Luis -------------- next part -------------- A non-text attachment was scrubbed... Name: same-hint.patch Type: text/x-patch Size: 1281 bytes Desc: not available Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20090214/c9b10c9f/attachment.bin