Hi, All:
I made progress to load the ath9k driver and connected to AP.
The error message showed was actually a false alarm, it's really a matter of 
install sequence.
I have to install the driver for ath9k in this order:

insmod compat/compat.ko
insmod net/wireless/cfg80211.ko
insmod net/mac80211/mac80211.ko
insmod drivers/net/wireless/ath/ath.ko
insmod drivers/net/wireless/ath/ath9k/ath9k_hw.ko
insmod drivers/net/wireless/ath/ath9k/ath9k_common.ko
insmod drivers/net/wireless/ath/ath9k/ath9k_htc.ko
insmod drivers/net/wireless/ath/ath9k/ath9k.ko

Then driver works.

Now, the new issue is I failed to get a valid IP from AP when using "dhcpcd", I 
posted a new message on it.

Thank you all!
Nick



-----Original Message-----
From: ath9k-devel-boun...@lists.ath9k.org 
[mailto:ath9k-devel-boun...@lists.ath9k.org] On Behalf Of 
ath9k-devel-requ...@lists.ath9k.org
Sent: Tuesday, April 15, 2014 5:00 AM
To: ath9k-devel@lists.ath9k.org
Subject: ath9k-devel Digest, Vol 70, Issue 20

Send ath9k-devel mailing list submissions to
        ath9k-devel@lists.ath9k.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.ath9k.org/mailman/listinfo/ath9k-devel
or, via email, send a message with subject or body 'help' to
        ath9k-devel-requ...@lists.ath9k.org

You can reach the person managing the list at
        ath9k-devel-ow...@lists.ath9k.org

When replying, please edit your Subject line so it is more specific than "Re: 
Contents of ath9k-devel digest..."


Today's Topics:

   1. Re: Card with ath9k module not run! (Shu, Nick)
   2. beacon miss (hong zhang)
   3. ath9k queue hang (Dave Taht)
   4. Re: ath9k queue hang (Ben Greear)
   5. (no subject) ( ????? )


----------------------------------------------------------------------

Message: 1
Date: Mon, 14 Apr 2014 21:17:01 +0000
From: "Shu, Nick" <nick....@spirent.com>
Subject: Re: [ath9k-devel] Card with ath9k module not run!
To: Holger Schurig <holgerschu...@gmail.com>
Cc: "ath9k-devel@lists.ath9k.org" <ath9k-devel@lists.ath9k.org>
Message-ID:
        
<153f35912e69c446a72cf7d6417ebade7cf...@spccorexcmbx01.ad.spirentcom.com>
        
Content-Type: text/plain; charset="us-ascii"

Thanks, Holger:
1.Yes, card showed in PIC bus.
2. No, ath9k module didn't load.
I did ath10k before, got the backports-3.13.2-1 to run a PCIe WIFI AC card. 
From build instruction, I did "make defconfig-ath10k" ->  "make" -> "make 
install" to load ath10k driver.
Now, I changed the card from ath10k card to a ath9k card, then I thought I need 
to re-build driver module, so I did "make defconfig-ath9k" -> "make" -> "make 
install".
But I found it couldn't find the new drivers "ath9k.ko, ath9k_common.ko, 
ath9k_htc.ko, ath9k_hw.ko", why? Where are all drivers built?

Where I missed?
Thanks!
Nick


-----Original Message-----
From: Holger Schurig [mailto:holgerschu...@gmail.com]
Sent: Monday, April 14, 2014 4:03 PM
To: Shu, Nick
Cc: ath9k-devel@lists.ath9k.org
Subject: Re: [ath9k-devel] Card with ath9k module not run!

> I plugged in a PICe card with ATH9580

So, first things first: does the card show up with "lspci -nn" ?

> I ran "iw dev" but didn't see the device interface (wlan0 or wlan1).

Did the ath9k module load?  Try "lsmod". Also look if you can see errors with 
"dmesg". Quote to us the relevant parts (99% of dmesg output isn't related to 
your problem probably ...) E-mail confidentiality.
--------------------------------
This e-mail contains confidential and / or privileged information belonging to 
Spirent Communications plc, its affiliates and / or subsidiaries. If you are 
not the intended recipient, you are hereby notified that any disclosure, 
copying, distribution and / or the taking of any action based upon reliance on 
the contents of this transmission is strictly forbidden. If you have received 
this message in error please notify the sender by return e-mail and delete it 
from your system.

