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)
Mar 8 2024, 9:25 AM
Unknown Object (File)
Mar 8 2024, 9:09 AM
Unknown Object (File)
Mar 8 2024, 9:09 AM
Unknown Object (File)
Mar 8 2024, 8:25 AM
Unknown Object (File)
Feb 14 2024, 5:37 PM
Unknown Object (File)
Dec 22 2023, 11:21 PM
Unknown Object (File)
Dec 14 2023, 10:21 PM
Unknown Object (File)
Nov 8 2023, 4:52 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