diff mbox

ath10k: Add support for Compex WLE900VX 7AA

Message ID 1427549741-20669-1-git-send-email-kristian.evensen@gmail.com (mailing list archive)
State Not Applicable
Delegated to: Kalle Valo
Headers show

Commit Message

Kristian Evensen March 28, 2015, 1:35 p.m. UTC
From: Kristian Evensen <kristian.evensen@gmail.com>

Add support for the dual-band Compex WLE900VX 7AA card, which uses the ath10k
chipset. According to dmesg output, it is delivered with version 2.0 of qca988x.
All supported modes (a/b/g/n/ac) has worked fine in my quick tests.

Signed-off-by: Kristian Evensen <kristian.evensen@gmail.com>
---
 drivers/net/wireless/ath/ath10k/pci.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/drivers/net/wireless/ath/ath10k/pci.c b/drivers/net/wireless/ath/ath10k/pci.c
index 7681237..8de8349 100644
--- a/drivers/net/wireless/ath/ath10k/pci.c
+++ b/drivers/net/wireless/ath/ath10k/pci.c
@@ -57,12 +57,14 @@  MODULE_PARM_DESC(reset_mode, "0: auto, 1: warm only (default: 0)");
 #define ATH10K_PCI_TARGET_WAIT 3000
 #define ATH10K_PCI_NUM_WARM_RESET_ATTEMPTS 3
 
-#define QCA988X_2_0_DEVICE_ID	(0x003c)
-#define QCA6174_2_1_DEVICE_ID	(0x003e)
+#define QCA988X_2_0_DEVICE_ID		(0x003c)
+#define QCA6174_2_1_DEVICE_ID		(0x003e)
+#define COMPEX_WLE900VX_7AA_DEVICE_ID	(0xabcd)
 
 static const struct pci_device_id ath10k_pci_id_table[] = {
 	{ PCI_VDEVICE(ATHEROS, QCA988X_2_0_DEVICE_ID) }, /* PCI-E QCA988X V2 */
 	{ PCI_VDEVICE(ATHEROS, QCA6174_2_1_DEVICE_ID) }, /* PCI-E QCA6174 V2.1 */
+	{ PCI_VDEVICE(ATHEROS, COMPEX_WLE900VX_7AA_DEVICE_ID) },
 	{0}
 };