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 an RSA public key from John Linville (the Linux wireless
35 kernel maintainer) and as such will only read regulatory.bin files
36 signed by him. For further information see the regulatory.bin man page.
37
38
39
41 A udev regulatory rule must be put in place in order to receive and
42 parse udev events from the kernel in order to get udev to call crda
43 with the passed ISO / IEC 3166 alpha2 country code. An example udev
44 rule which can be used (usually in /lib/udev/rules.d/85-regula‐
45 tory.rules ):
46
47 KERNEL=="regulatory*", ACTION=="change", SUBSYSTEM=="platform",
48 RUN+="/sbin/crda"
49
50
51
53 Set the COUNTRY environment variable with a specific ISO / IEC 3166
54 alpha2 country code and then run crda without arguments. This will send
55 a regulatory domain for that alpha2 to the kernel.
56
57
59 iw(8) regulatory.bin(5)
60
61 http://wireless.kernel.org/en/developers/Regulatory/
62
63
64
65crda 23 January 2009 CRDA(8)