Note: this e-mail is on a public mailing list! On Sat, Jun 12, 2010 at 10:52 PM, Kouhei Sutou <kou@xxxxxxxxxxxxxx> wrote: > Hi, > > I'm using PLANEX GW-US54GXS (2019:5303) and it works with > the attached patch. Could you consider to merge the attached > patch? > > Problem: GW-US54GXS uses zd1211rw but zd1211rw doesn't have > a regulatory domain reported by GW-US54GXS (0x49). > > Solutions: > > (1) add a new regulatory domain (0x49). Here is a patch to > use the approach: Stephen, David, does 0x49 map to JP for zd1211 ? Are there other ones? Here is our list so far: #define ZD_REGDOMAIN_FCC 0x10 #define ZD_REGDOMAIN_IC 0x20 #define ZD_REGDOMAIN_ETSI 0x30 #define ZD_REGDOMAIN_SPAIN 0x31 #define ZD_REGDOMAIN_FRANCE 0x32 #define ZD_REGDOMAIN_JAPAN_ADD 0x40 #define ZD_REGDOMAIN_JAPAN 0x41 This is what they map to: static struct zd_reg_alpha2_map reg_alpha2_map[] = { { ZD_REGDOMAIN_FCC, "US" }, { ZD_REGDOMAIN_IC, "CA" }, { ZD_REGDOMAIN_ETSI, "DE" }, /* Generic ETSI, use most restrictive */ { ZD_REGDOMAIN_JAPAN, "JP" }, { ZD_REGDOMAIN_JAPAN_ADD, "JP" }, { ZD_REGDOMAIN_SPAIN, "ES" }, { ZD_REGDOMAIN_FRANCE, "FR" }, }; Kouhei, if no regulatory domain is found, instead we should world roam, we cannot allow letting the user change regulatory domains at their whim. We can, however let them choose one to help compliance, but you can only help compliance once you know your actual regulatory domain. Luis -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html