Skip to contentSkip to conversation

file-4.26: add wireless-regdb magic file format

PATCH In review Luis R. Rodriguez 2 participants 3 messages Jan 27, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 file-4.26: add wireless-regdb magic file format

Christos, this patch adds the wireless-regdb magic file format to the file Magdir. We use this binary file format in Linux for our wireless regulatory database parsed by CRDA. If there are any questions please feel free to puke us on the linux-wireless list.

Do you have plans on releasing a file-4.27 any time soon?

Thanks to Johannes for coming up with this.

Luis

magic/Magdir/wireless-regdb new file +6 -0
@@ -0,0 +1,6 @@
+# wireless-regdb:        file(1) magic for CRDA wireless-regdb file format
+#
+# CRDA Regulatory database file
+# http://wireless.kernel.org/en/developers/Regulatory
+0       belong          0x52474442      CRDA wireless regulatory database file
+>4      belong          19              (Version 1)
#1 lore raw

On Jan 27, 8:54am, [email protected] ("Luis R. Rodriguez") wrote:
-- Subject: [PATCH] file-4.26: add wireless-regdb magic file format

| Christos, this patch adds the wireless-regdb magic file format
| to the file Magdir. We use this binary file format in Linux for our
| wireless regulatory database parsed by CRDA. If there are any questions
| please feel free to puke us on the linux-wireless list.
| 
| Do you have plans on releasing a file-4.27 any time soon?
| 
| Thanks to Johannes for coming up with this.
| 
|   Luis
| 
| --- /dev/null	2009-01-18 12:51:54.000000000 -0800
| +++ file-4.26/magic/Magdir/wireless-regdb	2009-01-27 08:40:43.000000000 -0800
| @@ -0,0 +1,6 @@
| +# wireless-regdb:        file(1) magic for CRDA wireless-regdb file format
| +#
| +# CRDA Regulatory database file
| +# http://wireless.kernel.org/en/developers/Regulatory
| +0       belong          0x52474442
| +>4      belong          19              (Version 1)

Isn't that belong really:

0 string RGDB CRDA wireless regulatory database file

Quoted 1 line

4 belong 19 (Version 1)

???

christos

#2 lore raw
Quoted 24 lines · Christos Zoulas

On Jan 27, 8:54am, [email protected] ("Luis R. Rodriguez") wrote:
-- Subject: [PATCH] file-4.26: add wireless-regdb magic file format

| Christos, this patch adds the wireless-regdb magic file format
| to the file Magdir. We use this binary file format in Linux for our
| wireless regulatory database parsed by CRDA. If there are any questions
| please feel free to puke us on the linux-wireless list.
|
| Do you have plans on releasing a file-4.27 any time soon?
|
| Thanks to Johannes for coming up with this.
|
|   Luis
|
| --- /dev/null 2009-01-18 12:51:54.000000000 -0800
| +++ file-4.26/magic/Magdir/wireless-regdb     2009-01-27 08:40:43.000000000 -0800
| @@ -0,0 +1,6 @@
| +# wireless-regdb:        file(1) magic for CRDA wireless-regdb file format
| +#
| +# CRDA Regulatory database file
| +# http://wireless.kernel.org/en/developers/Regulatory
| +0       belong          0x52474442
| +>4      belong          19              (Version 1)
Quoted 4 lines

Isn't that belong really:

0       string  RGDB    CRDA wireless regulatory database file
>4      belong  19      (Version 1)

Sure that works as well, makes it nicer too.

Luis