From: Jouni Malinen Date: Wed, 14 Jan 2009 15:57:43 +0200 Subject: [ath9k-devel] WMP300N - Authen but no Assoc In-Reply-To: References: Message-ID: <1231941463.1126.6.camel@jm-desktop> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org On Wed, 2009-01-14 at 05:24 -0800, Paul Koan wrote: > I am using a Linksys WMP300N (AR5146 + AR2133, 168c:0023) with a WRT610N access point. The access point is set to N only, using WPA2-Personal. It would be interesting to understand how exactly the AP is enforcing the "N only" part taken into account the error you are seeing.. > With a stock 2.6.27-r7 kernel ath9k driver, I am able to connect to the AP using wpa_supplicant, using the config below. The speed is not particularly good, perhaps 2-4Mbps. Does this association work every time (i.e., you do not see that "AP denied association (code=18)" message)? > I have tried a variety of combinations of wireless-testing and wireless-compat since, and each of them seem to give the same problem, so I think I may be missing something in my config. Hopefully someone here can help. > > My latest attempt was with the above kernel, and with compat 2009-01-12. > The card fails to associate - I get (repeated endlessly) in dmesg: Does this happen every time (i.e., you can never associate with this kernel/driver version)? > wlan1: AP denied association (code=18) That indicates that the AP is rejecting the attempted association and the given reason (code=18) indicates that the STA did not support all rates in the basic rate set. This should not really happen, so I'm not sure what exactly the AP is trying to do here.. If you have possibility of using a wireless sniffer to capture the management frames exchanged between the AP and the client using ath9k, it would be very helpful to see what is included in the association request and response frames. It would also be useful to see what the AP is advertising in its Beacon/Probe Response frames. Could you please at least send "iwlist wlan0 scan" output for the AP (replace "wlan0" with suitable interface name, if needed) from the client? > Here is the wpa_supplicant.conf: > > network={ > ssid="essid5ghz" > psk="secret" > proto=RSN > key_mgmt=WPA-PSK > pairwise=TKIP CCMP If you are using 802.11n only configuration, I would highly recommend removing TKIP from the list of allowed pairwise ciphers. It is not allowed when 802.11n is used (TKIP may end up being used for group/broadcast frames, but not for pairwise) and can cause various problems that may be otherwise difficult to identify. - Jouni