From owner-freebsd-wireless@freebsd.org Tue Jul 21 09:06:52 2020 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E08E137C659 for ; Tue, 21 Jul 2020 09:06:52 +0000 (UTC) (envelope-from notjanedeere@gmail.com) Received: from mail-qk1-x72a.google.com (mail-qk1-x72a.google.com [IPv6:2607:f8b0:4864:20::72a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B9t576nCrz4M7g for ; Tue, 21 Jul 2020 09:06:51 +0000 (UTC) (envelope-from notjanedeere@gmail.com) Received: by mail-qk1-x72a.google.com with SMTP id x69so5965756qkb.1 for ; Tue, 21 Jul 2020 02:06:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-language; bh=9CkAeHYwes6HryxNg6PNyRtafP4IbTPSIWQ05ZFWr+Q=; b=CF7icH5I9/fZowzHUP/6Q/lrd0dNFaMYwTMwoIfg2rtqFiK3GiCJT1IoYui9tBus8j oriKoiEmO5+GzN6PDjZToOcsyFyohaXKon5uKlrfP7M4ymTTQzS6wNvAR+220iUAWL8r DpDKexXCEvdhnfX0USc6ENvHNwg3mXDP5DitCou97G2ng6HULCe6iFjyMVBAwaXmTc5c Px3605wFCGkg0KFy6Z4PuYopdmM6NDklWb7Ivq/tM2fIoStXbTDCSavzWcAuEY4mAV+n CoOtieiSB3VmEhxbH9mP0sqhB0tak84AYLJz+76uK/usaELEJSWs9d96G34wEVcpJpfT KSFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language; bh=9CkAeHYwes6HryxNg6PNyRtafP4IbTPSIWQ05ZFWr+Q=; b=YaPcqeVUWhCXa7DFK9OdAcSO6qrC+fy1e8J6F0QzMKd1EVnbZah0r4cmKEKZKdaFL+ wZQOVbGlvXJyiNo1WKRN91kKcfdRgLe9X8KAro7/o3TB/E3mu9p/WpPOPuEZBA7Hq6E5 /wOlWwr2JhAug1WoT47u78ap7pW8Q15XTAFJnVEUqdNpAcaOpHRZam7Ssz2v2SRj3JUJ xFawbflP79PbFLIn/O6EVwQdVTY1dZwKcOmDVlJHVqqr6h+FVSBMD6oFNwAe6sP6qhC4 CNN5DyCnPx72a5CAZ411f6LalJSBYvlufbh+QKCjLQh9+shibJQEK9Q+PVjakBbmUWMR zkUQ== X-Gm-Message-State: AOAM531aIbhsBwGU/IKR99DQYdA0+LmqtLDJLKXwmjrgySXVKGyH8U9/ nUciNFiBq+37Osvtu4qUXmCwq9Az X-Google-Smtp-Source: ABdhPJy85CffSI47qHK/moeQOqRSU4jo9OjmeQnqf7lPP7/+5HOEijsCqRrIsPRQ4ABSb8SM0XeGkw== X-Received: by 2002:a37:5bc4:: with SMTP id p187mr26188275qkb.166.1595322410745; Tue, 21 Jul 2020 02:06:50 -0700 (PDT) Received: from [10.5.0.2] ([162.219.176.188]) by smtp.gmail.com with ESMTPSA id a8sm2160319qth.69.2020.07.21.02.06.50 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 21 Jul 2020 02:06:50 -0700 (PDT) To: freebsd-wireless@freebsd.org From: Aaron Subject: regdomain.xml Message-ID: Date: Tue, 21 Jul 2020 05:06:48 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 Content-Language: en-US X-Rspamd-Queue-Id: 4B9t576nCrz4M7g X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=CF7icH5I; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of notjanedeere@gmail.com designates 2607:f8b0:4864:20::72a as permitted sender) smtp.mailfrom=notjanedeere@gmail.com X-Spamd-Result: default: False [-3.27 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.02)[-1.023]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-wireless@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.01)[-1.012]; RCVD_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::72a:from]; NEURAL_HAM_SHORT(-0.24)[-0.236]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jul 2020 09:06:52 -0000 Howdy FreeBSD wireless mailing list, Looking to help, only item on this list (https://wiki.freebsd.org/WiFi/TodoStuff) I'm competent to address is "net80211 regulatory".  I read the "regdomain" manpage ... no help there. My assumptions: * the data you're looking to clean up/update/refactor is "/etc/regdomain.xml". * you have some idea what you want this file to look like afterwards (an example would be very helpful) * the information you want added is available somewhere (FCC site, IEEE site, ...) If my assumptions are correct and no-one's already doing it, my questions are: * the regulatory database is indexed by SKU, rather than by country. So adding a new _country_ is actually rather annoyingly difficult. o There's a section that links to , so either someone's already done the work here or I need this item explained. * Change the regulatory database code to be indexed by something that isn't hard-coded, and have the "regulatory domain entry index" map _to_ an SKU where needed. o "regulatory database code" meaning ? o Since SKU in this context is not a Stock Keeping Unit ... definition please? * This lets me do useful things like _update the regulatory database_.. o When you refer to the "regulatory database", do you just mean "/etc/regdomain.xml"?  And what updates are you trying to do that are currently difficult? * extend it to support new frequency ranges (60GHZ, VHF white spaces); in KHz settings rather than MHz increments; o Current s are in MHz, not hard to change them to KHz.  Would obviously impact every program that reads the file ... o If I understand correctly, adding new freq ranges is just data entry.  If so, is there a link to the new frequency ranges you want added? * add VHT flags and 80/80+80/160MHz wide channel widths. o More data entry.  Link to the data you want added? If having me add data, refactor, change hierarchy, etc. is helpful let me know.  If it sounds like there'll be too much handholding, no hard feelings. CmdrWgls