From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ED9993F86EE for ; Fri, 11 Sep 2026 19:04:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789153490; cv=none; b=n4Mvl76vkANL2XtGXcNhGHrs6shQdWrj7bqagdmL85mI7O7pHvqWwc6rDbx7x8AGot8mJHUXPG3KuZwdYGCJmKNYk/IvoQSL88dqdeG7Luh9R2kKy7MsUvFA4D7KxsHGeTZrThIzEaf4202gkomXDKwyHGHIZ6nhQusrtVwFGxk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789153490; c=relaxed/simple; bh=yQiRl9MeV9tKsX6X7NZzmTmBBE64w4gdOL9s7E4Z9Z0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=sBFQjvAIVKVNyRv2okOYhAK8n4xasGGQKZS5TINw4bGrYpqjhodx0Z6JTcmhJauEUQzFkQQCjsLkqzD6SpVv4/OkzHqCuN4fsowJ8M/TlymhRA2HTOoYS0vrlIn0OaH1/kw2lKJoJn+yjzh6gHWHiXtvJwYQk5yj6iS4UybnovE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=E8jVy2+c; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=bzyL0hFX; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="E8jVy2+c"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="bzyL0hFX" Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 68BHWV38972048 for ; Fri, 11 Sep 2026 19:04:39 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= bXs2xynHDSjRZ/impVK9y9vG4YJMz2HwW3zOJHMfq+0=; b=E8jVy2+cXmNlHJ5I DpylD34o/nqKksIYZEYwk+amlBAXuOREpoaufcou/sxzeQZ5MlGDfYs4C6WszNzx 6NDlbC2im5su898AOt4+bh3v2tkAPS5BH/wIESHT7sBFgmoJOQBvwYF7RuzucFMC UVwIYd+d1aM4hSVXbIrRyAMrMbtQ2LiEQJ3ik+JJ36ZDHOzfjoIrCDtVljg7bfcK OlelqzF8vAkjR2yh3WLCFU9TTd+ozwbAW3kf8gu4gZjnAlnMNzZThWFBpjivzvYn RvAfpDTksjUxF1dV9vSTt+B5ASlWg/3Lr/w0767lUwHgAWQEatUF5dwtb7s5Ptc5 JJTZmA== Received: from mail-pl1-f200.google.com (mail-pl1-f200.google.com [209.85.214.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gmm22rwa9-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 11 Sep 2026 19:04:28 +0000 (GMT) Received: by mail-pl1-f200.google.com with SMTP id d9443c01a7336-2db87f759c5so21081435ad.1 for ; Fri, 11 Sep 2026 12:04:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1789153467; x=1789758267; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=bXs2xynHDSjRZ/impVK9y9vG4YJMz2HwW3zOJHMfq+0=; b=bzyL0hFXDWY9OdDoUkgZeUrl0fC6ddsarDJ4+MuAyk18gnUMTgKz2wFQy3yTQj6h73 FSAGnW+NGMvsoAFQohsbeVtxWBk3j2CjmYfI9a64J7iN5DQRzd+aXM5uxDF1MLCyfjvd +OHyj+4++cW6WQcGAo44KwmSg7wDmIYO/bQhqAnm0PjLKniFttN7YWWNx4ux8p/HVFkW mdgdcbrHKvSR5ubhGZizWpXmiBR44vz04nvuG1JZu6efymamgBN7DIafxQROsnzZwzFP JHlS4LG8Ebt4/wvFO2GilOGoKxw+aXTOsYv4SeTNJpWfoxNAoYV5ZRtnm+hdDxsvTBZM YXSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1789153467; x=1789758267; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=bXs2xynHDSjRZ/impVK9y9vG4YJMz2HwW3zOJHMfq+0=; b=I2cG3yA+CLXqceGdPpqf8eBeyXWs6v8s+A/OoZW4l/PMA5nGKAkFWoBTDK9n6fRr/i h1c0COiH+4E92LydLtwUGfawcH8GC74tQrHItfnJV1+ZHe1FT5nMI3Jd5innpr6DgcUu NBrXhHTBKdiSwpIG9KtazDDlBrf4H/RuWkbVusaUHz/fhB2OX5QszjKsUjjSAPmb+JdS Pa50ODWkM21qzJoBdLn+SD1ew4zUt6aHq8lFFEGnSlFQ6+Z/wGQmORfKK+XiOa4QmDfG ujsmN0JSp2wAZ9mKqySOxF+Pc8daeZkdpPX/o2B/P/ujHx3S6kr+beb1Gg9mwTS67Ji7 bUig== X-Forwarded-Encrypted: i=1; AKwUvBzA2gqvxd52aC7iYOXjUqe/qoZ4e8iNgt/e+AeWmLU4KwcQOnNCKuqnJxcpylZgGZZtb9PdJ6EXs6IcaC6l0g==@vger.kernel.org X-Gm-Message-State: AFuF++kPfLmYdk4Liz6eoq9W0/7xYMMr93i57i+oNiTcGfj+0D+HqeGY cTQDDRsxVke1xOINLhSn1w/3P3EmIzojLIVpR4ezPJoE6ybV+U0W/NYgboMx3LL3trGyjNbPvFa Jm0kWnsEC3vzTRAJx0T4/jr2ybvS9wxyIhT7l93ojr9NQ5nrx1K7+5bMryC0DXGohoSrDmw== X-Gm-Gg: AYBFou28YccGE/Acqogpn0+Bo5gBvTyWNGDEgNcNfoYpST654UAAyZJ4fYlV259E3Zd Tu5oj42MdTnYcjR4QG85Z+WWRWPas+Qg2WVAeDt3BRj7efsZZKyc9TAyn7Nv8P8bV2I/uBEVctU C6XGmEA4vfcqqpQaHljd14cHgtnycxNQ9GM45H6gq1kV854/z3R1gyiaixLVnEyD+DrevnjxmnG poTvzACsVcqYpCekvxptYXhWacoFpVIOG6hkPR7TcVOG/mh9Zt6ZAqSOh6P/ZrjArnkk6SrSD6M 5XghxaFj5dX73uXejcqvmJUYCiD5ReTATRiFQjcWpxMxXDl88HhHy3tBVH7WQCabi35ebsIu49m aEhOnEZCVANhsTylC4SnQYbHh39voNPVMq3jZpIuEZgA2OZ7zv2acDlHjYU6o X-Received: by 2002:a17:902:f693:b0:2ca:e19c:986 with SMTP id d9443c01a7336-2dd2a1c52damr90034705ad.1.1789153467071; Fri, 11 Sep 2026 12:04:27 -0700 (PDT) X-Received: by 2002:a17:902:f693:b0:2ca:e19c:986 with SMTP id d9443c01a7336-2dd2a1c52damr90034185ad.1.1789153466548; Fri, 11 Sep 2026 12:04:26 -0700 (PDT) Received: from [10.227.105.111] (i-global254.qualcomm.com. [199.106.103.254]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-33ba4e4fb3esm8541303eec.7.2026.09.11.12.04.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 11 Sep 2026 12:04:26 -0700 (PDT) Message-ID: Date: Fri, 11 Sep 2026 12:04:25 -0700 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH ath-devel] wifi: ath: split 5150-5350 regulatory rule To: Rosen Penev , linux-wireless@vger.kernel.org Cc: Jeff Johnson , open list References: <20260904022557.2679261-1-rosenp@gmail.com> Content-Language: en-US From: Jeff Johnson In-Reply-To: <20260904022557.2679261-1-rosenp@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwOTExMDI2OCBTYWx0ZWRfX4pN3Doa4ZeBM gViCYxp+IkI8aHk1Qs2YV24J0sfHXCTXsHUwspBZdW57wqC/N1QVttUlAQqCaF0OgjwTcoP0afl rcx+OFyPskt0PDfaV9I1d6ppwvidz/Puf3UTRtuMPBqKwUDl0w6wsDjjDiYPzsq9/g9Zd4l03YF +oLvE1r6bsWm2EEGH8ps8jstd4Vo9/0tDXxiSaXN2W5Y2dKmzks4sYMfqhltZ3TanFitOa4Y/i8 nAVFT18Vk0bjMdwca09HhmXAn8QwrY1LUhyx7GTcaLjtW+QVD+0kWa4JYUPPWdDIeMEN51erFzO 95KWfkxNEq0x1NbW49Flc5KORdcLGILmzU6QZm91SyqtJ+pew/AiWRyW09q68X2Z3pdBO/9qDNy MmRciRcosCesjuN7xrXF5vO0ORJKI5DlZUERPz9W5KrWAQjS2GY9ZZew+75rfVyQkgLZaw2LsHF QFFgvheKdM9eXSHEZBA== X-Authority-Analysis: v=2.4 cv=LPDz05W9 c=1 sm=1 tr=0 ts=6aa450bc cx=c_pps a=IZJwPbhc+fLeJZngyXXI0A==:117 a=JYp8KDb2vCoCEuGobkYCKw==:17 a=IkcTkHD0fZMA:10 a=VdqzKS8jKosA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_glEPmIy2e8OvE2BGh3C:22 a=pGLkceISAAAA:8 a=ot0yeRjmKC6ZJrFq8XUA:9 a=QEXdDO2ut3YA:10 a=uG9DUKGECoFWVXl0Dc02:22 X-Proofpoint-ORIG-GUID: tG9ZSQ2cROD3YjlohSSAJ8Ido4dg3xL- X-Proofpoint-Spam-Info: AW1haW4tMjYwOTExMDI2OCBTYWx0ZWRfX06ta5iq767eK sQNcFPFjiL1un8ryEpWGlZoBNKJ0teldOOE0wf7JSdjKUnQ+Jj6cjqKwXByj1uK0R14zTL49tcA XKhvJvm9mvgClgeC8iJBeBafvaM+9pI= X-Proofpoint-GUID: tG9ZSQ2cROD3YjlohSSAJ8Ido4dg3xL- X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-09-11_06,2026-09-11_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 adultscore=0 clxscore=1015 bulkscore=0 impostorscore=0 malwarescore=0 spamscore=0 suspectscore=0 priorityscore=1501 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2609040000 definitions=main-2609110268 On 9/3/2026 7:25 PM, Rosen Penev wrote: > Allow initiation in the 5150-5240 MHz portion of the world > regulatory rule while retaining NO_IR for 5260-5350 MHz, where > radar detection is required. > > The previous single rule marked both ranges NO_IR and unnecessarily > restricted channels 36-48. Update the rule counts for the expanded > rule list. My understanding is that this is not correct. In world mode the entire 5 GHz band is restricted since some countries do not allow any transmission in that band. You must establish that you are in a supported regulatory domain via 802.11d or other mechanisms before transmission. So I'm dropping this patch from patchwork > > Assisted-by: Codex:gpt-5.6-luna > Signed-off-by: Rosen Penev > --- > drivers/net/wireless/ath/regd.c | 13 +++++++------ > 1 file changed, 7 insertions(+), 6 deletions(-) > > diff --git a/drivers/net/wireless/ath/regd.c b/drivers/net/wireless/ath/regd.c > index f15e7bd690b5..b129af0eed88 100644 > --- a/drivers/net/wireless/ath/regd.c > +++ b/drivers/net/wireless/ath/regd.c > @@ -43,7 +43,8 @@ static int __ath_regd_init(struct ath_regulatory *reg); > NL80211_RRF_NO_OFDM) > > /* We allow IBSS on these on a case by case basis by regulatory domain */ > -#define ATH_5GHZ_5150_5350 REG_RULE(5150-10, 5350+10, 80, 0, 30,\ > +#define ATH_5GHZ_5150_5350 REG_RULE(5150-10, 5240+10, 80, 0, 30, 0),\ > + REG_RULE(5260-10, 5350+10, 80, 0, 30,\ > NL80211_RRF_NO_IR) > #define ATH_5GHZ_5470_5850 REG_RULE(5470-10, 5850+10, 80, 0, 30,\ > NL80211_RRF_NO_IR) > @@ -64,7 +65,7 @@ static int __ath_regd_init(struct ath_regulatory *reg); > /* Can be used for: > * 0x60, 0x61, 0x62 */ > static const struct ieee80211_regdomain ath_world_regdom_60_61_62 = { > - .n_reg_rules = 5, > + .n_reg_rules = 6, > .alpha2 = "99", > .reg_rules = { > ATH_2GHZ_ALL, > @@ -74,7 +75,7 @@ static const struct ieee80211_regdomain ath_world_regdom_60_61_62 = { > > /* Can be used by 0x63 and 0x65 */ > static const struct ieee80211_regdomain ath_world_regdom_63_65 = { > - .n_reg_rules = 4, > + .n_reg_rules = 5, > .alpha2 = "99", > .reg_rules = { > ATH_2GHZ_CH01_11, > @@ -85,7 +86,7 @@ static const struct ieee80211_regdomain ath_world_regdom_63_65 = { > > /* Can be used by 0x64 only */ > static const struct ieee80211_regdomain ath_world_regdom_64 = { > - .n_reg_rules = 3, > + .n_reg_rules = 4, > .alpha2 = "99", > .reg_rules = { > ATH_2GHZ_CH01_11, > @@ -95,7 +96,7 @@ static const struct ieee80211_regdomain ath_world_regdom_64 = { > > /* Can be used by 0x66 and 0x69 */ > static const struct ieee80211_regdomain ath_world_regdom_66_69 = { > - .n_reg_rules = 3, > + .n_reg_rules = 4, > .alpha2 = "99", > .reg_rules = { > ATH_2GHZ_CH01_11, > @@ -105,7 +106,7 @@ static const struct ieee80211_regdomain ath_world_regdom_66_69 = { > > /* Can be used by 0x67, 0x68, 0x6A and 0x6C */ > static const struct ieee80211_regdomain ath_world_regdom_67_68_6A_6C = { > - .n_reg_rules = 4, > + .n_reg_rules = 5, > .alpha2 = "99", > .reg_rules = { > ATH_2GHZ_CH01_11,