mbox series

[00/10] BCM4387 / Apple M1 platform support

Message ID 20230214091651.10178-1-marcan@marcan.st (mailing list archive)
Headers show
Series BCM4387 / Apple M1 platform support | expand

Message

Hector Martin Feb. 14, 2023, 9:16 a.m. UTC
Hi all,

This series adds the missing bits to support the BCM4387 found in newer
Apple Silicon platforms and its Apple firmware.

* Patches 1-2 add support for hardware oddities of these chips.
* Patches 3-6 add support for firmware oddities of these chips.
* Patch 7 adds the IDs themselves
* Patches 8-10 add support for Apple oddities (also applicable to other
  chips already upstreamed, but which are still missing this
  functionality).

These patches were already reviewed last year as part of v2 of the
`brcmfmac: Support Apple T2 and M1 platforms` series. This version
just incorporates a few bits of review feedback from that last round,
plus rebasing. In particular, I checked that the patches do not
introduce any cfg80211.c endiannness warnings with make C=2.

Hector Martin (10):
  brcmfmac: chip: Only disable D11 cores; handle an arbitrary number
  brcmfmac: chip: Handle 1024-unit sizes for TCM blocks
  brcmfmac: cfg80211: Add support for scan params v2
  brcmfmac: feature: Add support for setting feats based on WLC version
  brcmfmac: cfg80211: Add support for PMKID_V3 operations
  brcmfmac: cfg80211: Pass the PMK in binary instead of hex
  brcmfmac: pcie: Add IDs/properties for BCM4387
  brcmfmac: common: Add support for downloading TxCap blobs
  brcmfmac: pcie: Load and provide TxCap blobs
  brcmfmac: common: Add support for external calibration blobs

 .../broadcom/brcm80211/brcmfmac/bus.h         |   1 +
 .../broadcom/brcm80211/brcmfmac/cfg80211.c    | 310 ++++++++++++------
 .../broadcom/brcm80211/brcmfmac/chip.c        |  25 +-
 .../broadcom/brcm80211/brcmfmac/common.c      | 117 +++++--
 .../broadcom/brcm80211/brcmfmac/common.h      |   2 +
 .../broadcom/brcm80211/brcmfmac/feature.c     |  49 +++
 .../broadcom/brcm80211/brcmfmac/feature.h     |   6 +-
 .../broadcom/brcm80211/brcmfmac/fwil_types.h  | 157 ++++++++-
 .../wireless/broadcom/brcm80211/brcmfmac/of.c |   7 +
 .../broadcom/brcm80211/brcmfmac/pcie.c        |  21 ++
 .../broadcom/brcm80211/include/brcm_hw_ids.h  |   2 +
 11 files changed, 567 insertions(+), 130 deletions(-)