From: Luis R. Rodriguez Date: Mon, 18 May 2009 17:10:04 -0700 Subject: [ath9k-devel] N mode In-Reply-To: <20090518235944.GT20637@tesla> References: <4A0F2EE9.6050207@gmail.com> <4A11CB65.80007@gmail.com> <4A11CBD0.4030008@gmail.com> <20090518211452.GQ20637@tesla> <4A11D431.2040407@gmail.com> <20090518224551.GR20637@tesla> <4A11EA9D.4030604@gmail.com> <43e72e890905181629i427b6fccoa09f643b0d341c05@mail.gmail.com> <4A11F099.6010400@gmail.com> <20090518235944.GT20637@tesla> Message-ID: <43e72e890905181710y2646a79dr3f041f7aef143de2@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 Mon, May 18, 2009 at 4:59 PM, Luis R. Rodriguez wrote: > On Mon, May 18, 2009 at 04:34:49PM -0700, Dmitri Seletski wrote: >> Luis R. Rodriguez wrote: >> > On Mon, May 18, 2009 at 4:09 PM, Dmitri Seletski wrote: >> > >> > >> >> compat-wireless-2009-05-19 # grep CONFIG_MAC80211_DEFAULT_PS config.mk >> >> CONFIG_MAC80211_DEFAULT_PS=n >> >> CONFIG_MAC80211_DEFAULT_PS_VALUE=1 >> >> >> >> make :) >> >> >> >> make unload >> >> make install >> >> modprobe ath9k >> >> ip link set wlan0 up >> >> iwconfig wlan0 essid dlink >> >> >> >> last (IMHO)relevan't dmesg messages(got loads of dmesg history today) >> >> >> >> >> >> [14147.633677] phy0: Atheros AR5416 MAC/BB Rev:2 AR2133 RF Rev:81: >> >> mem=0xffffc200114e0000, irq=19 >> >> [14182.582492] ADDRCONF(NETDEV_UP): wlan0: link is not ready >> >> [14216.110829] wlan0: direct probe to AP 00:1e:58:b4:f6:83 try 1 >> >> [14216.310267] wlan0: direct probe to AP 00:1e:58:b4:f6:83 try 2 >> >> [14216.316846] wlan0 direct probe responded >> >> [14216.316848] wlan0: authenticate with AP 00:1e:58:b4:f6:83 >> >> [14216.320962] wlan0: authenticated >> >> [14216.320964] wlan0: associate with AP 00:1e:58:b4:f6:83 >> >> [14216.520277] wlan0: associate with AP 00:1e:58:b4:f6:83 >> >> [14216.527099] wlan0: deauthenticated (Reason: 9) >> >> >> > >> > I believe reason 9 is you're AP tells you that you are trying to >> > associate to it without first having authenticated. >> > >> > >> >> [14217.527273] wlan0: direct probe to AP 00:1e:58:b4:f6:83 try 3 >> >> [14217.727264] wlan0: direct probe to AP 00:1e:58:b4:f6:83 timed out >> >> [14231.356054] wlan0: authenticate with AP 00:1e:58:b4:f6:83 >> >> [14231.359188] wlan0: authenticated >> >> [14231.359191] wlan0: associate with AP 00:1e:58:b4:f6:83 >> >> [14231.367102] wlan0: deauthenticated (Reason: 9) >> >> >> > >> > And we repeat this here. >> > >> > >> >> [14232.367277] wlan0: direct probe to AP 00:1e:58:b4:f6:83 try 1 >> >> [14232.567284] wlan0: direct probe to AP 00:1e:58:b4:f6:83 try 2 >> >> [14232.570837] wlan0 direct probe responded >> >> [14232.570843] wlan0: authenticate with AP 00:1e:58:b4:f6:83 >> >> [14232.573250] wlan0: authenticated >> >> [14232.573434] wlan0: associate with AP 00:1e:58:b4:f6:83 >> >> [14232.773283] wlan0: associate with AP 00:1e:58:b4:f6:83 >> >> [14232.780130] wlan0: deauthenticated (Reason: 9) >> >> >> > >> > And here. >> > >> > >> >> [14233.780276] wlan0: direct probe to AP 00:1e:58:b4:f6:83 try 3 >> >> [14233.784639] wlan0 direct probe responded >> >> [14233.784645] wlan0: authenticate with AP 00:1e:58:b4:f6:83 >> >> [14233.799082] wlan0: authenticated >> >> [14233.799087] wlan0: association with AP 00:1e:58:b4:f6:83 timed out >> >> >> >> Access point in N mode only currently. >> >> >> > >> > Hm OK. >> > >> > >> >> Switching to mixture of N, G, B and dmesg throws this: >> >> [14233.799087] wlan0: association with AP 00:1e:58:b4:f6:83 timed out >> >> [14435.358964] wlan0: authenticate with AP 00:1e:58:b4:f6:83 >> >> [14435.362920] wlan0: authenticated >> >> [14435.362922] wlan0: associate with AP 00:1e:58:b4:f6:83 >> >> [14435.371750] wlan0: RX AssocResp from 00:1e:58:b4:f6:83 (capab=0x421 >> >> status=0 aid=1) >> >> [14435.371752] wlan0: associated >> >> [14435.372601] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready >> >> [14435.839637] wlan0: disassociated (Reason: 8) >> >> >> > >> > This is the STA has left. Hm, ?lets try upgrading your supplicant... >> > Can you try upgrading to the latest from git? >> > >> > git://w1.fi/srv/git/hostap.git >> > >> > ? Luis >> > >> >> Hello Luis. >> I have no idea what authentication you are talking about. >> I am sure that i dont use any authentication. > > I'm talking about the 802.11 authentication which is always > required prior to association (even when no encryption is enabled). > > Can you try a newer wpa_supplicant to see if that helps? That is, use a plaintext supplicant as follows: mcgrof at tesla ~ $ cat plaintext.conf ctrl_interface=/var/run/wpa_supplicant ap_scan=1 network={ key_mgmt=NONE ssid="your-ssid" scan_ssid=1 } wpa_supplicant -i wlan0 -c plaintext.conf Luis