Spirent Communications plc
Northwood Park, Gatwick Road, Crawley, West Sussex, RH10 9XN, United Kingdom.
Tel No. +44 (0) 1293 767676
Fax No. +44 (0) 1293 767677

Registered in England Number 470893
Registered at Northwood Park, Gatwick Road, Crawley, West Sussex, RH10 9XN, 
United Kingdom.

Or if within the US,

Spirent Communications,
26750 Agoura Road, Calabasas, CA, 91302, USA.
Tel No. 1-818-676- 2300


------------------------------

Message: 2
Date: Mon, 14 Apr 2014 18:43:59 -0700 (PDT)
From: hong zhang <henryzhan...@yahoo.com>
Subject: [ath9k-devel] beacon miss
To: "ath9k-devel@lists.ath9k.org" <ath9k-devel@lists.ath9k.org>
Message-ID:
        <1397526239.64626.yahoomail...@web120905.mail.ne1.yahoo.com>
Content-Type: text/plain; charset=us-ascii

List,

I have seen wifi association is disconnected because number of beacon missing 
hits from 4 to 10 based on different vendors such as CISCO and Qualcomm etc..

Which number of missed beacon should be reasoable to disconnect association?

Thanks.

---henry



------------------------------

Message: 3
Date: Mon, 14 Apr 2014 19:16:46 -0700
From: Dave Taht <dave.t...@gmail.com>
Subject: [ath9k-devel] ath9k queue hang
To: "ath9k-devel@lists.ath9k.org" <ath9k-devel@lists.ath9k.org>
Message-ID:
        <CAA93jw5b5gVPywU2Xh1RrqC=rsodgr5nvju8+nsk0qxhtfy...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

We have been trying to replicate a bug in seeing wifi connections hanging in 
strange ways after tons of data is transferred... for several months now.

The symptoms varied, anything from multicast failing to background or best 
effort traffic failing - from local access working with remote access not 
working...

Last week, we finally got a situation where we had enough debugging on to see 
something that matches the symptoms we saw, in that one of the wifi queues 
would hang and leave the overlying qdisc full of packets that didn't drain.

Nothing short of a reboot clears it.

More details are at:

http://www.bufferbloat.net/issues/442#note-11

It's easily seen if you are in that state if you do a:

cat /sys/kernel/debug/ieee80211/phy*/ath9k/queues

(VO): qnum: 0 qdepth: 0 ampdu-depth: 0 pending: 0 stopped: 0
(VI): qnum: 1 qdepth: 0 ampdu-depth: 0 pending: 0 stopped: 0
(BE): qnum: 2 qdepth: 0 ampdu-depth: 0 pending: 0 stopped: 0
(BK): qnum: 3 qdepth: 0 ampdu-depth: 0 pending: 151 stopped: 1
(CAB): qnum: 8 qdepth: 0 ampdu-depth: 0 pending: 0 stopped: 0

It's ok to have pending frames, and even be stopped. It's not ok to have 
pending stay stuck or increase.

If you are running with a smarter qdisc enabled, you can also see it wedged - 
in this case the BK queue (1:4).

