Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Region Code Mapping for 0x30 (EU) #130

Closed
con7 opened this issue Dec 23, 2016 · 8 comments
Closed

Region Code Mapping for 0x30 (EU) #130

con7 opened this issue Dec 23, 2016 · 8 comments

Comments

@con7
Copy link

con7 commented Dec 23, 2016

Hi,

i'm running McDebian on my WRT1900ACS V2 (EU Version) with latest mwlwifi driver/firmware, but the 5GHz wifi wont work because of a non valid country code.
My firmware region code is 0x30, in the driver you defined "EU" for 0x30, which isn't a valid ISO3166 country code.

static const struct region_code_mapping regmap[] = {
	{"US", 0x10}, /* US FCC */
	{"CA", 0x20}, /* Canada */
	{"EU", 0x30}, /* ETSI   */
	{"ES", 0x31}, /* Spain  */
	{"FR", 0x32}, /* France */
	{"JP", 0x40}, /* Japan  */
	{"TW", 0x80}, /* Taiwan */
	{"AU", 0x81}, /* Australia */
	{"CN", 0x90}, /* China (Asia) */
};

CRDA wants to set country to EU, but this doesn't work because EU isn't included in db.txt / regulatory.bin.
If I add EU to db.txt and generate a new regulatory.bin, all is working fine.

Is it possible to change region code mapping for 0x30 to something valid?

The same issue already existed in an other marvell driver (https://patchwork.kernel.org/patch/7768381/)

Thanks!

@lantis1008
Copy link

Unrelated to this issue, but just for my information.

Is that table now the only available country codes that are valid for the driver? Or can we still use the entire contents of regdb?
i.e. Is it now hardcoded?

@yuhhaurlin
Copy link
Collaborator

Please check https://github.com/kaloz/mwlwifi/commits/master. Thanks.

@con7
Copy link
Author

con7 commented Jan 3, 2017

Thanks @yuhhaurlin !

@lantis1008
Copy link

@yuhhaurlin
I have just received a device coded to region 0x10 (US). I'm in Australia. Is there anyway for me to change this?

@yuhhaurlin
Copy link
Collaborator

Please check with Belkin. Thanks.

@lantis1008
Copy link

@yuhhaurlin
Belkin and Linksys both have no suggestions.
Are you aware of any alternative backdoors?

@Chadster766
Copy link

See if you can RMA warranty swap the WRT.

Contact linksyscares@linksys.com they should be able to complete or start the RMA for you.

@yuhhaurlin
Copy link
Collaborator

@lantis1008 There is no backdoor for it via driver. This must be modified via manufacture tool in order to comply with FCC rules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants