Page MenuHomeFreeBSD

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

Authored by bz on Aug 7 2020, 5:42 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Oct 30, 6:44 AM
Unknown Object (File)
Tue, Oct 29, 12:44 PM
Unknown Object (File)
Sun, Oct 27, 4:17 AM
Unknown Object (File)
Thu, Oct 24, 12:57 AM
Unknown Object (File)
Oct 10 2024, 3:41 AM
Unknown Object (File)
Oct 5 2024, 3:46 AM
Unknown Object (File)
Oct 5 2024, 12:32 AM
Unknown Object (File)
Oct 2 2024, 10:31 AM
Subscribers

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
rG FreeBSD src repository
Lint
Lint Not Applicable
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
558

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

581

Same with this?

lib/lib80211/regdomain.xml
558

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