Jump to content

[Solved] How to change AirportBrcmFixup default country code?


LockDown
 Share

8 posts in this topic

Recommended Posts

Hi

I want to change AirportBrcmFixup default country code to "JP" and compile it. (I want to get rid of brcmfx-country=JPboot arguement.)

 

Looking at the source:

 

char country_code[4] {"US"};

bool country_code_overrided {false};

 

1. do i just change US to JP?

2. should i also change false to true?

3. Will it also be the same procedure if changing US to a more universal #a?

 

Solved: Changing US to my preferred code worked

Edited by ellaosx
Link to comment
Share on other sites

7 hours ago, ellaosx said:

Hi

I want to change AirportBrcmFixup default country code to "JP" and compile it. (I want to get rid of brcmfx-country=JPboot arguement.)

 

Looking at the source:

 

char country_code[4] {"US"};

bool country_code_overrided {false};

 

1. do i just change US to JP?

2. should i also change false to true?

3. Will it also be the same procedure if changing US to a more universal #a?

 

There's an option: brcmfx-country=XX

 

For full documentation check: https://github.com/acidanthera/AirportBrcmFixup

 

Nevermind, just understood what you're trying to do.

Edited by Denicio
  • Like 1
Link to comment
Share on other sites

3 hours ago, ellaosx said:

Hi

I want to change AirportBrcmFixup default country code to "JP" and compile it. (I want to get rid of brcmfx-country=JPboot arguement.)

 

Looking at the source:

 

char country_code[4] {"US"};

bool country_code_overrided {false};

 

1. do i just change US to JP?

2. should i also change false to true?

3. Will it also be the same procedure if changing US to a more universal #a?

Try with eeprom.exe...me used this 4 years ago to flash broadcom wifi card to change country code on my T61

Link to comment
Share on other sites

18 hours ago, ellaosx said:

Hi

I want to change AirportBrcmFixup default country code to "JP" and compile it. (I want to get rid of brcmfx-country=JPboot arguement.)

 

Looking at the source:

 

char country_code[4] {"US"};

bool country_code_overrided {false};

 

1. do i just change US to JP?

2. should i also change false to true?

3. Will it also be the same procedure if changing US to a more universal #a?

 

Solved: Changing US to my preferred code worked

  1. If you want to get rid of boot-arg brcmfx-country=JP you can inject data field "brcmfx-country" into ARPT provider using Clover features: Arbitrary or DeviceProperties
  2. If you still need to change a code, change country_code in kern_config.hpp and unconditionally set country_code_overrided to true (PE_parse_boot_argn should not be called for bootargBrcmCountry)
  3. Yes, procedure is the same
  • Thanks 1
Link to comment
Share on other sites

 Share

×
×
  • Create New...