mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-20 14:10:51 +10:00
sys_patch: Implement legacy wifi support for Ventura
This commit is contained in:
@@ -2,6 +2,10 @@
|
|||||||
|
|
||||||
## 0.5.4
|
## 0.5.4
|
||||||
- Resolve external NVMe reporting regression from 0.5.2
|
- Resolve external NVMe reporting regression from 0.5.2
|
||||||
|
- Implement Legacy Wireless support for Ventura
|
||||||
|
- Applicable for BCM94328, BCM94322 and Atheros chipsets
|
||||||
|
- Increment Binaries:
|
||||||
|
- PatcherSupportPkg 0.7.2 - release
|
||||||
|
|
||||||
## 0.5.3
|
## 0.5.3
|
||||||
- Integrate FixPCIeLinkrate.efi v0.1.0
|
- Integrate FixPCIeLinkrate.efi v0.1.0
|
||||||
|
|||||||
+30
-5
@@ -874,25 +874,50 @@ def SystemPatchDictionary(os_major, os_minor, non_metal_os_support):
|
|||||||
"OS Minor": 0
|
"OS Minor": 0
|
||||||
},
|
},
|
||||||
"Maximum OS Support": {
|
"Maximum OS Support": {
|
||||||
"OS Major": os_data.os_data.monterey,
|
"OS Major": os_data.os_data.max_os,
|
||||||
"OS Minor": 99
|
"OS Minor": 99
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"Install": {
|
"Install": {
|
||||||
"/usr/libexec": {
|
"/usr/libexec": {
|
||||||
"airportd": "11.5.2",
|
"airportd": "11.7.1",
|
||||||
},
|
},
|
||||||
"/System/Library/CoreServices": {
|
"/System/Library/CoreServices": {
|
||||||
"WiFiAgent.app": "11.5.2",
|
"WiFiAgent.app": "11.7.1",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"Install Non-Root": {
|
"Install Non-Root": {
|
||||||
"/Library/Application Support/SkyLightPlugins": {
|
"/Library/Application Support/SkyLightPlugins": {
|
||||||
**({ "CoreWLAN.dylib": "SkyLightPlugins" } if os_major >= os_data.os_data.monterey else {}),
|
**({ "CoreWLAN.dylib": "SkyLightPlugins" } if os_major == os_data.os_data.monterey else {}),
|
||||||
**({ "CoreWLAN.txt": "SkyLightPlugins" } if os_major >= os_data.os_data.monterey else {}),
|
**({ "CoreWLAN.txt": "SkyLightPlugins" } if os_major == os_data.os_data.monterey else {}),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
"Legacy Wireless Extended": {
|
||||||
|
"Display Name": "",
|
||||||
|
"OS Support": {
|
||||||
|
"Minimum OS Support": {
|
||||||
|
"OS Major": os_data.os_data.ventura,
|
||||||
|
"OS Minor": 0
|
||||||
|
},
|
||||||
|
"Maximum OS Support": {
|
||||||
|
"OS Major": os_data.os_data.max_os,
|
||||||
|
"OS Minor": 99
|
||||||
|
},
|
||||||
|
},
|
||||||
|
"Install": {
|
||||||
|
"/usr/libexec": {
|
||||||
|
"wps": "12.6.2",
|
||||||
|
},
|
||||||
|
"/System/Library/Frameworks": {
|
||||||
|
"CoreWLAN.framework": "12.6.2",
|
||||||
|
},
|
||||||
|
"/System/Library/PrivateFrameworks": {
|
||||||
|
"CoreWiFi.framework": "12.6.2",
|
||||||
|
"IO80211.framework": "12.6.2",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"Brightness": {
|
"Brightness": {
|
||||||
"Legacy Backlight Control": {
|
"Legacy Backlight Control": {
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ class Constants:
|
|||||||
def __init__(self):
|
def __init__(self):
|
||||||
# Patcher Versioning
|
# Patcher Versioning
|
||||||
self.patcher_version = "0.5.4" # OpenCore-Legacy-Patcher
|
self.patcher_version = "0.5.4" # OpenCore-Legacy-Patcher
|
||||||
self.patcher_support_pkg_version = "0.7.1" # PatcherSupportPkg
|
self.patcher_support_pkg_version = "0.7.2" # PatcherSupportPkg
|
||||||
self.url_patcher_support_pkg = "https://github.com/dortania/PatcherSupportPkg/releases/download/"
|
self.url_patcher_support_pkg = "https://github.com/dortania/PatcherSupportPkg/releases/download/"
|
||||||
self.nightly_url_patcher_support_pkg = "https://nightly.link/dortania/PatcherSupportPkg/workflows/build/master/"
|
self.nightly_url_patcher_support_pkg = "https://nightly.link/dortania/PatcherSupportPkg/workflows/build/master/"
|
||||||
self.discord_link = "https://discord.gg/rqdPgH8xSN"
|
self.discord_link = "https://discord.gg/rqdPgH8xSN"
|
||||||
|
|||||||
@@ -318,8 +318,11 @@ class detect_root_patch:
|
|||||||
isinstance(self.constants.computer.wifi, device_probe.Broadcom)
|
isinstance(self.constants.computer.wifi, device_probe.Broadcom)
|
||||||
and self.constants.computer.wifi.chipset in [device_probe.Broadcom.Chipsets.AirPortBrcm4331, device_probe.Broadcom.Chipsets.AirPortBrcm43224]
|
and self.constants.computer.wifi.chipset in [device_probe.Broadcom.Chipsets.AirPortBrcm4331, device_probe.Broadcom.Chipsets.AirPortBrcm43224]
|
||||||
) or (isinstance(self.constants.computer.wifi, device_probe.Atheros) and self.constants.computer.wifi.chipset == device_probe.Atheros.Chipsets.AirPortAtheros40):
|
) or (isinstance(self.constants.computer.wifi, device_probe.Atheros) and self.constants.computer.wifi.chipset == device_probe.Atheros.Chipsets.AirPortAtheros40):
|
||||||
if os_data.os_data.ventura > self.constants.detected_os > os_data.os_data.big_sur:
|
if self.constants.detected_os > os_data.os_data.big_sur:
|
||||||
self.legacy_wifi = True
|
self.legacy_wifi = True
|
||||||
|
if self.constants.detected_os >= os_data.os_data.ventura:
|
||||||
|
# Due to extracted frameworks for IO80211.framework and co, check library validation
|
||||||
|
self.amfi_must_disable = True
|
||||||
|
|
||||||
# if self.model in ["MacBookPro5,1", "MacBookPro5,2", "MacBookPro5,3", "MacBookPro8,2", "MacBookPro8,3"]:
|
# if self.model in ["MacBookPro5,1", "MacBookPro5,2", "MacBookPro5,3", "MacBookPro8,2", "MacBookPro8,3"]:
|
||||||
if self.model in ["MacBookPro8,2", "MacBookPro8,3"]:
|
if self.model in ["MacBookPro8,2", "MacBookPro8,3"]:
|
||||||
@@ -552,6 +555,7 @@ class detect_root_patch:
|
|||||||
required_patches.update({"Legacy Non-GOP": all_hardware_patchset["Audio"]["Legacy Non-GOP"]})
|
required_patches.update({"Legacy Non-GOP": all_hardware_patchset["Audio"]["Legacy Non-GOP"]})
|
||||||
if hardware_details["Networking: Legacy Wireless"] is True:
|
if hardware_details["Networking: Legacy Wireless"] is True:
|
||||||
required_patches.update({"Legacy Wireless": all_hardware_patchset["Networking"]["Legacy Wireless"]})
|
required_patches.update({"Legacy Wireless": all_hardware_patchset["Networking"]["Legacy Wireless"]})
|
||||||
|
required_patches.update({"Legacy Wireless Extended": all_hardware_patchset["Networking"]["Legacy Wireless Extended"]})
|
||||||
if hardware_details["Miscellaneous: Legacy GMUX"] is True:
|
if hardware_details["Miscellaneous: Legacy GMUX"] is True:
|
||||||
required_patches.update({"Legacy GMUX": all_hardware_patchset["Miscellaneous"]["Legacy GMUX"]})
|
required_patches.update({"Legacy GMUX": all_hardware_patchset["Miscellaneous"]["Legacy GMUX"]})
|
||||||
if hardware_details["Miscellaneous: Legacy Keyboard Backlight"] is True:
|
if hardware_details["Miscellaneous: Legacy Keyboard Backlight"] is True:
|
||||||
|
|||||||
Reference in New Issue
Block a user