1CRDA(8) Linux CRDA(8)
2
3
4
6 crda - send to the kernel a wireless regulatory domain for a given ISO
7 / IEC 3166 alpha2
8
10 crda
11
12
13
14
16 crda is the Linux wireless central regulatory domain agent. crda is
17 intended to be used by udev scripts and should not be run manually
18 unless debugging udev scripts. crda is triggered to run by the kernel
19 by sending a udev event upon a new regulatory domain change. Regulatory
20 domain changes are triggered by the wireless kernel subsystem (upon
21 initialization and on reception of country IEs), wireless drivers, or
22 userspace (see iw ). Upon a regulatory domain change the kernel sends a
23 udev change event for the regulatory platform. The kernel ignores regu‐
24 latory domains sent to it if it does not expect them. The regulatory
25 domain is read by crda from the regulatory.bin file.
26
27
28
30 If built with openssl or gcrypt support crda will have embedded into it
31 an RSA digital signature which will prevent it from reading corrupted
32 or non-authored regulatory.bin files. Authorship is respected by the
33 RSA public key packed into crda. This specific crda package has been
34 built with RSA public keys from John Linville (the Linux wireless ker‐
35 nel maintainer) and Seth Forshee (the wireless regulatory databse main‐
36 tainer) and as such will only read regulatory.bin files signed by one
37 of them. For further information see the regulatory.bin man page.
38
39
40
42 A udev regulatory rule must be put in place in order to receive and
43 parse udev events from the kernel in order to get udev to call crda
44 with the passed ISO / IEC 3166 alpha2 country code. An example udev
45 rule which can be used (usually in /lib/udev/rules.d/85-regula‐
46 tory.rules ):
47
48 KERNEL=="regulatory*", ACTION=="change", SUBSYSTEM=="platform",
49 RUN+="/sbin/crda"
50
51
52
54 Set the COUNTRY environment variable with a specific ISO / IEC 3166
55 alpha2 country code and then run crda without arguments. This will send
56 a regulatory domain for that alpha2 to the kernel.
57
58
60 iw(8) regulatory.bin(5)
61
62 http://wireless.kernel.org/en/developers/Regulatory/
63
64
65
66crda 23 January 2009 CRDA(8)