brcmfmac: Add USB ID for Cisco Linksys AE1200
authorIsmael Luceno <ismael@iodev.co.uk>
Mon, 22 Aug 2016 22:40:07 +0000 (19:40 -0300)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 3 Sep 2016 17:01:03 +0000 (20:01 +0300)
The AE1200 comes with different revisions of the BCM43235 chipset,
but all have the same USB ID. Only revision 3 can be supported.

Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c
drivers/net/wireless/broadcom/brcm80211/include/brcm_hw_ids.h

index fa26619a7945d96dd0121ff127ffc387d72d2f49..2f978a39b58a49485209f1da9f4f1a5c22647307 100644 (file)
@@ -1458,11 +1458,15 @@ static int brcmf_usb_reset_resume(struct usb_interface *intf)
 #define BRCMF_USB_DEVICE(dev_id)       \
        { USB_DEVICE(BRCM_USB_VENDOR_ID_BROADCOM, dev_id) }
 
+#define LINKSYS_USB_DEVICE(dev_id)     \
+       { USB_DEVICE(BRCM_USB_VENDOR_ID_LINKSYS, dev_id) }
+
 static struct usb_device_id brcmf_usb_devid_table[] = {
        BRCMF_USB_DEVICE(BRCM_USB_43143_DEVICE_ID),
        BRCMF_USB_DEVICE(BRCM_USB_43236_DEVICE_ID),
        BRCMF_USB_DEVICE(BRCM_USB_43242_DEVICE_ID),
        BRCMF_USB_DEVICE(BRCM_USB_43569_DEVICE_ID),
+       LINKSYS_USB_DEVICE(BRCM_USB_43235_LINKSYS_DEVICE_ID),
        { USB_DEVICE(BRCM_USB_VENDOR_ID_LG, BRCM_USB_43242_LG_DEVICE_ID) },
        /* special entry for device with firmware loaded and running */
        BRCMF_USB_DEVICE(BRCM_USB_BCMFW_DEVICE_ID),
index 3cc42bef6245529c37320f0ec6ab5e7b77f1d2f6..d0407d9ad7827cd756b6311410ffe2d9a7cacc78 100644 (file)
@@ -22,6 +22,7 @@
 
 #define BRCM_USB_VENDOR_ID_BROADCOM    0x0a5c
 #define BRCM_USB_VENDOR_ID_LG          0x043e
+#define BRCM_USB_VENDOR_ID_LINKSYS     0x13b1
 #define BRCM_PCIE_VENDOR_ID_BROADCOM   PCI_VENDOR_ID_BROADCOM
 
 /* Chipcommon Core Chip IDs */
@@ -58,6 +59,7 @@
 
 /* USB Device IDs */
 #define BRCM_USB_43143_DEVICE_ID       0xbd1e
+#define BRCM_USB_43235_LINKSYS_DEVICE_ID       0x0039
 #define BRCM_USB_43236_DEVICE_ID       0xbd17
 #define BRCM_USB_43242_DEVICE_ID       0xbd1f
 #define BRCM_USB_43242_LG_DEVICE_ID    0x3101