From owner-freebsd-wireless@freebsd.org Tue Jul 21 20:21:23 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 6D5F6366DB3 for ; Tue, 21 Jul 2020 20:21:23 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BB93R2NKFz4BKR for ; Tue, 21 Jul 2020 20:21:23 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-qk1-f175.google.com (mail-qk1-f175.google.com [209.85.222.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id 2BFCD28021 for ; Tue, 21 Jul 2020 20:21:23 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-qk1-f175.google.com with SMTP id g26so10524589qka.3 for ; Tue, 21 Jul 2020 13:21:23 -0700 (PDT) X-Gm-Message-State: AOAM531oYYXW/NJKkSF5RvVl7mxVyhUyLkRYT4pBtaKkzxjtDaeHJB6Y 9m3W63AY/ASoCDg2COfE9qwyRSxJ/NKLd2iUFQc= X-Google-Smtp-Source: ABdhPJxhUDgbk1htLLAciCvBlb/7Zsidd+fDt+5ZAtQzFK4gGBl/toJVcqfowLL/zRTLFwPtSPTgiBM+5SgSikdn+9M= X-Received: by 2002:a37:b987:: with SMTP id j129mr29337092qkf.120.1595362882752; Tue, 21 Jul 2020 13:21:22 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Kyle Evans Date: Tue, 21 Jul 2020 15:21:10 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: regdomain.xml To: Adrian Chadd Cc: Chris H , freebsd-wireless Content-Type: text/plain; charset="UTF-8" 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 20:21:23 -0000 On Tue, Jul 21, 2020 at 3:13 PM Adrian Chadd wrote: > > On Tue, 21 Jul 2020 at 12:59, Chris wrote: > > > > > So, I'd really like to figure out how to simplify the regdomain.xml file. > > > But - we should come up with a firm plan first. Luckily this IS basically > > > all userland work. :-) > > > > > +1 for the offer to dig in, Aaron! > > > > > What do others think? What should we do? > > I vote for recreating it as a CSV file. Would then be easier to work with > > and easy to convert to other formats -- json/xml/... > > > > Lol, if anything we'd likely use a format that we already use inside the > tree, so json or xml. I don't MIND xml, but I mind how it's laid out right > now . It makes extending things a pain in the rear. > Don't overlook ucl here, which can even do fancy stuff like file inclusion (which may or may not do object merging, based on how your ucl files are written) and is now used in a couple places of the tree. You could perhaps section off /usr/share/regdomain and do all kinds of fun stuff that reduces the labor involved.v