2015-04-14 08:30:01

by Jean-Pierre TOSONI

[permalink] [raw]
Subject: RE: [linux-wireless] was [wireless-regdb] [RFC] [PATCH] crda: enforce ETSI CAC timer of 600s on the weather band

> De?: Seth Forshee [mailto:[email protected]] Envoy??: lundi 13
avril 2015 21:54
> On Mon, Apr 13, 2015 at 09:36:33PM +0200, Johannes Berg wrote:
> > On Mon, 2015-04-13 at 14:18 -0500, Seth Forshee wrote:
> > > On Mon, Apr 13, 2015 at 08:56:36PM +0200, Johannes Berg wrote:
> > > > On Mon, 2015-04-13 at 11:23 -0500, Seth Forshee wrote:
> > > > > On Mon, Apr 13, 2015 at 05:31:14PM +0200, Jean-Pierre Tosoni
> wrote:
> > > > > > A really weird patch that splits the U-NII-2e band into 1, 2
> > > > > > or 3 sub-bands to enforce a CAC time of 10 minutes in the range
> 5600-5650 MHz.
> > > > >
> > > > > Wrong maintainer / list. CRDA patches should be directed to Luis
> > > > > and the linux-wireless list (feel free to Cc wireless-regdb if you
> like).
> > > >
> > > > However, I'm not convinced that this actually *belongs* into the
> > > > crda code? That seems like the wrong approach - shouldn't these
> > > > rules be captured in the database? We do have AUTO-BW now so it
> > > > should be possible, no?
> > > >
> > > > And if the timings aren't captured in the db.txt file they really
> > > > should be.
> > >
> > > Yeah with AUTO-BW the bands could be broken up in db.txt, and we
> > > could even put in the CAC times. But we still can't get the CAC
> > > times into the current regulatory.bin format, so it doesn't really
> accomplish anything.
> >
> > But then there's also little point in putting any code for it into the
> > crda binary, no?

I agree that this belongs to db.txt and regulatory.bin rather than crda, but
until the problem of defining a new format for regulatory.bin is settled,
there is no other way.
However I am not sure my patch should go to mainstream since in my mind it
is temporary approach. But it does enforce ETSI regulations and still allow
using weather frequencies.

>
> Just to be clear, I'm not arguing for or against the patch at all. I'm
> only trying to explain why Jean-Pierre is proposing to change CRDA rather
> than db.txt. Maybe I should just let him speak for himself ...
>
> As I understand it Jean-Pierre is looking for a stop-gap to get CAC times
> into the kernel until such time as we have a file format which allows
> getting them from regulatory.bin. Changing CRDA can accomplish this,
> whereas modifying db.txt cannot.

That's exactly what I meant.

Jean-Pierre