Contribute
Register

[Guide] Airport - PCIe Half Mini v2

Status
Not open for further replies.
Joined
Jul 5, 2011
Messages
4
Motherboard
seriously
CPU
nope
Graphics
noep
Mac
Classic Mac
Mobile Phone
Please don't be so quick to dismiss.

I don't see this in post #1? The current XT-ROW _does not_ enable all channels like the patch I have posted.

Cheers
 
Joined
Jul 5, 2011
Messages
4
Motherboard
seriously
CPU
nope
Graphics
noep
Mac
Classic Mac
Mobile Phone
Just a quick note or two on country codes and the 5GHz patch for the BCM4532 cards.

XT gives the following 'supported channels' for the card:

1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140, 144, 149, 153, 157, 161, 165

While US reduces the number of supported channels to:

1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 132, 136, 140, 144, 149, 153, 157, 161, 165.

As noted by minihack here, XT support and US locale support, where US is a subset of XT.

The patch I have posted is as follows:

The debug country definition offers more channels and transmit power than both the US and XT patch in post #1



And If I have to really point it out...

Channels: 14, 34, 42, 46, 120, 124, 128

EDIT: I don't believe it's possible to even change the country code without patching the EEPROM (correct me if I'm wrong). The patch MUST state "XT" since that is what is in the WiFi EEPROM, and that is how OS X matches the country definition. The patch in post #1 for US-FCC actually does "nothing", as in, the definition in the patch is not related to what is actually happens. By patching to US-FCC you are removing "XT" from the table which makes it fall back to the default (which just happens to US-FCC). You could change the "US" part in the patch to "ZZ" and it would still show up as "US"; it is simply falling back to defaults.
 
Joined
Sep 3, 2010
Messages
70
Motherboard
Acer V5-572G
CPU
i5-3337U
Graphics
Intel HD4000
Mac
Classic Mac
Mobile Phone
If anyone is interested, I figured out how to enable ALL channels (both 2.4GHz and 5GHz) on the Broadcom chips. I don't think this has been posted anywhere before.

Replace: 58 54 00 2B 18 2C 21 00 20

With: 58 54 08 3F 4B 50 5C 00 0A

In AirPortBrcm4360.

This will enable channels 1-14 (2.4GHz) and 34-165 (5GHz). This also enables maximum power transmission. ( POWERRRRRRRRR :) )
Thanks for Linux sources...

Add informations:

With: 58 54 08 3F 4B 50 5C 00 0A

Number 08 - Regulatory Revision. Driver it also reads from EEPROM and compares it.
Your patch will only work on modules, whis Country code "XT" and regrev "08" in EEPROM.

But recently I came across a module with a different Regulatory Revision code.
Azurewave AW-CE123H for HP, SPS#724935-001. For example,
http://www.ebay.com/itm/Azurewave-HP-Broadcom-BCM94352HMB-802-11ac-867Mbps-BT4-0-WiFi-Card-724935-001-/191451025978?pt=US_Internal_Network_Cards&hash=item2c935ed23a

This module contains in eeprom: Country code "XT" and Regulatory Revision "0B".
My patch "XT-ROW" of the first post - does not work. Instead, the country is set by default "US"...

To patch worked on the modules with any Regulatory Revision code, you need to set Number 00.

Your correct patch, for modules with "XT" contry and any Regulatory Revision:
(enable channels 1-14 (2.4GHz), and 34-165 (5GHz) and full power):
Binary: AirPortBrcm4360
Find: 58 54 00 2B 18 2C 21 00 20
Replace: 58 54 00 3F 4B 50 5C 00 0A


To Toleda:
Fix my patch "XT-ROW" in the first post, so it worked on new Azurewave AW-CE123H for HP:
XT-ROW/Replace: 58 54 08 0A 36 1C 47 00 0A -> 58 54 00 0A 36 1C 47 00 0A


The patch MUST state "XT" since that is what is in the WiFi EEPROM, and that is how OS X matches the country definition. The patch in post #1 for US-FCC actually does "nothing", as in, the definition in the patch is not related to what is actually happens. By patching to US-FCC you are removing "XT" from the table which makes it fall back to the default (which just happens to US-FCC). You could change the "US" part in the patch to "ZZ" and it would still show up as "US"; it is simply falling back to defaults.
That's right.
If there is no match for the country code - used by default: US
 
Joined
Jul 3, 2014
Messages
933
Motherboard
Dell XPS 9360 (KabyLake R)
CPU
Intel i7 8550U
Graphics
Intel UHD 620
Mac
MacBook, MacBook Pro
Mobile Phone
Android
Patching the EEPROM of the network card is obviously difficult and might not be always possible.

But what if we are able to change the values read from the EEPROM before OS X processes them?
This is something we are already doing with OS-X-FakePCIID for values coming from the PCI configuration register.

The SPROM can be found on the SSB of the card and looks roughly like this:
http://lxr.free-electrons.com/source/drivers/ssb/pci.c

I haven't tried seeing if the calls can be intercepted between the IOPCIDevice and the Broadcom driver, but it might be possible.
 
Joined
Jun 20, 2013
Messages
135
Motherboard
XMG P507 Pro - Clevo P65_67RSRP - Realtek ALC899 - GTX 1070 (Notebook)
CPU
i7 6700HQ
Graphics
HD530
Mobile Phone
iOS
Joined
Jun 20, 2013
Messages
135
Motherboard
XMG P507 Pro - Clevo P65_67RSRP - Realtek ALC899 - GTX 1070 (Notebook)
CPU
i7 6700HQ
Graphics
HD530
Mobile Phone
iOS
Joined
Jul 5, 2012
Messages
365
Motherboard
asus z170-k
CPU
i5-6400
Graphics
HD530/GTX 650
Mac
Mac Pro
Mobile Phone
Android, iOS
Using a pcie 9287 card that worked in 10.9 but in 10.10, fails to wake with system. Requires wifi in network control panel to be turned off then on again to wake.


Ordered brcm94331 for this from china, but could be awhile.
 

Attachments

Joined
Jan 19, 2015
Messages
7
Motherboard
Asus Z97i-PLUS
CPU
Haswell 4790K i7
Graphics
EVGA GTX760 SC 4GB
Mac
Classic Mac
Mobile Phone
Hello,

I have followed all of the recommended steps for getting my Z97i-PLUS bluetooth working but it is having issues...

  1. Wifi works fine. Bluetooth is recognized and I can search for devices. I can even connect NON apple devices to my bluetooth. But when I connect my apple wireless keyboard it doesn't type. At all. And when I connect my iPhone 6 my iPhone says "Device not supported"... "Forget Device".
  2. OS X 10.10 / Asus Z97i-PLUS / Haswell 4790K i7 / GTX760 SC 4GB
  3. This guide was used.
  4. Attached IOJones file in zip
  5. Console/All Messages/kernel airport - select/Save Selection As: What specifically do you want me to save here?
  6. Screen shots attached
  7. Attached these as well

If you could shed some light on this that would be really helpful!
:)

Oh also I cannot get my intel 4600 integrated graphics to allow for screen mirroring via airplay and have a number of syntax errors in my dsdt which
i have not edited at all.




 

Attachments

Status
Not open for further replies.
Top