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)
Thu, Dec 19, 1:43 AM
Unknown Object (File)
Sun, Nov 24, 3:24 AM
Unknown Object (File)
Nov 19 2024, 8:23 AM
Unknown Object (File)
Nov 19 2024, 6:50 AM
Unknown Object (File)
Oct 30 2024, 6:44 AM
Unknown Object (File)
Oct 29 2024, 12:44 PM
Unknown Object (File)
Oct 27 2024, 4:17 AM
Unknown Object (File)
Oct 24 2024, 12:57 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