From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitri Seletski Date: Tue, 19 May 2009 00:36:24 +0100 Subject: [ath9k-devel] N mode In-Reply-To: <43e72e890905181629i427b6fccoa09f643b0d341c05@mail.gmail.com> References: <4A0EB5A4.5070109@gmail.com> <4A0F2EE9.6050207@gmail.com> <20090518153313.GA20637@tesla> <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> Message-ID: <4A11F0F8.1090007@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 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 > Just to clarify: compat-wireless-2009-05-19 # lsmod Module Size Used by ath9k 271168 0 mac80211 194808 1 ath9k ath 8968 1 ath9k cfg80211 87456 3 ath9k,mac80211,ath f71882fg 28312 0 snd_seq 49568 0 output 3080 0 ext4 232992 1 jbd2 61912 1 ext4 crc16 1928 1 ext4 fan 5264 0 nvidia 8117912 36 snd_virtuoso 10564 5 snd_oxygen_lib 28424 1 snd_virtuoso snd_pcm 67696 3 snd_oxygen_lib snd_timer 19000 4 snd_seq,snd_pcm snd_page_alloc 8120 1 snd_pcm snd_mpu401_uart 6344 1 snd_oxygen_lib snd_rawmidi 19072 1 snd_mpu401_uart snd_seq_device 5564 2 snd_seq,snd_rawmidi snd 50344 14 snd_seq,snd_virtuoso,snd_oxygen_lib,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device r8169 36620 0 k8temp 5320 0 hwmon 2920 2 f71882fg,k8temp i2c_core 26592 1 nvidia soundcore 7744 1 snd Regards Dmitri