All of lore.kernel.org
 help / color / mirror / Atom feed
From: advan_xiang <advan_xiang@sina.com>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] ath9k-devel Digest, Vol 5, Issue 14
Date: Tue, 2 Dec 2008 15:21:41 +0800	[thread overview]
Message-ID: <200812021521380150713@sina.com> (raw)
In-Reply-To: mailman.286.1227248375.4825.ath9k-devel@lists.ath9k.org

hi,all 
  I would like to switch RX filter bandwidth to 5/10MHz in AR5413 chipset, I fixed 0x9944 register , but I'm not sure whether is right , someone helps me ? thank you in advance .

advan 




advan_xiang
2008-12-02



???? ath9k-devel-request at lists.ath9k.org
????? 2008-11-24 09:20:07
???? ath9k-devel at lists.ath9k.org
??? 
??? ath9k-devel Digest, Vol 5, Issue 14

Send ath9k-devel mailing list submissions to
ath9k-devel at 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-request at lists.ath9k.org

You can reach the person managing the list at
ath9k-devel-owner at 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: Dirty Laundry List (Luis R. Rodriguez)
   2. Re: Dirty Laundry List (Alistair John Strachan)
   3. Re: Dirty Laundry List (Luis R. Rodriguez)
   4. Re: It Works! (Brian)
   5. Re: Dirty Laundry List (Alistair John Strachan)
   6. Re: It Works! (Sujith)
   7. Re: Issues (Brian)
   8. Re: Issues (Sujith)


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

Message: 1
Date: Thu, 20 Nov 2008 11:32:47 -0800
From: "Luis R. Rodriguez"  <lrodriguez@atheros.com >
Subject: Re: [ath9k-devel] Dirty Laundry List
To: Sujith Manoharan  <Sujith.Manoharan@Atheros.com >
Cc: ath9k-devel at lists.ath9k.org
Message-ID:  <20081120193247.GC5899@tesla >
Content-Type: text/plain; charset="us-ascii"

Moving this discussion out to the public list. Guys this is our
latest TODO list. We welcome people from the community to take up items
here, but please let us know if you are going to work on something.

I'll be tackling the MacBook pro swiotlb issue, I think this should be
fixed now, but not sure, needs a MacBook Pro 3.1 tester. I also already
started working on the ath9k regulatory scrub. Essentially we'll be
relying on CRDA for 11d instead of the EEPROM so this is a huge major
cleanup. Also there is a lot of potential to share this work with ath5k
code. One option which Jouni suggested was a module we can share between
ath9k/ath5k, maybe some sort of ath_common.ko or the like and first
stash in there reg stuff. Maybe later add more shared stuff as we go.

On Thu, Nov 20, 2008 at 08:22:21AM -0800, Sujith Manoharan wrote:
> Hi,
> 
> So more dirty linen to be washed, and here it is.
> 
> Issues/Bugs:
> 
> * PCI/DMA suckage ( SWIOTLB issue on macbooks )

Taken, need a MacBook pro 3.1 tester.

