All of lore.kernel.org
 help / color / mirror / Atom feed
From: Frode V. Fjeld <frode@netfonds.no>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] ath9k: AWAKE -> NETWORK_SLEEP
Date: Sat, 16 Jan 2010 01:37:15 +0100	[thread overview]
Message-ID: <824omm6g1w.fsf@netfonds.no> (raw)

Hi,

I have a new PC running ubuntu 9.10 and ath9k:

# lspci -nn | grep Atheros
04:00.0 Network controller [0280]: Atheros Communications Inc. AR928X
Wireless Network Adapter (PCI-Express) [168c:002a] (rev 01)

# modinfo ath9k
filename:       /lib/modules/2.6.31-17-generic/updates/cw/ath9k.ko
license:        Dual BSD/GPL
description:    Support for Atheros 802.11n wireless LAN cards.
author:         Atheros Communications
srcversion:     918698AEA3CBE61D0E996E6
alias:          pci:v0000168Cd0000002Esv*sd*bc*sc*i*
alias:          pci:v0000168Cd0000002Dsv*sd*bc*sc*i*
alias:          pci:v0000168Cd0000002Bsv*sd*bc*sc*i*
alias:          pci:v0000168Cd0000002Asv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000029sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000027sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000024sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000023sv*sd*bc*sc*i*
depends:        mac80211,led-class,ath,cfg80211
vermagic:       2.6.31-17-generic SMP mod_unload modversions 
parm:           debug:uint
parm:           nohwcrypt:Disable hardware encryption (int)


It's performing quite badly, giving ping-times in the area of 100ms
(when pinging from host x, but around 1ms when pinging to host x), and
frequent delays/pauses in TCP connections.

I tried to run the module with debug=1, and there was something that
looks suspicious to me:

Jan 16 01:21:09 tv kernel: [ 4432.020973] ath9k: NETWORK SLEEP -> AWAKE
Jan 16 01:21:09 tv kernel: [ 4432.026534] ath9k: AWAKE -> NETWORK SLEEP
Jan 16 01:21:09 tv kernel: [ 4432.123358] ath9k: NETWORK SLEEP -> AWAKE


etc etc.. in other words, it seems to oscillate like this at a steady
rate of about 10-20Hz. Is it supposed to be like this, or does it
indicate a problem?

Also, once in a while (every couple of minutes or so), there are bursts
of these:

Jan 16 01:18:09 tv kernel: [ 4252.157169] ath9k: ah->misc_mode 0x4


I'd appreciate any advice on this.

Thanks,
-- 
Frode V. Fjeld

             reply	other threads:[~2010-01-16  0:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-16  0:37 Frode V. Fjeld [this message]
2010-01-16  1:30 ` [ath9k-devel] ath9k: AWAKE -> NETWORK_SLEEP Satanand Burla
2010-01-16  3:39 ` Sujith
2010-01-19 15:43   ` Luis R. Rodriguez

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=824omm6g1w.fsf@netfonds.no \
    --to=frode@netfonds.no \
    --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.