* [PATCH] ath9k: Identify Killer Wireless cards
@ 2013-10-23 9:16 Sujith Manoharan
2013-10-23 13:57 ` voncken
0 siblings, 1 reply; 7+ messages in thread
From: Sujith Manoharan @ 2013-10-23 9:16 UTC (permalink / raw)
To: John Linville; +Cc: linux-wireless
From: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
---
drivers/net/wireless/ath/ath9k/ath9k.h | 1 +
drivers/net/wireless/ath/ath9k/init.c | 3 +++
drivers/net/wireless/ath/ath9k/pci.c | 20 ++++++++++++++++++++
3 files changed, 24 insertions(+)
diff --git a/drivers/net/wireless/ath/ath9k/ath9k.h b/drivers/net/wireless/ath/ath9k/ath9k.h
index 4c3bbe4..f48cfe8 100644
--- a/drivers/net/wireless/ath/ath9k/ath9k.h
+++ b/drivers/net/wireless/ath/ath9k/ath9k.h
@@ -641,6 +641,7 @@ void ath_ant_comb_scan(struct ath_softc *sc, struct ath_rx_status *rs);
#define ATH9K_PCI_D3_L1_WAR 0x0040
#define ATH9K_PCI_AR9565_1ANT 0x0080
#define ATH9K_PCI_AR9565_2ANT 0x0100
+#define ATH9K_PCI_KILLER 0x0200
/*
* Default cache line size, in bytes.
diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c
index e89db64..17502b4 100644
--- a/drivers/net/wireless/ath/ath9k/init.c
+++ b/drivers/net/wireless/ath/ath9k/init.c
@@ -589,6 +589,9 @@ static void ath9k_init_platform(struct ath_softc *sc)
if (sc->driver_data & ATH9K_PCI_AR9565_2ANT)
ath_info(common, "WB335 2-ANT card detected\n");
+ if (sc->driver_data & ATH9K_PCI_KILLER)
+ ath_info(common, "Killer Wireless card detected\n");
+
/*
* Some WB335 cards do not support antenna diversity. Since
* we use a hardcoded value for AR9565 instead of using the
diff --git a/drivers/net/wireless/ath/ath9k/pci.c b/drivers/net/wireless/ath/ath9k/pci.c
index 04e6507..4a7a456 100644
--- a/drivers/net/wireless/ath/ath9k/pci.c
+++ b/drivers/net/wireless/ath/ath9k/pci.c
@@ -87,6 +87,19 @@ static DEFINE_PCI_DEVICE_TABLE(ath_pci_id_table) = {
{ PCI_VDEVICE(ATHEROS, 0x002C) }, /* PCI-E 802.11n bonded out */
{ PCI_VDEVICE(ATHEROS, 0x002D) }, /* PCI */
{ PCI_VDEVICE(ATHEROS, 0x002E) }, /* PCI-E */
+
+ /* Killer Wireless (3x3) */
+ { PCI_DEVICE_SUB(PCI_VENDOR_ID_ATHEROS,
+ 0x0030,
+ 0x1A56,
+ 0x2000),
+ .driver_data = ATH9K_PCI_KILLER },
+ { PCI_DEVICE_SUB(PCI_VENDOR_ID_ATHEROS,
+ 0x0030,
+ 0x1A56,
+ 0x2001),
+ .driver_data = ATH9K_PCI_KILLER },
+
{ PCI_VDEVICE(ATHEROS, 0x0030) }, /* PCI-E AR9300 */
/* PCI-E CUS198 */
@@ -267,6 +280,13 @@ static DEFINE_PCI_DEVICE_TABLE(ath_pci_id_table) = {
0x1783),
.driver_data = ATH9K_PCI_WOW },
+ /* Killer Wireless (2x2) */
+ { PCI_DEVICE_SUB(PCI_VENDOR_ID_ATHEROS,
+ 0x0030,
+ 0x1A56,
+ 0x2003),
+ .driver_data = ATH9K_PCI_KILLER },
+
{ PCI_VDEVICE(ATHEROS, 0x0034) }, /* PCI-E AR9462 */
{ PCI_VDEVICE(ATHEROS, 0x0037) }, /* PCI-E AR1111/AR9485 */
--
1.8.4.1
^ permalink raw reply related [flat|nested] 7+ messages in thread* RE: [PATCH] ath9k: Identify Killer Wireless cards
2013-10-23 9:16 [PATCH] ath9k: Identify Killer Wireless cards Sujith Manoharan
@ 2013-10-23 13:57 ` voncken
2013-10-23 14:57 ` Sujith Manoharan
0 siblings, 1 reply; 7+ messages in thread
From: voncken @ 2013-10-23 13:57 UTC (permalink / raw)
To: 'Sujith Manoharan', 'John Linville'; +Cc: linux-wireless
What is a PCI killer ?
Cedric Voncken
> -----Message d'origine-----
> De : linux-wireless-owner@vger.kernel.org [mailto:linux-wireless-
> owner@vger.kernel.org] De la part de Sujith Manoharan
> Envoyé : mercredi 23 octobre 2013 11:16
> À : John Linville
> Cc : linux-wireless@vger.kernel.org
> Objet : [PATCH] ath9k: Identify Killer Wireless cards
>
> From: Sujith Manoharan <c_manoha@qca.qualcomm.com>
>
> Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
> ---
> drivers/net/wireless/ath/ath9k/ath9k.h | 1 +
> drivers/net/wireless/ath/ath9k/init.c | 3 +++
> drivers/net/wireless/ath/ath9k/pci.c | 20 ++++++++++++++++++++
> 3 files changed, 24 insertions(+)
>
> diff --git a/drivers/net/wireless/ath/ath9k/ath9k.h
> b/drivers/net/wireless/ath/ath9k/ath9k.h
> index 4c3bbe4..f48cfe8 100644
> --- a/drivers/net/wireless/ath/ath9k/ath9k.h
> +++ b/drivers/net/wireless/ath/ath9k/ath9k.h
> @@ -641,6 +641,7 @@ void ath_ant_comb_scan(struct ath_softc *sc, struct
> ath_rx_status *rs);
> #define ATH9K_PCI_D3_L1_WAR 0x0040
> #define ATH9K_PCI_AR9565_1ANT 0x0080
> #define ATH9K_PCI_AR9565_2ANT 0x0100
> +#define ATH9K_PCI_KILLER 0x0200
>
> /*
> * Default cache line size, in bytes.
> diff --git a/drivers/net/wireless/ath/ath9k/init.c
> b/drivers/net/wireless/ath/ath9k/init.c
> index e89db64..17502b4 100644
> --- a/drivers/net/wireless/ath/ath9k/init.c
> +++ b/drivers/net/wireless/ath/ath9k/init.c
> @@ -589,6 +589,9 @@ static void ath9k_init_platform(struct ath_softc *sc)
> if (sc->driver_data & ATH9K_PCI_AR9565_2ANT)
> ath_info(common, "WB335 2-ANT card detected\n");
>
> + if (sc->driver_data & ATH9K_PCI_KILLER)
> + ath_info(common, "Killer Wireless card detected\n");
> +
> /*
> * Some WB335 cards do not support antenna diversity. Since
> * we use a hardcoded value for AR9565 instead of using the diff
--git
> a/drivers/net/wireless/ath/ath9k/pci.c
> b/drivers/net/wireless/ath/ath9k/pci.c
> index 04e6507..4a7a456 100644
> --- a/drivers/net/wireless/ath/ath9k/pci.c
> +++ b/drivers/net/wireless/ath/ath9k/pci.c
> @@ -87,6 +87,19 @@ static DEFINE_PCI_DEVICE_TABLE(ath_pci_id_table) =
> {
> { PCI_VDEVICE(ATHEROS, 0x002C) }, /* PCI-E 802.11n bonded out */
> { PCI_VDEVICE(ATHEROS, 0x002D) }, /* PCI */
> { PCI_VDEVICE(ATHEROS, 0x002E) }, /* PCI-E */
> +
> + /* Killer Wireless (3x3) */
> + { PCI_DEVICE_SUB(PCI_VENDOR_ID_ATHEROS,
> + 0x0030,
> + 0x1A56,
> + 0x2000),
> + .driver_data = ATH9K_PCI_KILLER },
> + { PCI_DEVICE_SUB(PCI_VENDOR_ID_ATHEROS,
> + 0x0030,
> + 0x1A56,
> + 0x2001),
> + .driver_data = ATH9K_PCI_KILLER },
> +
> { PCI_VDEVICE(ATHEROS, 0x0030) }, /* PCI-E AR9300 */
>
> /* PCI-E CUS198 */
> @@ -267,6 +280,13 @@ static
> DEFINE_PCI_DEVICE_TABLE(ath_pci_id_table) = {
> 0x1783),
> .driver_data = ATH9K_PCI_WOW },
>
> + /* Killer Wireless (2x2) */
> + { PCI_DEVICE_SUB(PCI_VENDOR_ID_ATHEROS,
> + 0x0030,
> + 0x1A56,
> + 0x2003),
> + .driver_data = ATH9K_PCI_KILLER },
> +
> { PCI_VDEVICE(ATHEROS, 0x0034) }, /* PCI-E AR9462 */
> { PCI_VDEVICE(ATHEROS, 0x0037) }, /* PCI-E AR1111/AR9485 */
>
> --
> 1.8.4.1
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless"
in the
> body of a message to majordomo@vger.kernel.org More majordomo info at
> http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 7+ messages in thread* RE: [PATCH] ath9k: Identify Killer Wireless cards
2013-10-23 13:57 ` voncken
@ 2013-10-23 14:57 ` Sujith Manoharan
2013-10-23 15:54 ` Ben Greear
2013-10-23 16:46 ` Karl Beldan
0 siblings, 2 replies; 7+ messages in thread
From: Sujith Manoharan @ 2013-10-23 14:57 UTC (permalink / raw)
To: voncken; +Cc: 'John Linville', linux-wireless
voncken wrote:
> What is a PCI killer ?
http://www.killergaming.com/solutions/Wireless
http://www.qca.qualcomm.com/networking/feature.php?feature=32
Sujith
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] ath9k: Identify Killer Wireless cards
2013-10-23 14:57 ` Sujith Manoharan
@ 2013-10-23 15:54 ` Ben Greear
2013-10-23 16:09 ` Larry Finger
2013-10-23 16:46 ` Karl Beldan
1 sibling, 1 reply; 7+ messages in thread
From: Ben Greear @ 2013-10-23 15:54 UTC (permalink / raw)
To: Sujith Manoharan; +Cc: voncken, 'John Linville', linux-wireless
On 10/23/2013 07:57 AM, Sujith Manoharan wrote:
> voncken wrote:
>> What is a PCI killer ?
>
> http://www.killergaming.com/solutions/Wireless
> http://www.qca.qualcomm.com/networking/feature.php?feature=32
Bummer. I thought you had finally found a way to blacklist the
NICs that cause all of the strange ath9k bugs :)
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] ath9k: Identify Killer Wireless cards
2013-10-23 14:57 ` Sujith Manoharan
2013-10-23 15:54 ` Ben Greear
@ 2013-10-23 16:46 ` Karl Beldan
2013-10-24 3:30 ` Sujith Manoharan
1 sibling, 1 reply; 7+ messages in thread
From: Karl Beldan @ 2013-10-23 16:46 UTC (permalink / raw)
To: Sujith Manoharan; +Cc: voncken, 'John Linville', linux-wireless
On Wed, Oct 23, 2013 at 08:27:24PM +0530, Sujith Manoharan wrote:
> voncken wrote:
> > What is a PCI killer ?
>
> http://www.killergaming.com/solutions/Wireless
> http://www.qca.qualcomm.com/networking/feature.php?feature=32
>
Jokes apart, the links do not give much technical information ..
Karl
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2013-10-24 3:34 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-23 9:16 [PATCH] ath9k: Identify Killer Wireless cards Sujith Manoharan
2013-10-23 13:57 ` voncken
2013-10-23 14:57 ` Sujith Manoharan
2013-10-23 15:54 ` Ben Greear
2013-10-23 16:09 ` Larry Finger
2013-10-23 16:46 ` Karl Beldan
2013-10-24 3:30 ` Sujith Manoharan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).