> * Fix xmit ( there is still a difference between xmit and recv )
>   (I don't see the difference in UDP, only in TCP)
> * TX/RX Hang
>   (I run into TX/RX hang after running Iperf for some time, no idea as to what's happening)
> * Fix convoluted aggregation logic
>   (bf_lastbf, bf_lastfrm, bf_next, bf_rifslast, buf_q, tid_q, axq_acq ...)
> * Fix Channel setting mess
>   (Racy, calculation of HT parameters is buggy)
> * RC scaling
>   (More analysis/optimization needs to be done here)
> * Fix probe/auth timeout issues
> * Fix HT handling mess
>   (reassociation with HT40 is a problem, switching between legacy/HT APs fails occasionally too)
> * Fix locking
>   (Yeah, right, like we have locking to begin with)
> * Throughput with legacy APs suck, analyze this
>   (Compare with Minstrel for legacy mode ?)
> * AR5416 based cards show lower throughput numbers than AR9280 and above. Fix this.
> * Handle PCI suspend/resume callbacks properly
> * Check ANI
>   (Does it work ?)
> * WTF is Slow Antenna Diversity and why have we not done anything to enable it so far ?
> * Lots of code for chainmask handling is present ( timers etc.), what are we doing with all that ?
> * Lockdep warning on ath_tid_drain() when association is lost and we try to clean up
> 
> Cleanup love:
> 
> * http://wireless.kernel.org/en/users/Drivers/ath9k
> 
> Major Items ( I know, we keep listing these again and again ):
> * 11d (Regulatory Scrub)

Taken.

> * 11h
> * SoftAP
> * Power Save (legacy)
> * BT Coex
> 
> Sujith
> 
> 


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

Message: 2
Date: Thu, 20 Nov 2008 23:23:19 +0000
From: Alistair John Strachan  <alistair@devzero.co.uk >
Subject: Re: [ath9k-devel] Dirty Laundry List
To: ath9k-devel at lists.ath9k.org
Message-ID:  <200811202323.19327.alistair@devzero.co.uk >
Content-Type: text/plain;  charset="us-ascii"

On Thursday 20 November 2008 19:32:47 Luis R. Rodriguez wrote:
[snip]
>  > * PCI/DMA suckage ( SWIOTLB issue on macbooks )
>
> Taken, need a MacBook pro 3.1 tester.

Why does this have to be a MacBook Pro 3.1? If the ath9k driver's got swiotlb 
issues it should be possible to use any supported hardware in combination with 
the sw-iommu right? The IOMMU can be forced on with machines less than ~4GB, 
so just about anybody could test it.

If any of the above is correct, I've got a machine I could test the fix on.

-- 
Cheers,
Alistair.


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

Message: 3
Date: Thu, 20 Nov 2008 15:28:47 -0800
From: "Luis R. Rodriguez"  <lrodriguez@atheros.com >
Subject: Re: [ath9k-devel] Dirty Laundry List
To: Alistair John Strachan  <alistair@devzero.co.uk >
Cc: Luis, "ath9k-devel at lists.ath9k.org"  <ath9k-devel@lists.ath9k.org >,
Sujith Manoharan  <Sujith.Manoharan@Atheros.com >, Rodriguez
<Luis.Rodriguez@Atheros.com >
Message-ID:  <20081120232847.GE5899@tesla >
Content-Type: text/plain; charset="us-ascii"

On Thu, Nov 20, 2008 at 03:23:19PM -0800, Alistair John Strachan wrote:
> On Thursday 20 November 2008 19:32:47 Luis R. Rodriguez wrote:
> [snip]
>  >  > * PCI/DMA suckage ( SWIOTLB issue on macbooks )
>  >
>  > Taken, need a MacBook pro 3.1 tester.
> 
> Why does this have to be a MacBook Pro 3.1? If the ath9k driver's got swiotlb
> issues it should be possible to use any supported hardware in combination with
> the sw-iommu right? The IOMMU can be forced on with machines less than ~4GB,
> so just about anybody could test it.

You would think right!? Have you seen the bug report?

http://bugzilla.kernel.org/show_bug.cgi?id=11811

> If any of the above is correct, I've got a machine I could test the fix on.

I've been testing on iommu=soft swiotlb=force mem=4G while doing all
sorts of other memory intensive DMA things but no luck. So something is
peculiar about the MacBook pro 3.1. So we have patches now, so what we
need is to see if it still occurs with such patches. If anyone has a
MacBook pro 3.1 and is willing to test please let me know.

  Luis


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

Message: 4
Date: Fri, 21 Nov 2008 10:04:00 +1000
From: Brian  <bnc@astronomicalresearchaustralia.org >
Subject: Re: [ath9k-devel] It Works!
Cc: "ath9k-devel at lists.ath9k.org"  <ath9k-devel@lists.ath9k.org >
Message-ID:  <4925FAF0.3040202@astronomicalresearchaustralia.org >
Content-Type: text/plain; charset=ISO-8859-1



Luis,

> So we had over 40 patches pending which John just merged today. You
> can do a git pull or wait for compat-wireless to get updated.
Took your suggestion and did a git-pull.

Did a recompile after carefully checking menuconfig again.
The only major thing I have done is to remove any reference to IPV6.

Rebooted and everything came up and WORKED!:)
Not sure what you changed but it has done the trick.

I have been up for about 30mins with no issues.
2.6.28-rc5-wl-W #11 SMP

With this result
Mode Rate (Mbps) Signal (%)
802.11n (2.4GHz) 78 100


So while I am happy the 11n is now working the rate does not seem to be
as expected.

ISSUES so far

1) When I do a ping there is about a 10-15sec delay before the responses
start coming back.

