From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitri Seletski Date: Tue, 19 May 2009 00:09:17 +0100 Subject: [ath9k-devel] N mode In-Reply-To: <20090518224551.GR20637@tesla> 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> Message-ID: <4A11EA9D.4030604@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 02:33:37PM -0700, Dmitri Seletski wrote: > >> Luis R. Rodriguez wrote: >> >>> On Mon, May 18, 2009 at 01:57:52PM -0700, Dmitri Seletski wrote: >>> >>> >>>> Forgot to mention, i used bleeding edge this time, but if you want me >>>> to, I can of course try stable branch. >>>> >>>> >>> Bleeding edge is fine but keep in mind john hasn't applied a series >>> of patches pending for ath9k. Particularly power save fixes have been >>> posted and by default this is enabled so you can try to disable this >>> and see if it helps. Set: >>> >>> CONFIG_MAC80211_DEFAULT_PS=n >>> >>> If using compat-wireless you can stuff this into config.mk. >>> Once these patches get merged you can try again with it enabled. >>> >>> Anyway I don't think your issues may be PS related, but more interoperability >>> related, your AP may be doing something we don't expect somehow yet in either >>> mac80211 or ath9k. >>> >>> Either way please test with PS disabled by default and see if that helps. >>> You can also try the stable RC releases, that doesn't have PS enabled by >>> default. >>> >>> Luis >>> >>> >> Same story, downloaded, installed new stable version, connects in gmode >> and fails to connect when i set Access Point to N mode. >> :( can i add any debug information into it or something? >> > > Did you disable PS? > > Better yet John just merged a ton of patches, please give compat-wireless > another shot, I just pushed out a new tarball. You can compile and install > that as is. > > v2.6.30-rc6-23952-g30cf869 > wireless-testing latest tag: > master-2009-05-18 > This is compat-release: > master-2009-05-18-1-gf28a634 > > Luis > Luis, 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) [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) [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) [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. 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 time connection doesn't seem to work at all, but i have quite weak wireless medium...(that the reason behind me buying N enabled device in first place) Dmesg: [14435.839637] wlan0: disassociated (Reason: 8) [14446.014258] wlan0: no IPv6 routers present [14583.315714] wlan0: authenticate with AP 00:1e:58:b4:f6:83 [14583.320697] wlan0: authenticated [14583.320702] wlan0: associate with AP 00:1e:58:b4:f6:83 [14583.335389] wlan0: RX ReassocResp from 00:1e:58:b4:f6:83 (capab=0x421 status=0 aid=1) [14583.335397] wlan0: associated compat-wireless-2009-05-19 # iwconfig wlan0 wlan0 IEEE 802.11bgn ESSID:"dlink" Mode:Managed Frequency:2.462 GHz Access Point: 00:1E:58:B4:F6:83 Bit Rate=1 Mb/s Tx-Power=20 dBm Retry long limit:7 RTS thr:off Fragment thr:off Encryption key:off Power Management:on Link Quality=48/70 Signal level=-62 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 Regards Dmitri