351-0034-brcmfmac-Add-USB-ID-for-Cisco-Linksys-AE1200.patch 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. From bccf3ffc8c6d8e0251a15541bb4d12b423c4f729 Mon Sep 17 00:00:00 2001
  2. From: Ismael Luceno <ismael@iodev.co.uk>
  3. Date: Mon, 22 Aug 2016 19:40:07 -0300
  4. Subject: [PATCH] brcmfmac: Add USB ID for Cisco Linksys AE1200
  5. The AE1200 comes with different revisions of the BCM43235 chipset,
  6. but all have the same USB ID. Only revision 3 can be supported.
  7. Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
  8. Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
  9. ---
  10. drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c | 4 ++++
  11. drivers/net/wireless/broadcom/brcm80211/include/brcm_hw_ids.h | 2 ++
  12. 2 files changed, 6 insertions(+)
  13. --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c
  14. +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c
  15. @@ -1456,11 +1456,15 @@ static int brcmf_usb_reset_resume(struct
  16. #define BRCMF_USB_DEVICE(dev_id) \
  17. { USB_DEVICE(BRCM_USB_VENDOR_ID_BROADCOM, dev_id) }
  18. +#define LINKSYS_USB_DEVICE(dev_id) \
  19. + { USB_DEVICE(BRCM_USB_VENDOR_ID_LINKSYS, dev_id) }
  20. +
  21. static struct usb_device_id brcmf_usb_devid_table[] = {
  22. BRCMF_USB_DEVICE(BRCM_USB_43143_DEVICE_ID),
  23. BRCMF_USB_DEVICE(BRCM_USB_43236_DEVICE_ID),
  24. BRCMF_USB_DEVICE(BRCM_USB_43242_DEVICE_ID),
  25. BRCMF_USB_DEVICE(BRCM_USB_43569_DEVICE_ID),
  26. + LINKSYS_USB_DEVICE(BRCM_USB_43235_LINKSYS_DEVICE_ID),
  27. { USB_DEVICE(BRCM_USB_VENDOR_ID_LG, BRCM_USB_43242_LG_DEVICE_ID) },
  28. /* special entry for device with firmware loaded and running */
  29. BRCMF_USB_DEVICE(BRCM_USB_BCMFW_DEVICE_ID),
  30. --- a/drivers/net/wireless/broadcom/brcm80211/include/brcm_hw_ids.h
  31. +++ b/drivers/net/wireless/broadcom/brcm80211/include/brcm_hw_ids.h
  32. @@ -22,6 +22,7 @@
  33. #define BRCM_USB_VENDOR_ID_BROADCOM 0x0a5c
  34. #define BRCM_USB_VENDOR_ID_LG 0x043e
  35. +#define BRCM_USB_VENDOR_ID_LINKSYS 0x13b1
  36. #define BRCM_PCIE_VENDOR_ID_BROADCOM PCI_VENDOR_ID_BROADCOM
  37. /* Chipcommon Core Chip IDs */
  38. @@ -56,6 +57,7 @@
  39. /* USB Device IDs */
  40. #define BRCM_USB_43143_DEVICE_ID 0xbd1e
  41. +#define BRCM_USB_43235_LINKSYS_DEVICE_ID 0x0039
  42. #define BRCM_USB_43236_DEVICE_ID 0xbd17
  43. #define BRCM_USB_43242_DEVICE_ID 0xbd1f
  44. #define BRCM_USB_43242_LG_DEVICE_ID 0x3101