Subject: Re: [RFC] [PATCH 2/3] adds ieee80211_regdomains support

From: "Anand Kumria" <[email-masked]>
Date: Wed, 25 Oct 2006 02:07:03 +0000 (UTC)

On Mon, 23 Oct 2006 18:47:25 -0400, Luis R. Rodriguez wrote:

> ieee80211_regdomains
> 
> Breaks down regulatory domains into data structures which allow
> drivers to share channel and power contraints based on stack
> regulatory domain. This driver adds in-kernel support for common
> regulatory domains (such as FCC and ETSI), makes updating the

[snip]

+/* Stack regulatory domain values. Atheros seems to have started this 
+ * convention and most  hardware vendors followed their example.
+ * Although these are *very* common we allow for a hw-specific
+ * map between stack and device regdomain values. */
+enum stack_regdomain {
+	REGDOMAIN_WORLD		= 0x00, /* World compliance, minimum set */
+	REGDOMAIN_FCC		= 0x10, /* USA */
+	REGDOMAIN_IC		= 0x20, /* Canada */
+	REGDOMAIN_ETSI		= 0x30, /* Europe */
+	REGDOMAIN_SPAIN		= 0x31, /* Spain */
+	REGDOMAIN_FRANCE	= 0x32, /* France */
+	REGDOMAIN_MKK		= 0x40, /* Japan */
+};
+

Why not pick either the country name or the organisation within the country that determines the frequency guidelines?

Regards,
Anand