Re: [ath9k-devel] AR9380 MSI

2011-07-01 Thread Sucheta ROY
, Sucheta -Original Message- From: ath9k-devel-boun...@lists.ath9k.org [mailto:ath9k-devel-boun...@lists.ath9k.org] On Behalf Of Alex Hacker Sent: Thursday, June 30, 2011 10:21 AM To: Matevz Langus Cc: ath9k-de...@venema.h4ckr.net Subject: Re: [ath9k-devel] AR9380 MSI I'd not work with MSI

Re: [ath9k-devel] AR9380 MSI

2011-07-01 Thread Matevz Langus
Hi, I can also give back some info, might be interesting for someone. I tried AR9382 and enabled MSI and got some results of WiFi scan (but not all networks were found). The number of interrupts per scan in the same environment was much smaller than the number when using legacy INTa over PCIE.

Re: [ath9k-devel] AR9380 MSI

2011-06-29 Thread Matevz Langus
Hello, I have tried the same thing as you did on Freescale P1020 processor (Power architecture) using 2.6.39.1 and I am getting some results when performing scanning. Before enabling MSI in ath9k pci.c, I newer got any scan results. But now when enabled I am getting at least 1 network very

Re: [ath9k-devel] AR9380 MSI

2011-06-29 Thread Alex Hacker
I'd not work with MSI and our Atheros based hardware do not require it. I only have a AR9380 based card and done some tests on standard PC for Sucheta ROY. I haavn't much knowlege how the MSI is processed in Linux kernel, but it seems not working with AR9380 without some special setup in hardware.

Re: [ath9k-devel] AR9380 MSI

2011-05-20 Thread Sucheta ROY
Message- From: ath9k-devel-boun...@lists.ath9k.org [mailto:ath9k-devel-boun...@lists.ath9k.org] On Behalf Of Alex Hacker Sent: Thursday, May 19, 2011 5:47 PM To: ath9k-de...@venema.h4ckr.net Subject: Re: [ath9k-devel] AR9380 MSI On Thu, May 19, 2011 at 04:35:59PM +0800, Sucheta ROY wrote: Hi, I

Re: [ath9k-devel] AR9380 MSI

2011-05-20 Thread Alex Hacker
Hello, On Fri, May 20, 2011 at 05:30:27PM +0800, Sucheta ROY wrote: Hi, Whatever you have done looks OK to me. Can you please let me know: 1. #define AR_PCIE_MSI and #define AR_PCIE_MSI_ENABLE part in reg.h file. #define AR_PCIE_MSI(AR_SREV_9300_20_OR_LATER(ah) ? 0x40a4 : 0x4094)

Re: [ath9k-devel] AR9380 MSI

2011-05-19 Thread Sucheta ROY
Hi, I believe you have AR9380 card installed in your PC? You have to build your kernel with CONFIG_PCI_MSI option enabled. CONFIG_PCI_MSI Depends on: PCI [=y] ARCH_SUPPORTS_MSI [=y]. Also you have to include int pci_enable_msi(struct pci_dev *dev) function in pci.c file of ath9k. This

Re: [ath9k-devel] AR9380 MSI

2011-05-19 Thread Sucheta ROY
: [ath9k-devel] AR9380 MSI Hi, I have an AR9382 card (SparkLAN WPEA-121N, 168c:3116 ) in an Lenovo R500 laptop. pci_enable_msi returns zero, and the card seems to work fine. There are lspci outputs below. Hope that helps. lspci output without pci_enable_msi: 03:00.0 Network controller: Atheros

Re: [ath9k-devel] AR9380 MSI

2011-05-19 Thread Alex Hacker
On Thu, May 19, 2011 at 04:35:59PM +0800, Sucheta ROY wrote: Hi, I believe you have AR9380 card installed in your PC? You have to build your kernel with CONFIG_PCI_MSI option enabled. CONFIG_PCI_MSI Depends on: PCI [=y] ARCH_SUPPORTS_MSI [=y]. Also you have to include int

Re: [ath9k-devel] AR9380 MSI

2011-05-19 Thread Falk-Moritz Schaefer
...@venema.h4ckr.net Subject: RE: [ath9k-devel] AR9380 MSI Hi, Thanks a lot for your efforts. It's great news for me. After you enable pci_enable_msi have you checked cat /proc/interrupts? What does it show? And do you confirm that the WiFi card works successfully that is able to scan WiFi networks after