All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Carl Fürstenberg" <carl@excito.com>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] Unable to associate using wireless-testing on ar9220
Date: Tue, 26 Jan 2010 16:31:08 +0100	[thread overview]
Message-ID: <4B5F0ABC.2010203@excito.com> (raw)
In-Reply-To: <4B58A24B.5070804@openwrt.org>

resend due to missing replying to mailing list.
Felix Fietkau wrote:
> On 2010-01-21 2:31 PM, Carl F?rstenberg wrote:
>   
>> 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?
>
> --- a/drivers/net/wireless/ath/ath9k/hw.c
> +++ b/drivers/net/wireless/ath/ath9k/hw.c
> @@ -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);
>
>   
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 

      reply	other threads:[~2010-01-26 15:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-21 13:31 [ath9k-devel] Unable to associate using wireless-testing on ar9220 Carl Fürstenberg
2010-01-21 18:51 ` Felix Fietkau
2010-01-26 15:31   ` Carl Fürstenberg [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B5F0ABC.2010203@excito.com \
    --to=carl@excito.com \
    --cc=ath9k-devel@lists.ath9k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.