Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1322531ybg; Thu, 11 Jun 2020 07:00:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzqWExUHKIcKQrFSW39KVsYbpfIt6+MKl7GVxe/huS6eXuB9nQt0s7OzhNpPwleM011P5Mk X-Received: by 2002:a17:906:2a4d:: with SMTP id k13mr8813407eje.253.1591884058953; Thu, 11 Jun 2020 07:00:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591884058; cv=none; d=google.com; s=arc-20160816; b=arj+XVqstdclZgE3w0iUyl0Jk/gHeRBFalXBpPTIPI38qMXRJwaW1hBwGiqGh5P2kO YJP5Sdvkm7cPzellKElDYK+6bHjOPtV366Sno7yZkF993HN9RwyJ6/qrXogqHe5TQexP R+3vEkcZdNuchrcJzBVA857TA2ufV/Et3avcHc6KE4oBdZFGnFNJYk3X8hSGvz4MJHod h4BqGt8TC6cJvjmISSXGfV58vj/Fl1hkfY5TgmlMUJ+XsqYmURIOgqLjew7Hc7NrJ1dA 2KLCUdqRWyVrKl/5EPlqoq6fSBTG9qvxRbCLDxHA7+RudB+HozKD4WoXF6xOz4qGup5s tnQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:mime-version:user-agent:date:message-id :autocrypt:subject:from:to; bh=/YS+rsGEzIEPE922u92Z8LzjmE2xb/SBZ+W5doZKKvc=; b=TeqRir6jD0mgwMZN4hYwqowq7eA8ha7LXUKxm9UTEf9NF3Whr/7q2cceGFINjoud1G UFhyXxRsFop8GQ+OTdikr7GPGJcfFjSKqFvueG8yoMHlKjV+VdDkBVAdBVBO/4RoQ7Bu V7NT8GXk+0srqMdCDqW4DQU6Ga6Mn6Ikam92V4swM8ZtANC3uskGx57uID9ALk6IMJWJ DCESJVh/KdVq8fncDDHiqxH/wZCm1wkRm1yr8lcqX7LZuyIHb5msCvkkJpYqC5+0WTeM n2WzX0LAY/JGz/S8Tbcm0NXGjqJtAuIq4Dmr2xXlhpOxANHImQQU+voLs5+ch1KzzKGh 9hvA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h12si1694486edz.575.2020.06.11.07.00.19; Thu, 11 Jun 2020 07:00:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726955AbgFKNzR convert rfc822-to-8bit (ORCPT + 99 others); Thu, 11 Jun 2020 09:55:17 -0400 Received: from smail.rz.tu-ilmenau.de ([141.24.186.67]:46138 "EHLO smail.rz.tu-ilmenau.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727815AbgFKNzP (ORCPT ); Thu, 11 Jun 2020 09:55:15 -0400 Received: from [192.168.178.27] (unknown [87.147.49.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smail.rz.tu-ilmenau.de (Postfix) with ESMTPSA id 7EE4A580245 for ; Thu, 11 Jun 2020 15:55:13 +0200 (CEST) To: linux-wireless@vger.kernel.org From: Markus Theil Subject: Regulatory Rule Matching for Adjacent Rules Autocrypt: addr=markus.theil@tu-ilmenau.de; keydata= mQINBF7QuV0BEACYaiAXGmLtuHHqn37GUkDV2K7DSvTSZlPQ5q1DJSVS5mPyFtqqWeQr5jEM lrG5sSLSQdQqVDrKB9brno0u2yVYmQs+QY9wgrIrDBeDX+tHmKUDioN+EFpwSFh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AmFiEEzUCpqkWOXWpv8OBcZCp81zDU EHAFAl7QuV0CGwwFCQlmAYAACgkQZCp81zDUEHCJcQ/+KGDu2a5Z+a2Di71FnobSWBeG8q1n twVOErcBacwC/UmRdXzJb27FxwsJf1mhp7wvzEp+OVVAa2R5zYLiAuIroJuB5ezzKE98qpEp d6A2zWwQjGBxEHvFm33mXRZndEy7mSzQl7KL5qlXQwW2dNoYDH7K/F7EVhD5VYSroMQnytst uqsKzGMsSIpo8wvZsaqWQbRmV2FU3DeI+m7KVCPFQUgKa4imgDHcknxqQ5CgVYbSnWLzdjs0 /IAJHkA5ES/dAgEodMw/q9kFnuvURn+UOqS/G8+JhVb2P2SWUSX62vE9bJpSxjXCOWxh+09S HKjxz2SJO80jJTq0JXyHgQwKh0frtzdj3MBVheC++3qnl+Tb/uf2Y492zlR/P9JpoYXaliCR 7kXmhjiYJO1hoV04XPQAZJyx3/ll3rwT9dRX9K8+RAc7DWd71Sa+0A6EUaKZ+IxpN2h0gHOc ynyZfh78dp/+Il4IpgMtewA3aRYzjsnAuisUcgqFiEDUAhYxeJo3qYcewbb6u1lj9mZJj4Hw 4hhZ0lPC3oNT4a4V4IJX5+WRWcRFgrZjSAJE1VgMeqbBIK4qajpX3ugXpoBb/m2/JLIeP+Yf DNjaaWVQV4QO+ibYz1Kay6Y4+M1NhxrlyfhdfuOWu5FLuDRww14hdF2Y6MbIFOY33Al7hCy9 HbCBIiM= Message-ID: <36c2778e-d2bb-b048-8cc3-21cfa0643c23@tu-ilmenau.de> Date: Thu, 11 Jun 2020 15:55:13 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Content-Language: en-US Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hi, In the current implementation in net/wireless/reg.c a channel is only then allowed if it falls into a regulatory rule which allows it. Channel 144 (5710–5730 MHz) in Germany could possibly be allowed, but lies in the union of the frequency ranges of two adjacent reg. rules.         (5470 - 5725 @ 160), (N/A, 26), (0 ms), DFS         (5725 - 5875 @ 80), (N/A, 13), (N/A) It would therefore be necessary, to combine two adjacent rules correctly. The resulting channel definition would therefore be limited to 13dBm, 80 MHz and has to use DFS. Should the regulatory code be altered to allow for such checks or do I understand this completely wrong? Regards, Markus