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 KGsQJZDkEmF8KwEAgWs5BA (envelope-from ) for ; Tue, 10 Aug 2021 22:41:52 +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 6FepIJDkEmEkOwAAbx9fmQ (envelope-from ) for ; Tue, 10 Aug 2021 20:41:52 +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 6AA53EF59 for ; Tue, 10 Aug 2021 22:41:50 +0200 (CEST) Received: from localhost ([::1]:37440 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mDYZJ-0003fF-F5 for larch@yhetil.org; Tue, 10 Aug 2021 16:41:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43096) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDEtC-00006w-F6 for bug-guix@gnu.org; Mon, 09 Aug 2021 19:41:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46515) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mDEtC-0004GE-7f for bug-guix@gnu.org; Mon, 09 Aug 2021 19:41:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mDEtC-0006zo-3N for bug-guix@gnu.org; Mon, 09 Aug 2021 19:41: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:41: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: 49611@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162855242526839 (code B ref -1); Mon, 09 Aug 2021 23:41:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 Aug 2021 23:40:25 +0000 Received: from localhost ([127.0.0.1]:58061 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDEsb-0006yp-3u for submit@debbugs.gnu.org; Mon, 09 Aug 2021 19:40:25 -0400 Received: from lists.gnu.org ([209.51.188.17]:49056) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDEsZ-0006yh-8r for submit@debbugs.gnu.org; Mon, 09 Aug 2021 19:40:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43064) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDEsY-0008Sw-Kw for bug-guix@gnu.org; Mon, 09 Aug 2021 19:40:22 -0400 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:57641) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDEsV-0003in-SE for bug-guix@gnu.org; Mon, 09 Aug 2021 19:40:21 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 52741320094F for ; Mon, 9 Aug 2021 19:40:16 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 09 Aug 2021 19:40:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= tom-fitzhenry.me.uk; h=to:references:from:subject:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; s=fm2; bh=a6RoSixCzzF8Xq3+RXmJ4vMlSZ EyoSrVPyDI0T3DTpg=; b=RKqnmDn0cTyUAAhhb3qcER8srZUD96nDdkE5caC39T iYstpKzf2CPNspmKx9r+hcf8rHIm8H486DiXVsx8EfdrB3AzIFvgUAOA7IyCUJAT hy3RvDtXsCo8pUdhBM71Y9gZHkwZSsJ03jiCs19GFyp7tLOQMdjvkewLWKMW/uy9 ClcOlyKoGp7dX2Aijn06eSMvHWniNLj5nXbmpC6Td7cUnWvrQ4j6h5BPxgYbwZ/6 eNUG4+lSkQNuL2Yw5wbGQv7oYlU60lf2D04fa+499EAK3nQCzc/P5Mpei4JhIeS6 mujxbJ5QkeZpDho+0i9WTSreGawLSpF3iZ6kftcMNnqA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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=a6RoSixCzzF8Xq3+RXmJ4vMlSZEyoSrVPyDI0T3DT pg=; b=vsUNHiYdj8zB+Zh6j2lcF3YKG6AL2KLSWkoTpc7rrg2E6Y/oA2z7dLLmN VD0EoppX1BWOkztjvSz7uLDWy3SL5Km5UGX88dA5aGCHVaaKasU2fIl6mloM+Xb7 fUMLfFumIuareE3A2HRwts5ov+ykLUtLntw63cdnVg2gyS15yqfFhQ5Q+d+IZlKW dUyAu/+uonE9+gOnmolMBzTRty5tCY5mN08V9m7fL4xANELEPMrUj/qIO03uXyv3 wiUYH/twOCMU04+5Za5rUA9Tznf0+XuOCsr8Mlx9GDrPwm/ZIwtXUhHFNuW9esmc vFDTm3wSepirmx2vI0LscJed0FJjg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrjeekgddvhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepvfhfhffukffffgggjggtgfesthekre dttdefjeenucfhrhhomhepvfhomhcuhfhithiihhgvnhhrhicuoehtohhmsehtohhmqdhf ihhtiihhvghnrhihrdhmvgdruhhkqeenucggtffrrghtthgvrhhnpeeuveegvddukeeuje etteetvedtlefgtedtudfhgfetfeevkefhheelffdtveekvdenucffohhmrghinhepghhi thhhuhgsrdgtohhmpdhkvghrnhgvlhdrohhrghenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehtohhmsehtohhmqdhfihhtiihhvghnrhihrdhm vgdruhhk X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 9 Aug 2021 19:40:13 -0400 (EDT) References: <87r1fvsed1.fsf@waegenei.re> <871r7v77pa.fsf@kitej> From: Tom Fitzhenry Message-ID: Date: Tue, 10 Aug 2021 09:40:11 +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 Received-SPF: pass client-ip=64.147.123.21; envelope-from=tom@tom-fitzhenry.me.uk; helo=wout5-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , 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=1628628112; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=a6RoSixCzzF8Xq3+RXmJ4vMlSZEyoSrVPyDI0T3DTpg=; b=EtP4o2crAd1EzML4k43D6r2+Tg5uhItUMN9mX6PIiQy/ch4uhonf9Y8yoqIXSYkTNcbnSV 8+G0LOT+DHYSAo0qcgePxq0ENd0NyjZ6YnuzB3ZhDOElyZ+sAdmpE0LxFHKENkC4wmV1ee INxqi6DrfMSEIKoQ6f4DlZqkNQKnIHM/vPoQFzA5Ksvb8Oze0dWMrSVgQeFLqxn2cJtRyU kB0xu7qC8EhvF7uV+z341mjrzg0997Ppfu/Oj/hTXCBOGr2+6T+s+EM4tyOZCWit5evKcb 0whwG3z/uGNYXEoeT8j8wWDUoxrT1mUatu5wM3F8pkWtOhXEiD4RLFgTtLuypA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628628112; a=rsa-sha256; cv=none; b=ofgOBjHKBOTliWWrDngWuxFQKTD+LPOefZt1UDfhXKHHEtPbrAB8EJV5rJCMs/4dwC+1j7 ZacAaD3sR6TBJLeYSNUeSO7aSJ4booDgX1xbcMryLIPpyP5hnRhMwlTtI21nP9GQ4lQD3o UXCUoMth5D5PUcKUEn+YFocO1w9tOpPHYNtwFzUhe0EVvEIECbX70bNh83z0YBcdPS8sAD vXoeXH3ID8rBmFb3Dl/Lfrb4yKJhEggcHUkxwJcH7xRhNRhq/aPMa2vEtThGPUAYpcCWhX z3vJff1dUZb3trfNx0m635QAMVfvxUGnzXV/SY6Za9KIdmrrcLV7tB+nhJ+Ipw== 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=RKqnmDn0; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=vsUNHiYd; 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: -1.31 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tom-fitzhenry.me.uk header.s=fm2 header.b=RKqnmDn0; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=vsUNHiYd; 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: 6AA53EF59 X-Spam-Score: -1.31 X-Migadu-Scanner: scn1.migadu.com X-TUID: drXv7vIa8YgR On 20/07/2021 04:21, Katherine Cox-Buday wrote: > 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. My poor 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] It looks like the two supported ways to set regulatory domain are: * a card vendor/retailer that performs certification, and flashes the EEPROM. * a system integrator (e.g. off-the-shelf wireless routers, mobile phones, etc.) that 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