[wireless-regdb] CAC time syntax in regdb.txt

Seth Forshee seth.forshee at canonical.com
Thu Mar 26 12:25:32 PDT 2015


On Thu, Mar 26, 2015 at 06:19:02PM +0100, Jean-Pierre TOSONI wrote:
> Hi list,
> 
> I saw that the library in crda was updated to handle the CAC time.
> AFAICT the format is
>       (freq - freq @ bw), (eirp [mW]), [(CACtime)] [flags...]
> 
> but the conversion of the database from text format to bin format is
> still using a python script that crashes with this format.
> I used the
> https://git.kernel.org/cgit/linux/kernel/git/sforshee/wireless-regdb.git
> repo.
> 
> Is there an updated python script out there? Or a replacement tool? Or
> am I missing a something?

CRDA was updated to understand db.txt files with DFS CAC times, but the
binary format doesn't include them. The best that could be done then is
to make dbparse.py ignore CAC times. But the only purpose for the python
scripts is to convert wireless-regdb's db.txt to binary format, and it
would be a bit misleading to include CAC times in db.txt if they can't
be included in regulatory.bin. So I don't really see much of a point in
updating dbparse.py until the binary format supports CAC times.

Luis - Any thoughts? Are there plans to add DFS CAC times to the binary
format?

Seth



More information about the wireless-regdb mailing list