Skip to contentSkip to conversation

Does DWA-642 AR5008 support 80211n?

ath9k-devel hong zhang 2 participants 2 messages Jun 2, 2009

lore
Share & tools
lore

hong zhang

author
#0 lore raw

wpa_config
network={

	ssid="Linux11n-2.4-40"

	key_mgmt=NONE

	}

Here is wpa_supplicant:

Associate but disconnect then do cycle.
33: 00:17:df:a6:e7:30 ssid='Linux11n-2.4-40' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
selected non-WPA AP 00:17:df:a6:e7:30 ssid='Linux11n-2.4-40'
Trying to associate with 00:17:df:a6:e7:30 (SSID='Linux11n-2.4-40' freq=2437 MHz) Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: clearing AP WPA IE
WPA: clearing AP RSN IE
WPA: clearing own WPA/RSN IE
No keys have been configured - skip key clearing wpa_driver_wext_set_drop_unencrypted
State: SCANNING -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
wpa_driver_wext_associate
wpa_driver_wext_set_psk
Setting authentication timeout: 10 sec 0 usec
EAPOL: External notification - portControl=ForceAuthorized
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan3' added
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan3' added
Wireless event: cmd=0x8b04 len=12
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan3' added
Wireless event: cmd=0x8c02 len=208
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan3' added
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:17:df:a6:e7:30
State: ASSOCIATING -> ASSOCIATED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
Associated with 00:00:00:00:00:00
WPA: Association event - clear replay counter
WPA: Clear old PTK
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
EAPOL: External notification - portEnabled=1
EAPOL: SUPP_PAE entering state S_FORCE_AUTH
EAPOL: SUPP_BE entering state IDLE
Cancelling authentication timeout
State: ASSOCIATED -> COMPLETED
CTRL-EVENT-CONNECTED - Connection to 00:00:00:00:00:00 completed (reauth) [id=0 id_str=] wpa_driver_wext_set_operstate: operstate 0->1 (UP)
WEXT: Operstate: linkmode=-1, operstate=6
Cancelling scan request
RTM_NEWLINK: operstate=1 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan3' added
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:00:00:00:00:00
Setting scan request: 0 sec 100000 usec
BSSID 00:17:df:a6:e7:30 blacklist count incremented to 2 CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
State: COMPLETED -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 1->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
EAPOL: External notification - portEnabled=0
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: SUPP_BE entering state INITIALIZE
EAPOL: External notification - portValid=0
RTM_NEWLINK: operstate=0 ifi_flags=0x1043 ([UP][RUNNING])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan3' added
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan3' added
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan3' added
State: DISCONNECTED -> SCANNING

Quoted 33 lines · Luis R. Rodriguez

From: Luis R. Rodriguez <[email protected]>
Subject: Re: [ath9k-devel] Does DWA-642 AR5008 support 80211n?
To: "hong zhang" <[email protected]>
Cc: "ath9k-devel at lists.ath9k.org" <[email protected]>
Date: Tuesday, June 2, 2009, 11:45 AM

Quoted 4 lines · hong zhang

List,

I bought my second card for ath9k but looks like

failed again.

Describe failed again.

Quoted 1 line

DWA-642 has AR5008 and failed to associate to 80211n

AP.

What AP do you have? Can you provide more information like for AP
configuration.

Quoted 1 line

There are many wrong information on the ath9k list for

which card supports ath9k.

Quoted 2 lines

16:00.0 Network controller: Atheros Communications

Inc. AR5008 Wireless Network Adapter (rev 01)

The device should work, are you trying wireless-testing? If not what kernel?

? Luis

#1 lore raw
Quoted 6 lines · hong zhang

Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:17:df:a6:e7:30
State: ASSOCIATING -> ASSOCIATED wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5 Associated with 00:00:00:00:00:00

That looks odd.. The wireless event seems to indicate a valid MAC address that does even match with the scan results, but this all zeroes address is odd.. Which version of wpa_supplicant are you using? Are you by any chance using 64-bit kernel with 32-bit user space?

Quoted 6 lines

Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:00:00:00:00:00 Setting scan request: 0 sec 100000 usec
BSSID 00:17:df:a6:e7:30 blacklist count incremented to 2 CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
State: COMPLETED -> DISCONNECTED

The AP did not seem to like something (or based on the dmesg output, something local did not like it).. Are you running NetworkManager, too, when running wpa_supplicant manually? That would likely result in this type of behavior with NM requesting disconnection immediately after the manually started wpa_supplicant process managed to connect.

- Jouni