Skip to contentSkip to conversation

Unable to associate using wireless-testing on ar9220

ath9k-devel Carl Fürstenberg 2 participants 3 messages Jan 21, 2010 – Jan 26, 2010 Qualcomm Atheros ATH9K wireless driver

lore
Share & tools
lore
#0 lore raw

We are trying to setup an AP using ar9220 on wireless-testing (2.6.33-rc4-wl-47251-g281bca7) and fails with below error during association:

Jan 21 14:24:36 wlan hostapd: wlan0: STA 00:04:20:1e:1f:75 IEEE 802.11: 

did not acknowledge authentication response

This is a repeatable occurrence testing multiple wlan cards as client. Would be happy for some help in debugging this issue.

/Carl F?rstenberg - excito

-------------- next part --------------
A non-text attachment was scrubbed...
Name: carl.vcf
Type: text/x-vcard
Size: 192 bytes
Desc: not available
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20100121/a6b27f19/attachment.vcf

#1 lore raw
Quoted 9 lines · Carl F?rstenberg

We are trying to setup an AP using ar9220 on wireless-testing (2.6.33-rc4-wl-47251-g281bca7) and fails with below error during association:

Jan 21 14:24:36 wlan hostapd: wlan0: STA 00:04:20:1e:1f:75 IEEE 802.11: 

did not acknowledge authentication response

This is a repeatable occurrence testing multiple wlan cards as client. Would be happy for some help in debugging this issue.

Could you please test this patch and see if it resolves your issue?

drivers/net/wireless/ath/ath9k/hw.c +5 -0
@@ -1229,6 +1229,11 @@ void ath9k_hw_init_global_settings(struc
 	/* As defined by IEEE 802.11-2007 17.3.8.6 */
 	slottime = ah->slottime + 3 * ah->coverage_class;
 	acktimeout = slottime + sifstime;
+
+	/* Workaround for a hw issue */
+	if (conf->channel && conf->channel->band == IEEE80211_BAND_2GHZ)
+		acktimeout = max(64, acktimeout);
+
 	ath9k_hw_setslottime(ah, slottime);
 	ath9k_hw_set_ack_timeout(ah, acktimeout);
 	ath9k_hw_set_cts_timeout(ah, acktimeout);
#2 lore raw

resend due to missing replying to mailing list.

Quoted 20 lines · Felix Fietkau
Quoted 10 lines · Carl F?rstenberg

We are trying to setup an AP using ar9220 on wireless-testing (2.6.33-rc4-wl-47251-g281bca7) and fails with below error during association:

Jan 21 14:24:36 wlan hostapd: wlan0: STA 00:04:20:1e:1f:75 IEEE 802.11: 

did not acknowledge authentication response

This is a repeatable occurrence testing multiple wlan cards as client. Would be happy for some help in debugging this issue.

Could you please test this patch and see if it resolves your issue?

drivers/net/wireless/ath/ath9k/hw.c +0 -0
@@ -1229,6 +1229,11 @@ void ath9k_hw_init_global_settings(struc
 	/* As defined by IEEE 802.11-2007 17.3.8.6 */

drivers/net/wireless/ath/ath9k/hw.c void ath9k_hw_init_global_settings(struc · line 1239

Quoted 10 lines
drivers/net/wireless/ath/ath9k/hw.c +5 -0
 	slottime = ah->slottime + 3 * ah->coverage_class;
 	acktimeout = slottime + sifstime;
+
+	/* Workaround for a hw issue */
+	if (conf->channel && conf->channel->band == IEEE80211_BAND_2GHZ)
+		acktimeout = max(64, acktimeout);
+
 	ath9k_hw_setslottime(ah, slottime);
 	ath9k_hw_set_ack_timeout(ah, acktimeout);
 	ath9k_hw_set_cts_timeout(ah, acktimeout);

This particular error seems to have been solved in w-t now.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: carl.vcf
Type: text/x-vcard
Size: 192 bytes
Desc: not available
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20100126/f0333c8d/attachment.vcf