Hi,

I am afraid whether AR9285 chip can generate MSI at all, although it shows MSI 
capability structure at the time of enumeration. In continuation to my previous 
mail here goes my observation:
Even if MSI is enabled; MSI (a kind of PCIe Mem WR TLP) interrupt is not 
generated by AR9285 at the time of iwlist wlan0 scan. I have tested this part 
through PCIe protocol analyzer. Have anybody worked with some later on cards 
like AR9340 or AR9380? If yes, can it be checked whether they are actually 
working with MSI?

Thanks and Regards,
Sucheta
-----Original Message-----
From: Sucheta ROY 
Sent: Wednesday, May 18, 2011 9:58 AM
To: 'Adrian Chadd'; ath9k-devel@lists.ath9k.org
Subject: RE: [ath9k-devel] AR9285 MSI

Hi,

Thanks to all for your response. The limitation of my platform is it only 
supports MSI and does not support legacy interrupt. I am using with AR9285 card 
and in 
reg.h:

#define AR_PCIE_MSI                              0x4094
#define AR_PCIE_MSI_ENABLE                       0x00000001   

are defined.

I have also called "pci_enable_msi(pdev)" before request_irq(...) in pci.c file 
of ath9K. 
Wlan0 is detected, when I do cat /proc/interrupts it shows PCIe_MSI for ath9K 
in the interrupt lists.But the problem is wlan0 cannot scan any WiFi network 
around. When I use the same AR9285 card on some other platform which supports 
legacy interrupt scan works OK.

Kindly provide your suggestions.

Thanks and Regards,
Sucheta

-----Original Message-----
From: ath9k-devel-boun...@lists.ath9k.org 
[mailto:ath9k-devel-boun...@lists.ath9k.org] On Behalf Of Adrian Chadd
Sent: Wednesday, May 18, 2011 7:45 AM
To: ath9k-devel@lists.ath9k.org
Subject: Re: [ath9k-devel] AR9285 MSI

On 18 May 2011 09:09, Peter Stuge <pe...@stuge.se> wrote:
> Mohammed Shafi wrote:
>> bits 8:4 MSI Interrupt vector
>
> Cool!
>
>
>> but several things need to be addressed before enabling this interrupt
>
> Which ones?

Is MSI really that important just yet? :-) An AR9285 is only going to
be doing up to 150mbit of traffic. The MACs on AR5416 and later have
interrupt mitigation (and its enabled in ath9k.)

I mean, MSI would be cool, but there's other things to try and nut out
first, no? :)


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

Reply via email to