root@cerowrt:/mnt/disk1# tc -s qdisc show dev sw00 qdisc mq 1: root Sent 
3926131082 bytes 2998293 pkt (dropped 91657, overlimits 0 requeues 70095) 
backlog 77608b 1000p requeues 70095 qdisc fq_codel 10: parent 1:1 limit 800p 
flows 1024 quantum 500 target 10.0ms interval 100.0ms Sent 110555 bytes 771 pkt 
(dropped 0, overlimits 0 requeues 5) backlog 0b 0p requeues 5 maxpacket 256 
drop_overlimit 0 new_flow_count 2 ecn_mark 0 new_flows_len 0 old_flows_len 0 
qdisc fq_codel 20: parent 1:2 limit 800p flows 1024 quantum 300 target 5.0ms 
interval 100.0ms ecn Sent 2526448 bytes 17982 pkt (dropped 1, overlimits 0 
requeues 31) backlog 0b 0p requeues 31 maxpacket 929 drop_overlimit 0 
new_flow_count 71 ecn_mark 0 new_flows_len 0 old_flows_len 0 qdisc fq_codel 30: 
parent 1:3 limit 1000p flows 1024 quantum 300 target 5.0ms interval 100.0ms ecn 
Sent 15145657 bytes 106290 pkt (dropped 0, overlimits 0 requeues 179) backlog 
0b 0p requeues 179 maxpacket 256 drop_overlimit 0 new_flow_count 0 ecn_mark 0 
new
 _flows_len 0 old_flows_len 0 qdisc fq_codel 40: parent 1:4 limit 1000p flows 
1024 quantum 300 target 5.0ms interval 100.0ms Sent 3908348422 bytes 2873250 
pkt (dropped 91656, overlimits 0 requeues 69880) backlog 77608b 1000p requeues 
69880 ^^^!!!!!

Experiencing problem for months, on the linux-backports to 3.10.x in openwrt.


--
Dave T?ht


------------------------------

Message: 4
Date: Mon, 14 Apr 2014 20:49:39 -0700
From: Ben Greear <gree...@candelatech.com>
Subject: Re: [ath9k-devel] ath9k queue hang
To: Dave Taht <dave.t...@gmail.com>,    "ath9k-devel@lists.ath9k.org"
        <ath9k-de...@venema.h4ckr.net>
Message-ID: <534cac53.60...@candelatech.com>
Content-Type: text/plain; charset=UTF-8; format=flowed

On 04/14/2014 07:16 PM, Dave Taht wrote:
> We have been trying to replicate a bug in seeing wifi connections hanging
> in strange ways after tons of data is transferred... for several months now.
>
> The symptoms varied, anything from multicast failing to background or best
> effort traffic failing - from local access working with remote access
> not working...
>
> Last week, we finally got a situation where we had enough debugging on to see
> something that matches the symptoms we saw, in that one of the wifi queues
> would hang and leave the overlying qdisc full of packets that didn't drain.

Sounds familiar...I had a relatively clean patch in the 3.9 days, but had some
issues merging along the way and haven't bothered to rebase it, so patch is
not as clean as it used to be:

http://dmz2.candelatech.com/git/?p=linux-3.14.dev.y/.git;a=commitdiff;h=a34e34f46fbffc627dfc2d93c508f580fbaf29e2;hp=cce0d841338348c69ae6f7ef1b2bc8a6abea3fc4
http://dmz2.candelatech.com/git/?p=linux-3.14.dev.y/.git;a=commitdiff;h=3ecefa9c9f7eed21002dad7a6540d6d250297466;hp=134543c6fec7e28bf91272ce995b550b1bf73c62

I posted the patch to the mailing lists some time back..maybe a year or two ago.

If I recall, we could reproduce our problem fairly reliably by stepping an 
attenuator
in 10 db steps while under load.

I'd be curious to know if you try it out and it works for you...

Thanks,
Ben

-- 
Ben Greear <gree...@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com



------------------------------

Message: 5
Date: Tue, 15 Apr 2014 15:53:04 +0800
From: " ????? " <caf...@qq.com>
Subject: [ath9k-devel] (no subject)
To: " ath9k-devel " <ath9k-devel@lists.ath9k.org>
Message-ID: <tencent_3a0df3fa4a4ec2d64f2dc...@qq.com>
Content-Type: text/plain; charset="gb18030"

Hi, I'm now using the Minstrel_ht as a rate control scheme in aht9k NIC driver, 
but find that I can't control the tx rate by set the fixed_rate_idx in 
/sys/kernel/debug/phy0/rc/ to a fixed value. Who can tell me what's wrong and 
who have some useful methods to set the fixed tx rate? I will be appreciate!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20140415/cd5b85a2/attachment.html
 

------------------------------

_______________________________________________
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel


End of ath9k-devel Digest, Vol 70, Issue 20
*******************************************
_______________________________________________
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Reply via email to