Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jul 2020 20:39:28 -0700
From:      Adrian Chadd <adrian.chadd@gmail.com>
To:        Aaron <notjanedeere@gmail.com>
Cc:        freebsd-wireless <freebsd-wireless@freebsd.org>
Subject:   Re: Re: regdomain.xml - Linux wireless-regdb
Message-ID:  <CAJ-VmokM4Kxi%2BDKOGVJp6B4y7dOm8=Rm81eZQYYSHUcmNY2bDA@mail.gmail.com>
In-Reply-To: <adef735d-c3a1-1723-936d-1cf3e4b819c9@gmail.com>
References:  <b1404b90-87a5-8f78-aeb4-cf31bc1a704b@gmail.com> <adef735d-c3a1-1723-936d-1cf3e4b819c9@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 21 Jul 2020 at 20:36, Aaron <notjanedeere@gmail.com> wrote:

> Still working on my mailing list etiquette ...
>
> On 7/21/2020 11:11 PM, Adrian Chadd wrote:
>
> > On Tue, 21 Jul 2020 at 20:03, Aaron <notjanedeere@gmail.com
> > <mailto:notjanedeere@gmail.com>> wrote:
> >
> >     On 7/21/2020 10:53 PM, Adrian Chadd wrote:
> >     > As a data source yes, but I'd /love/ ours to be more structured.
> >     > Parsing the wireless-regdb format is ... lol.
> >     >
> >     >
> >     > -a
> >     Fair enough.  This data also has a 1:1 mapping between country and
> >     regulatory domain.  You mentioned Atheros earlier, is this 1:many
> >     country:rd mapping necessary or just an artifact of how they coded
> >     things?
> >
> >
> > I mean, both are true. For atheros hardware we do that already in the
> > driver; and for other NICs that need local weird channel/sku bits they
> > can implement themselves. :-)
> >
> >
> >
> > -adrian
> >
> >     _______________________________________________
> >     freebsd-wireless@freebsd.org <mailto:freebsd-wireless@freebsd.org>
> >     mailing list
> >     https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> >     To unsubscribe, send any mail to
> >     "freebsd-wireless-unsubscribe@freebsd.org
> >     <mailto:freebsd-wireless-unsubscribe@freebsd.org>"
> >
> So Atheros and the Japanese are on their own.  In that case, the data
> that's needed is ... what's already in the wireless-regdb file?  You've
> got:


>   * Country
>   * Regulatory domain name (albeit only FCC, ETSI and JP), /which isn't
>     actually used for anything!/  The details for each country are
>     stored directly, there's no referring to the regulatory domains at all.
>

They're used for DFS modules which need to know which DFS regulatory domain
one needs. :-)


>   * Frequencies and channel widths.
>   * TX power (in db OR mW, if that needs to be normalised someone's
>     going to have to supply me with a reference or a formula)
>

As you'll discover, the challenge is that there can be multiple ways to
skin the regulatory power limits felines. For we should stick to what
net80211 already does;  which is just tx power in 1/2 dBm increments.

  * Flags.  Once the data's parsed we can get a complete list of these.
>

Right.


>
> Is there anything else needed?  And given that each country is a
> self-contained dataset, what do we need the regulatory domain name for
> beyond a label?
>

DFS is the main consumer for now.



-adrian



>
> _______________________________________________
> freebsd-wireless@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org
> "
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmokM4Kxi%2BDKOGVJp6B4y7dOm8=Rm81eZQYYSHUcmNY2bDA>