move verify script to new 'scripts' dir
[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: SQL database (defined in db/01-regulatory.sql)
16 Fdb: File 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 have scripts to populate the (My)SQL database in db/*.sql, which are then
24 dumped into an sqlite database for the dbgen.py script which generates the
25 binary database Fdb. Proper regulatory information is coming too.
26
27 Example C code to read Fdb is available as daemon/dump.c.
28
29 Phase II
30 --------
31 Userspace CRDA daemon which can read Fdb, and given a country outputs a regulatory domain
32 definition for that country.
33
34 Phase III
35 ---------
36 Add nl80211 commands and attributes in the kernel to handle receiving a regulatory domain
37 structure from the CRDA daemon.
38
39 Phase IV
40 --------
41 Test with a driver, zd1211rw.
42