All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Roskin <proski@gnu.org>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] ath9k in wireless-testing won't work in AP mode
Date: Sat, 30 Jan 2010 14:39:27 -0500	[thread overview]
Message-ID: <1264880367.26739.25.camel@mj> (raw)
In-Reply-To: <4B63709F.2010805@openwrt.org>

On Sat, 2010-01-30 at 00:34 +0100, Felix Fietkau wrote:

> Please try this patch and see if it helps.

Yes, it worked perfectly!!!

I added some debug printks, and it turns out that ah->slottime is
negative.  The card is Ubiquiti SR71-12, 2 GHz only.

phy1: Atheros AR9280 Rev:2 mem=0xffffc900107c0000, irq=19
mac80211: debugfs: failed to rename debugfs dir to netdev:wlan0
udev: renamed network interface wlan0 to wlan13
ah->slottime = -1, ah->coverage_class = 0, sifstime = 10
acktimeout = 9, conf->channel = ffffffffa01c2520, conf->channel->band = 0
ah->slottime = -1, ah->coverage_class = 0, sifstime = 10
acktimeout = 9, conf->channel = ffffffffa01c2520, conf->channel->band = 0
ah->slottime = -1, ah->coverage_class = 0, sifstime = 10
acktimeout = 9, conf->channel = ffffffffa01c2520, conf->channel->band = 0
ah->slottime = -1, ah->coverage_class = 0, sifstime = 10
acktimeout = 9, conf->channel = ffffffffa01c25d4, conf->channel->band = 0
ah->slottime = 9, ah->coverage_class = 0, sifstime = 10
acktimeout = 19, conf->channel = ffffffffa01c25d4, conf->channel->band = 0
phy1: Allocated STA 00:19:e3:05:25:10
phy1: Inserted STA 00:19:e3:05:25:10

I see that ah->slottime is initialized to -1 in
ath9k_hw_init_defaults().  Maybe we want a number that is large, but
doesn't overflow?  Or we could start with 54, which would give 64 in the
first iteration.

-- 
Regards,
Pavel Roskin

  reply	other threads:[~2010-01-30 19:39 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-29 23:05 [ath9k-devel] ath9k in wireless-testing won't work in AP mode Pavel Roskin
2010-01-29 23:34 ` Felix Fietkau
2010-01-30 19:39   ` Pavel Roskin [this message]
2010-01-30 20:10     ` Felix Fietkau
2010-01-30 20:37       ` Pavel Roskin
2010-01-30 20:46         ` Felix Fietkau
2010-01-30 21:11           ` Pavel Roskin
2010-02-03  0:08           ` Luis R. Rodriguez
2010-02-03  0:18             ` Felix Fietkau
2010-02-03  0:27               ` Luis R. Rodriguez
2010-02-03  0:35                 ` Felix Fietkau
2010-02-03  0:45                   ` Luis R. Rodriguez
2010-02-03  3:29                     ` Pavel Roskin
2010-02-03 17:16                       ` Luis R. Rodriguez
2010-02-03  4:22             ` Sujith
2010-02-10 10:51             ` Jouni Malinen
2010-02-10 17:33               ` Peter Stuge
2010-02-11  9:12     ` Peter Stuge

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=1264880367.26739.25.camel@mj \
    --to=proski@gnu.org \
    --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.