2) I cannot start WPA_GUI or WPA_CLI it comes back with
Selected interface 'wlan0.pid'
Trying to connect to '/var/run/wpa_supplicant/wlan0.pid'
Failed to open control connection to wpa_supplicant.
PING failed - trying to reconnect

The pid is correct.


So many thanks to the atheros team for getting ath9k going.

Brian



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

Message: 5
Date: Fri, 21 Nov 2008 00:33:38 +0000
From: Alistair John Strachan  <alistair@devzero.co.uk >
Subject: Re: [ath9k-devel] Dirty Laundry List
To: "Luis R. Rodriguez"  <lrodriguez@atheros.com >
Cc: "ath9k-devel at lists.ath9k.org"  <ath9k-devel@lists.ath9k.org >, Luis
Rodriguez  <Luis.Rodriguez@atheros.com >
Message-ID:  <200811210033.38232.alistair@devzero.co.uk >
Content-Type: text/plain;  charset="us-ascii"

On Thursday 20 November 2008 23:28:47 Luis R. Rodriguez wrote:
> On Thu, Nov 20, 2008 at 03:23:19PM -0800, Alistair John Strachan wrote:
[snip]
>  > Why does this have to be a MacBook Pro 3.1? If the ath9k driver's got
>  > swiotlb issues it should be possible to use any supported hardware in
>  > combination with the sw-iommu right? The IOMMU can be forced on with
>  > machines less than ~4GB, so just about anybody could test it.
>
> You would think right!? Have you seen the bug report?
>
> http://bugzilla.kernel.org/show_bug.cgi?id=11811

No, very interesting! Fortunately I was able to reproduce the problem on my 
2GB RAM Macbook v2, despite the experiences you guys have had.

I built a kernel (2.6.28-rc5) with SWIOTLB set, and then booted with 
"iommu=soft swiotlb=force mem=512M" and then copied a TV show onto the laptop 
from another computer. It broke almost instantly (and took some of my data 
with it :-)).

[snip]
> So we have patches now, so what we
> need is to see if it still occurs with such patches. If anyone has a
> MacBook pro 3.1 and is willing to test please let me know.

I applied the patches, re-ran my test case, and half a gig later the problem 
seems to be gone. So if this is any use to you at all I'd say it's fixed by 
those patches, which do make a lot of sense.

The driver tested was the one in 2.6.28-rc5. I had to apply the patch manually 
because the driver in 2.6.28-rc5 is formatted in a substantially different 
way. No functional differences afaict.

-- 
Cheers,
Alistair.


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

Message: 6
Date: Fri, 21 Nov 2008 07:09:18 +0530
From: Sujith  <m.sujith@gmail.com >
Subject: Re: [ath9k-devel] It Works!
To: bnc at astronomicalresearchaustralia.org
Cc: "ath9k-devel at lists.ath9k.org"  <ath9k-devel@lists.ath9k.org >
Message-ID:  <18726.4422.322793.34364@localhost.localdomain >
Content-Type: text/plain; charset=us-ascii

Brian wrote:
> Did a recompile after carefully checking menuconfig again.
> The only major thing I have done is to remove any reference to IPV6.
> 
> Rebooted and everything came up and WORKED!:)
> Not sure what you changed but it has done the trick.
> 
> I have been up for about 30mins with no issues.
> 2.6.28-rc5-wl-W #11 SMP
> 
> With this result
> Mode Rate (Mbps) Signal (%)
> 802.11n (2.4GHz) 78 100
> 
> 
> So while I am happy the 11n is now working the rate does not seem to be
> as expected.
> 

I am assuming you are using HT20 ?

