Page MenuHomeFreeBSD

lib80211: Start adding 11ac ETSI bits to regdomain.xml
ClosedPublic

Authored by bz on Aug 7 2020, 5:42 PM.

Details

Summary

This change currently (partially) duplicates AC1 freqbands as AC2
as they are not fully overlapping.
It then adds the 11ac netband to the "etsi" domain including
"indoor" and "dfs" flags, which we can deal with, as well as
(I hope) appropriate (round down) maxpower values.
I left comments for the actual frequency bands as we do use the
centerfreq for the first/last (chansep sized) channel in the
freqband and their "id" name, which can be confusing.

I keep wondering if we should set the HT20 and HT40 flags on the
freqbands like we do for A already rather than adding them to the
indivdual netband band statements.

The current rule, as I understand it, is that you want
1x A, 1x N (HT), and 1x AC (VHT) flags on a band and no duplicate
VHT, e.g., VHT40+VHT80 as that would lead to possible duplicates.
The same logic needs to be in at least the kernel for getflags_5ghz()
if not also being matched in ifconfig(8).

Sponsored by: Rubicon Communications, LLC (d/b/a "Netgate")

Diff Detail

Repository
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

bz requested review of this revision.Aug 7 2020, 5:42 PM
bz created this revision.
bz edited subscribers, added: wireless; removed: gnn.

Let's look at the maxpower more carefully!

lib/lib80211/regdomain.xml
557

Is this the right maxpower for 200mW ? :-P

580

Same with this?

lib/lib80211/regdomain.xml
557

What's your point?
200mW = 23.01dBm.
To my memory (and this has been half a year now) that is what maxpower was in?
If I am missing something then please be helpful.

It may be helpful to add a comment somewhere at the top of the file about what units are used.

Yeah, you're right, I've been neck deep in linux and internal OS regulatory domain stuff too much recently :(

Shipit!

This revision is now accepted and ready to land.Mar 1 2021, 4:09 PM