From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cCVyOZ3kEmGMKgEAgWs5BA (envelope-from ) for ; Tue, 10 Aug 2021 22:42:05 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id uE8ENZ3kEmHJOQAAbx9fmQ (envelope-from ) for ; Tue, 10 Aug 2021 20:42:05 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A6EB6F12B for ; Tue, 10 Aug 2021 22:42:03 +0200 (CEST) Received: from localhost ([::1]:37934 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mDYZW-00040f-Pf for larch@yhetil.org; Tue, 10 Aug 2021 16:42:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43670) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDEy2-0000R6-P7 for bug-guix@gnu.org; Mon, 09 Aug 2021 19:46:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46521) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mDEy2-0007ql-IP for bug-guix@gnu.org; Mon, 09 Aug 2021 19:46:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mDEy2-00076w-Hb for bug-guix@gnu.org; Mon, 09 Aug 2021 19:46:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#49611: Despite wireless-regdb being installed in my operating-system, dmesg indicates it can't find `regulatory.db` Resent-From: Tom Fitzhenry Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 09 Aug 2021 23:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49611 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Katherine Cox-Buday , Guillaume Le Vaillant Received: via spool by 49611-submit@debbugs.gnu.org id=B49611.162855276127325 (code B ref 49611); Mon, 09 Aug 2021 23:46:02 +0000 Received: (at 49611) by debbugs.gnu.org; 9 Aug 2021 23:46:01 +0000 Received: from localhost ([127.0.0.1]:58067 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDEy0-00076e-SA for submit@debbugs.gnu.org; Mon, 09 Aug 2021 19:46:01 -0400 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:49911) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDExy-00076R-SU for 49611@debbugs.gnu.org; Mon, 09 Aug 2021 19:45:59 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id E4974320091E; Mon, 9 Aug 2021 19:45:52 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Mon, 09 Aug 2021 19:45:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= tom-fitzhenry.me.uk; h=to:cc:references:from:subject:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; s=fm2; bh=VbFp7XLlYABXqggI9ySfq90Ysu OECA4gLWVU2GzUAKY=; b=lbvWaMhAAlz9lWJ+lhslmJoWFlv7cS96Eak2PXfopp qF6xpjYQGzJWAlIa+yQWCHCH61MMd31CCD+rmJRRmncsARMep7Hlemmu7isKw7MQ l/lTkfFhpsvgCMqQ+PNZ3u3xoIZaztPLwAY8odIllKo8lrGdiaWogzoZ1I3beLg5 MMVA4G6UD9iQrBewuUCWQXSIIGbJGlJKz5mtIAFrxwaTPHmGovcuasr2aqDTjSTG eEq8y75wvTZYmUCmRZWt9DkTq/bliatr3nQEYBQeWqXTP/RhXu81/7iI6OHgBJP2 nerKc+8JH/0TolluWxb5nKvkGXIfwY5l0JLOEB3ED3WQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=VbFp7XLlYABXqggI9ySfq90YsuOECA4gLWVU2GzUA KY=; b=Rfcqex7ynot49nLDdKz2t+PR+cMLSZlHrAMXr0T1O+urQHNcKbqukaS0m DtE6nVVVn4CXxP4Td7h4PkZDLEHef/JNupbDnMJ9Rk+4FeyH2cRx6LrrsoYsLm5P TCN4TGEcDlm4LQgfZv05mC4SMxbwCZosFyOOszGs6cxN+PYTCot6np3vIWM8unFo 41BJUHXwBLmkuPsI3VgAqxdQV6UgBFhVZoZl7Nt1pfmaIFA1aHyBfsLhr0j9DZml XrdLz7l1SE+TANtPm4/WJ7yMbaY/f4auZuDCqVhMfh+3Nlnzcj3t86oTZwMaZ+ia cTqFH7OdwVIkhM+a2TTcHHbAplJYg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrjeekgddvhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefvfhfhuffkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpefvohhmucfh ihhtiihhvghnrhihuceothhomhesthhomhdqfhhithiihhgvnhhrhidrmhgvrdhukheqne cuggftrfgrthhtvghrnhepueevgedvudekueejteetteevtdelgfettdduhffgteefveek hfehlefftdevkedvnecuffhomhgrihhnpehgihhthhhusgdrtghomhdpkhgvrhhnvghlrd horhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhep thhomhesthhomhdqfhhithiihhgvnhhrhidrmhgvrdhukh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 9 Aug 2021 19:45:49 -0400 (EDT) References: <87r1fvsed1.fsf@waegenei.re> <871r7v77pa.fsf@kitej> From: Tom Fitzhenry Message-ID: Date: Tue, 10 Aug 2021 09:45:46 +1000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Tue, 10 Aug 2021 16:41:40 -0400 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 49611@debbugs.gnu.org, Brice Waegeneire Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1628628125; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=VbFp7XLlYABXqggI9ySfq90YsuOECA4gLWVU2GzUAKY=; b=UUhlJm2iCpj+3o90if3+0TJsH82DqhR4jM/HRT5XVvUFnoLBIkx9nm10UZPFsZmCC+RPFA 6KtLIV25aLDkPwA/WAVYOrAl7AufE5lVvNEfGP6+X6xMEWG+pjw33zpCa3NW66SLKFXK/8 jcg4XSwy4RoJJ9vWwnBIMY2ZU0SgFhFfSQKzHT86UK319DjRneG5cegjAcXRyVvz8IFhKB iKkzLm97WR6aQqiap8kozkviJXj6KBdKqNdF3qXsh9xUKnw7A8ySXhbHqkyuC1Gz6IwDdK jm6XU7KtARDKUR7hvhPejUzB1rFRtCNoMGIq47IkAWI1uoFa2mYBonJjwIrrdQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628628125; a=rsa-sha256; cv=none; b=j/6Hu4s6yN5SDprnx05/yuJmpi7EmqZRIezR3kxVjcd0ksUv9z0SyJlCai6POqOrcU/SGZ sY75olQgbWp7dsfGX5LxqRIXA6rOnVNXOpSbs/j90OXipYuoHpUcvpnnsrImNpw12GkEvm A9pw50luPUrFRD2NhEF3p7k+ttSVCqTVjzstuCEV2K6cwYp4zFQJfxwuW2fJFxQ01t0SeV QL6zd96+fSGkgT8pgs3WrIPFQ6jQK5JNIIFetW/ZVQxGM8rsuGT7gMH2YnLuFx/3rzf5Fc L1TaDgAYUWqzoKF/HX3nRTIRVL0MiH7bQo+Pagt4M79FIoemkb2qnLZ12VywBQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tom-fitzhenry.me.uk header.s=fm2 header.b=lbvWaMhA; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=Rfcqex7y; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: 0.19 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tom-fitzhenry.me.uk header.s=fm2 header.b=lbvWaMhA; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=Rfcqex7y; dmarc=fail reason="SPF not aligned (relaxed)" header.from=tom-fitzhenry.me.uk (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: A6EB6F12B X-Spam-Score: 0.19 X-Migadu-Scanner: scn0.migadu.com X-TUID: /Kh7BPv8vLhI On 20/07/2021 04:21, Katherine Cox-Buday wrote: > This is not part of the bug per-say, but a question around this space: > despite all of this, I still cannot broadcast on US approved channels. > I think this is because the EEPROM on the card is set as global. What > am I missing? Do you know how Linux intend for people to notify the > stack that this is an OK thing to do? I know projects like OpenWRT > carry patches to the driver, but I keep thinking surely this is not > the only way. https://github.com/pcengines/apu2-documentation/issues/189 tracks this issue for PC Engines, which retails wireless cards whose EEPROM uses a global region. Disclaimer: I don't understand this well. My understanding is that Linux does not offer a way for end users to override the EEPROM, per "It should be reasonably impossible for a user to fail to comply with local regulations either unwittingly or by accident."[0] I can see two supported ways to set the regulatory domain: * a card vendor/retailer performs certification, and flashes the EEPROM accordingly. * a system integrator (e.g. off-the-shelf wireless routers, mobile phones, etc.) performs certification and sets CONFIG_CFG80211_CERTIFICATION_ONUS. Linux does offer a way to indicate your current region via CRDA[1], but this is for the "travelling in another country" usecase, and acts to restrict the driver to intersection(EEPROM, country). 0. https://wireless.wiki.kernel.org/en/developers/regulatory/statement 1. https://wireless.wiki.kernel.org/en/developers/regulatory