Re: [ath9k-devel] AR9380 - Transmit power control per packet

2011-07-12 Thread Alex Hacker
I found the cause of TPC malfunction. As I assumed early, usage of AR_PHY_POWER_TX_RATE_MAX register in AR9380 is incorrect. The following lines should be removed from ar9003_phy.h file. These registers does not exists: --- ar9003_phy.h.orig 2011-03-30 16:25:00.0 +0600 +++ ar9003_phy.h

Re: [ath9k-devel] AR9380 - Transmit power control per packet

2011-07-12 Thread Mohammed Shafi
On Tue, Jul 12, 2011 at 12:33 PM, Alex Hacker hac...@epn.ru wrote: I found the cause of TPC malfunction. As I assumed early, usage of AR_PHY_POWER_TX_RATE_MAX register in AR9380 is incorrect. The following lines should be removed from ar9003_phy.h file. These registers does not exists: ---

Re: [ath9k-devel] AR9380 - Transmit power control per packet

2011-07-12 Thread Robert Budde
Alex, you are GREAT! Thank you so much! For some reason whatsoever we missed checking the AR_PHY_PWRTX_MAX register. We checked everything regarding power settings, but as the AR_PHY_PWRTX_MAX is never used we must have missed that. After a quick check, everything works perfect. Great job! Best

Re: [ath9k-devel] [PATCH v2 07/46] net/wireless: ath9k: fix DMA API usage

2011-07-12 Thread Michał Mirosław
On Tue, Jul 12, 2011 at 12:36:06PM +0800, Felix Fietkau wrote: On 2011-07-11 8:52 AM, Michał Mirosław wrote: Also constify buf_addr for ath9k_hw_process_rxdesc_edma() to verify assumptions --- dma_sync_single_for_device() call can be removed. Signed-off-by: Michał

Re: [ath9k-devel] [PATCH v2 07/46] net/wireless: ath9k: fix DMA API usage

2011-07-12 Thread Felix Fietkau
On 12.07.2011, at 17:55, Michał Mirosław mirq-li...@rere.qmqm.pl wrote: On Tue, Jul 12, 2011 at 12:36:06PM +0800, Felix Fietkau wrote: On 2011-07-11 8:52 AM, Michał Mirosław wrote: Also constify buf_addr for ath9k_hw_process_rxdesc_edma() to verify assumptions --- dma_sync_single_for_device()

Re: [ath9k-devel] [PATCH v2 07/46] net/wireless: ath9k: fix DMA API usage

2011-07-12 Thread Michał Mirosław
On Tue, Jul 12, 2011 at 08:54:32PM +0800, Felix Fietkau wrote: On 12.07.2011, at 17:55, Michał Mirosław mirq-li...@rere.qmqm.pl wrote: On Tue, Jul 12, 2011 at 12:36:06PM +0800, Felix Fietkau wrote: On 2011-07-11 8:52 AM, Michał Mirosław wrote: Also constify buf_addr for

Re: [ath9k-devel] ath9k causes lockups since kernel 2.6.35

2011-07-12 Thread Tony Houghton
On Mon, 27 Jun 2011 18:37:00 +0800 Adrian Chadd adr...@freebsd.org wrote: Camilo, Tony, etc: Please read this article and try what they're suggesting. It has to do with an APSM commit which has negatively impacted some users (eg by causing hangs.) Sound familiar? :)

Re: [ath9k-devel] [PATCH v2 07/46] net/wireless: ath9k: fix DMA API usage

2011-07-12 Thread Felix Fietkau
On 12.07.2011, at 21:03, Michał Mirosław mirq-li...@rere.qmqm.pl wrote: On Tue, Jul 12, 2011 at 08:54:32PM +0800, Felix Fietkau wrote: On 12.07.2011, at 17:55, Michał Mirosław mirq-li...@rere.qmqm.pl wrote: On Tue, Jul 12, 2011 at 12:36:06PM +0800, Felix Fietkau wrote: On 2011-07-11 8:52

Re: [ath9k-devel] ath9k causes lockups since kernel 2.6.35

2011-07-12 Thread Adrian Chadd
Hi! That's great news. Please create a couple of linux kernel bugzilla reports, one for each device. Someone related to the Debian project commented earlier on this bug; perhaps they'd like to be told too. thanks! I'm so very, very glad we all got to the bottom of this complete mess. (I'm glad

Re: [ath9k-devel] [PATCH v2 07/46] net/wireless: ath9k: fix DMA API usage

