Bug 111401

Summary: Missing country on atheros driver regd_common.h and regd.h
Product: Backports project Reporter: brunoaduarte
Component: BackportsAssignee: Backports Project Mailing List (backports)
Status: CLOSED INVALID    
Severity: normal CC: mcgrof
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: backports-4.0.1-1 Subsystem:
Regression: No Bisected commit-id:

Description brunoaduarte 2016-01-28 00:10:06 UTC
Country Guyana is missing from the enums in these files.

wireless-regdb-2015.12.14 -> db.txt
country GY:
	(2402 - 2482 @ 40), (30)
	(5735 - 5835 @ 80), (30)

regd_common.h
> {CTRY_GUYANA, NULL1_WORLD, "GY"},


regd.h
> enum CountryCode {
>       CTRY_ALBANIA = xx,
> ...
Comment 1 brunoaduarte 2016-01-28 00:12:31 UTC
You should use these
ftp://ftp.maths.tcd.ie/usr/include/net80211/ieee80211_regdomain.h

CTRY_GUYANA		= 328
Comment 2 Luis Chamberlain 2016-05-04 20:58:58 UTC
Regulatory data is maintained separately in the wireless-regdb project.

https://wireless.wiki.kernel.org/en/developers/regulatory/wireless-regdb

As you noted GY is there already. The Atheros driver lacking a GY annotation is up to the atheros driver, that needs to be addressed upstream and is therefore not a backports specific issue. You should address this upstream:

For that see:

https://wireless.wiki.kernel.org/en/developers/mailinglists

The regd_common.h file is part of the ath module. As the Linux kernel ath module maintainer, I welcome a patch but you must post it to the linux-wireless list and also get Kalle Vallo to review it as he is at Atheros can also help review Atheros' own position on this.