add magic(5) pattern for regdb file
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 22 May 2008 13:13:35 +0000 (15:13 +0200)
committerJohannes Berg <johannes@sipsolutions.net>
Thu, 22 May 2008 13:13:35 +0000 (15:13 +0200)
daemon/regdb.h
daemon/regdb.magic [new file with mode: 0644]

index ada6bea..3398bd1 100644 (file)
@@ -11,7 +11,8 @@
 
 /*
  * Only supported version now, start at arbitrary number
- * to have some more magic :)
+ * to have some more magic. We still consider this to be
+ * "Version 1" of the file.
  */
 #define REGDB_VERSION  19
 
diff --git a/daemon/regdb.magic b/daemon/regdb.magic
new file mode 100644 (file)
index 0000000..7afe7e0
--- /dev/null
@@ -0,0 +1,7 @@
+## magic(5) pattern for the regulatory database
+
+# CRDA Regulatory database file
+# http://git.kernel.org/?p=linux/kernel/git/mcgrof/crda.git;a=summary
+# (see regdb.h)
+0      belong          0x52474442      CRDA regulatory database file
+>4     belong          19              (Version 1)