Add basic support for 3rd party Broadcom chipsets

Not officially supported as never shipped in any official Mac, however adding to simplify non-standard hardware support (ex. Hackintoshes)
This commit is contained in:
Mykola Grymalyuk
2023-09-26 07:32:08 -06:00
parent ed78b5632c
commit dad8d1224a
3 changed files with 29 additions and 14 deletions

View File

@@ -568,7 +568,12 @@ class DetectRootPatch:
if (
isinstance(self.constants.computer.wifi, device_probe.Broadcom)
and self.constants.computer.wifi.chipset in [device_probe.Broadcom.Chipsets.AirPortBrcm4360, device_probe.Broadcom.Chipsets.AirportBrcmNIC]):
and self.constants.computer.wifi.chipset in [
device_probe.Broadcom.Chipsets.AirPortBrcm4360,
device_probe.Broadcom.Chipsets.AirportBrcmNIC,
# We don't officially support this chipset, however we'll throw a bone to hackintosh users
device_probe.Broadcom.Chipsets.AirPortBrcmNICThirdParty,
]):
if self.constants.detected_os > os_data.os_data.ventura:
self.modern_wifi = True
self.amfi_shim_bins = True