make dump.c dump in the db.txt format
[platform/upstream/crda.git] / README
1 CRDA
2 -----
3
4 This is the Central Regulatory Domain Agent effort.
5
6 Primative diagram:
7
8 Db --> Fdb
9 D can read Fdb (regulatory.bin)
10 K queries D, D reads Fdb, D passes an R to the Kernel
11 K enforces R
12
13 Legend:
14
15 Db: text file (db.txt)
16 Fdb: binary database (defined in daemon/regdb.h)
17 D: CRDA Daemon
18 K: The Linux kernel
19 R: A regulatory domain structure built by D and passed to the K
20
21 Phase I
22 --------
23 We parse the text file database db.txt into the binary database that
24 tools (including the daemon) should use.
25
26 Example C code to read Fdb is available as daemon/dump.c.
27
28 Phase II
29 --------
30 Userspace CRDA daemon which can read Fdb, and given a country outputs a regulatory domain
31 definition for that country.
32
33 Phase III
34 ---------
35 Add nl80211 commands and attributes in the kernel to handle receiving a regulatory domain
36 structure from the CRDA daemon.
37
38 Phase IV
39 --------
40 Test with a driver, zd1211rw.
41