From mboxrd@z Thu Jan 1 00:00:00 1970 From: Date: Thu, 07 Apr 2011 05:55:38 -0000 Subject: No subject Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org ------------------------------- Device Instance Id: PCI\VEN_168C&DEV_0030&SUBSYS_3116168C&REV_01\4&492937F&0&00E2 Hardware Ids: PCI\VEN_168C&DEV_0030&SUBSYS_3116168C&REV_01 PCI\VEN_168C&DEV_0030&SUBSYS_3116168C PCI\VEN_168C&DEV_0030&CC_028000 PCI\VEN_168C&DEV_0030&CC_0280 Compatible Ids: PCI\VEN_168C&DEV_0030&REV_01 PCI\VEN_168C&DEV_0030 PCI\VEN_168C&CC_028000 PCI\VEN_168C&CC_0280 PCI\VEN_168C PCI\CC_028000 PCI\CC_0280 Matching Device Id: pci\ven_168c&dev_0030&subsys_3116168c Here is the interesting bit, when I first hooked this card I booted my= machine in Ubuntu I saw the same 168c:ABCD. After using it under Window= s, I booted in to Linux today and found that it is reporting the expecte= d IDs. Now ath9k works right out of the box, no Vendor ID hacking requir= ed. I am using it as station right now. The other card is in a different= machine. I will try to swap the cards to verify my theory. I am thinkin= g the Windows driver applied a firmware update to the card. Or, the othe= r card skipped quality checks and has bogus EEPROM data. Any thoughts? 0e:00.0 Network controller [0280]: Atheros Communications Inc. AR9300= Wireless LAN adaptor [168c:0030] (rev 01) lspci -vvvnn returns 0e:00.0 Network controller [0280]: Atheros Communications Inc. AR9300= Wireless LAN adaptor [168c:0030] (rev 01) Subsystem: Atheros Communications Inc. Device [168c:3116] Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Ste= pping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=3Dfast >TAbort- SERR- Kernel driver in use: ath9k Kernel modules: ath9k Hasan R. -----Original Message----- From: Mohammed Shafi [mailto:shafi.ath9k at gmail.com]=20 Sent: Tuesday, April 12, 2011 7:47 AM To: Hasan Rashid Cc: ath9k-devel at lists.ath9k.org Subject: Re: [ath9k-devel] Sparklan WPEA-121N AR9382 168c:abcd On Mon, Apr 11, 2011 at 11:24 PM, Hasan Rashid = wrote: > > I have attached the driver load output in dmesg. > > By the way why does AR9382 require Kernel 2.6.36 or higher? Can you=20 > list the major requirements? because the hardware code(HAL) will be present from that kernel version= only. > > Hasan R. > > -----Original Message----- > From: ath9k-devel-bounces at lists.ath9k.org > [mailto:ath9k-devel-bounces at lists.ath9k.org] On Behalf Of Peter Stuge > Sent: Monday, April 11, 2011 12:20 PM > To: ath9k-devel at lists.ath9k.org > Subject: Re: [ath9k-devel] Sparklan WPEA-121N AR9382 168c:abcd > > Mohammed Shafi wrote: >> to make sure that HT is configured in driver please do this >> >> diff --git a/drivers/net/wireless/ath/ath9k/hw.c >> b/drivers/net/wireless/ath/ath9k/hw.c >> index 1b5bd13..720a866 100644 >> --- a/drivers/net/wireless/ath/ath9k/hw.c >> +++ b/drivers/net/wireless/ath/ath9k/hw.c >> @@ -1855,6 +1855,8 @@ int ath9k_hw_fill_cap_info(struct ath_hw *ah) >> =A0 =A0 =A0 =A0 else >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 pCap->hw_caps &=3D ~ATH9K_HW_CAP_HT; >> >> + =A0 =A0 =A0 =A0 =A0 =A0 =A0 pCap->hw_caps |=3D ATH9K_HW_CAP_HT; >> + > > The indentation is off, or do you mean to include the added line only=20 > within the else block? If so, remember to add braces. > > > //Peter > _______________________________________________ > ath9k-devel mailing list > ath9k-devel at lists.ath9k.org > https://lists.ath9k.org/mailman/listinfo/ath9k-devel > > This communication contains information that may be confidential or=20 > privileged. The information is solely intended for the use of the addr= essee. If you are not the intended recipient, be advised that any disclo= sure, copy, distribution, or use of the contents of this communication= is prohibited. If you have received this communication in error, please= immediately notify the sender by telephone or by electronic mail. > _______________________________________________ > ath9k-devel mailing list > ath9k-devel at lists.ath9k.org > https://lists.ath9k.org/mailman/listinfo/ath9k-devel > > This communication contains information that may be confidential or priv= ileged. The information is solely intended for the use of the addressee.= If you are not the intended recipient, be advised that any disclosure,= copy, distribution, or use of the contents of this communication is pro= hibited. If you have received this communication in error, please immediately notify the sender by telephone or by electroni= c mail. ------_=_NextPart_001_01CBF922.E6EB9838 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: [ath9k-devel] Sparklan WPEA-121N AR9382 168c:abcd

I put another Sparklan card in a Windows XP machine= and following are the device ids reported by the Atheros driver on Wind= ows. It seems it is reporting the correct 0x168c, and 0x0030.