2011-07-12 Thread Michał Mirosław
On Tue, Jul 12, 2011 at 10:21:05PM +0800, Felix Fietkau wrote: On 12.07.2011, at 21:03, Michał Mirosław mirq-li...@rere.qmqm.pl wrote: On Tue, Jul 12, 2011 at 08:54:32PM +0800, Felix Fietkau wrote: On 12.07.2011, at 17:55, Michał Mirosław mirq-li...@rere.qmqm.pl wrote: On Tue, Jul 12,

Re: [ath9k-devel] [PATCH v2 07/46] net/wireless: ath9k: fix DMA API usage

2011-07-12 Thread Felix Fietkau
On 12.07.2011, at 23:58, Michał Mirosław mirq-li...@rere.qmqm.pl wrote: On Tue, Jul 12, 2011 at 10:21:05PM +0800, Felix Fietkau wrote: On 12.07.2011, at 21:03, Michał Mirosław mirq-li...@rere.qmqm.pl wrote: On Tue, Jul 12, 2011 at 08:54:32PM +0800, Felix Fietkau wrote: On 12.07.2011, at

Re: [ath9k-devel] ath9k causes lockups since kernel 2.6.35

2011-07-12 Thread Mohammed Shafi
On Tue, Jul 12, 2011 at 8:40 PM, Adrian Chadd adr...@freebsd.org wrote: Hi! That's great news. Please create a couple of linux kernel bugzilla reports, one for each device. Someone related to the Debian project commented earlier on this bug; perhaps they'd like to be told too. thanks!

Re: [ath9k-devel] [PATCH v2 07/46] net/wireless: ath9k: fix DMA API usage

2011-07-12 Thread Michał Mirosław
On Wed, Jul 13, 2011 at 12:04:50AM +0800, Felix Fietkau wrote: On 12.07.2011, at 23:58, Michał Mirosław mirq-li...@rere.qmqm.pl wrote: On Tue, Jul 12, 2011 at 10:21:05PM +0800, Felix Fietkau wrote: On 12.07.2011, at 21:03, Michał Mirosław mirq-li...@rere.qmqm.pl wrote: On Tue, Jul 12,

Re: [ath9k-devel] [PATCH v2 07/46] net/wireless: ath9k: fix DMA API usage

2011-07-12 Thread Michał Mirosław
On Tue, Jul 12, 2011 at 10:53:16PM +0200, Michał Mirosław wrote: In the case we're analysing, the ownership is on the device's side until it stops writing the buffer. Just to be clear, this should say: ... until it marks the buffer as done. Best Regards, Michał Mirosław

[ath9k-devel] 802.11n PCI-E 300Mbps with AP mode?

2011-07-12 Thread Grant
Is there an 802.11n PCI-E ath9k card available that does 300Mbps and works in AP mode? - Grant ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Re: [ath9k-devel] 802.11n PCI-E 300Mbps with AP mode?

2011-07-12 Thread Adrian Chadd
All the 2x2 AR9280 (2/5ghz) and AR9287 (2ghz) NICs. adrian On 13 July 2011 06:10, Grant emailgr...@gmail.com wrote: Is there an 802.11n PCI-E ath9k card available that does 300Mbps and works in AP mode? - Grant ___ ath9k-devel mailing list

Re: [ath9k-devel] 802.11n PCI-E 300Mbps with AP mode?

2011-07-12 Thread Grant
It sounds like you are looking for a PCIe, not miniPCIe solution. If that is the case, it may be easiest to buy a PCIe to miniPCIe adaptor card off eBay for about $10 (US), then buy whatever miniPCIe card you like as there are a lot more models available in that form factor. A favorite of

Re: [ath9k-devel] 802.11n PCI-E 300Mbps with AP mode?

2011-07-12 Thread Galen
It sounds like you are looking for a PCIe, not miniPCIe solution. If that is the case, it may be easiest to buy a PCIe to miniPCIe adaptor card off eBay for about $10 (US), then buy whatever miniPCIe card you like as there are a lot more models available in that form factor. A favorite of mine

Re: [ath9k-devel] 802.11n PCI-E 300Mbps with AP mode?

2011-07-12 Thread Adrian Chadd
Again, anything with an AR9280 on board will be fine. Some of the antenna arrangements though are a bit .. special. Adrian On 13 July 2011 09:20, Grant emailgr...@gmail.com wrote: It sounds like you are looking for a PCIe, not miniPCIe solution. If that is the case, it may be easiest to buy