> ISSUES so far
> 
> 1) When I do a ping there is about a 10-15sec delay before the responses
> start coming back.
> 

This is an issue, and we are looking into this.

> 2) I cannot start WPA_GUI or WPA_CLI it comes back with
> Selected interface 'wlan0.pid'
> Trying to connect to '/var/run/wpa_supplicant/wlan0.pid'
> Failed to open control connection to wpa_supplicant.
> PING failed - trying to reconnect

Can you show your wpa_supplicant config ?

Sujith
-- 
http://sujith-m.blogspot.com


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

Message: 7
Date: Fri, 21 Nov 2008 14:52:44 +1000
From: Brian  <bnc@astronomicalresearchaustralia.org >
Subject: Re: [ath9k-devel] Issues
Cc: "ath9k-devel at lists.ath9k.org"  <ath9k-devel@lists.ath9k.org >
Message-ID:  <49263E9C.3050401@astronomicalresearchaustralia.org >
Content-Type: text/plain; charset=ISO-8859-1



Sujith,
> 
> I am assuming you are using HT20 ?
> 
Sorry, what is that? I did a git-pull about 18hours ago.

> > ISSUES so far
> >
> > 1) When I do a ping there is about a 10-15sec delay before the responses
> > start coming back.
> >
> 
> This is an issue, and we are looking into this.
> 
Ok, This could be generic. By that I mean I get a similar delay when I
log into my router. Subjective of course.



> > 2) I cannot start WPA_GUI or WPA_CLI it comes back with
> > Selected interface 'wlan0.pid'
> > Trying to connect to '/var/run/wpa_supplicant/wlan0.pid'
> > Failed to open control connection to wpa_supplicant.
> > PING failed - trying to reconnect
> 
> Can you show your wpa_supplicant config ?
Is their a show command?
In /var/run/wpa_supplicant-wlan0.conf

I have
ctrl_interface=/var/run/wpa_supplicant
network={
  scan_ssid=1
  ssid="dlink"
  key_mgmt=WPA-PSK
  psk="secret"
}

Brian



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

Message: 8
Date: Fri, 21 Nov 2008 11:46:22 +0530
From: Sujith  <Sujith.Manoharan@atheros.com >
Subject: Re: [ath9k-devel] Issues
To: "bnc at astronomicalresearchaustralia.org"
<bnc@astronomicalresearchaustralia.org >
Cc: "ath9k-devel at lists.ath9k.org"  <ath9k-devel@lists.ath9k.org >
Message-ID:  <18726.21046.859439.185937@gargle.gargle.HOWL >
Content-Type: text/plain; charset="us-ascii"

Brian wrote:
> Sorry, what is that? I did a git-pull about 18hours ago.

I meant the mode in which you have connected to the AP ( HT20/HT40 ).
Since you are operating in 2.4 Ghz, it probably is HT20, in which case
the numbers are not too bad.

But if your AP is dual-band, you can configure it to use HT40 in 5Ghz
and get improved throughput.

>  > > 2) I cannot start WPA_GUI or WPA_CLI it comes back with
>  > > Selected interface 'wlan0.pid'
>  > > Trying to connect to '/var/run/wpa_supplicant/wlan0.pid'
>  > > Failed to open control connection to wpa_supplicant.
>  > > PING failed - trying to reconnect
>  >
>  > Can you show your wpa_supplicant config ?
> Is their a show command?
> In /var/run/wpa_supplicant-wlan0.conf
> 
> I have
> ctrl_interface=/var/run/wpa_supplicant
> network={
>   scan_ssid=1
>   ssid="dlink"
>   key_mgmt=WPA-PSK
>   psk="secret"
> }
> 

Does running wpa_supplicant manually connect to the network ?

Sujith


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

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


End of ath9k-devel Digest, Vol 5, Issue 14
******************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20081202/7ce489c8/attachment-0001.htm 

           reply	other threads:[~2008-12-02  7:21 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <mailman.286.1227248375.4825.ath9k-devel@lists.ath9k.org>]

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=200812021521380150713@sina.com \
    --to=advan_xiang@sina.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.