Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp128564lqz; Fri, 29 Mar 2024 10:40:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUhmbVGlBV7yJ/XcytDVELcv4YH92nf0GbJx+AcUX+/eo946LsMykit3eGpwoGud4zaj0GkHnxP5iATYcaML+AS78fyyB0Fgan7R3Ci7A== X-Google-Smtp-Source: AGHT+IECe0ORaTezuTlmilig0Srx40OwTY+8cb3iIrM2FU2qgSl78d/A2L0aLXPNBBLsUGagIxij X-Received: by 2002:a05:6a00:1484:b0:6e8:a703:d911 with SMTP id v4-20020a056a00148400b006e8a703d911mr9346556pfu.1.1711734021679; Fri, 29 Mar 2024 10:40:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711734021; cv=pass; d=google.com; s=arc-20160816; b=dJhRkKFXFpbM/hldeOvIL97pVHNfve5BurUvwnTweN935a7zNBjAhUEDVE6TQl8ZCA lWXb/K7UKO+h094YQ9IigwI0ZzNEhOnvheHJssmgeEqTIhCKRZgkndfciwWfFi3Tyl6u Tx97/sN2+fKA9lS3nKFeXANbeCtPoBAGESvowR3rt9jJR4GljJ5g/Ns+9o6FCpt7fKQ0 1cZotEYfERR2feVJx4azqFH3CXSjrNOevynboRCA2R1wiw6nywjQBAhj1iQzybOjJYms 0sG/LTyE9s+vlNFEfq/owsxRfaRobmQonEukBtdRGTWLrZBEu1Og2vOWDIyy8FT+vXTx NyCQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=1tBRvBwOGJBADcjAsEXj/T5ylMJxcWkLND6Vn10ZXEE=; fh=sG9jhBHEsNc76hLve58zfxxmeh0GUKp4yFB8ltJHOnE=; b=jN/M5vjDlZR4OXASs93rHS6YXlodG2lQ5nsQ+a+37Cm7twlFP6GVLcGvDQ0zrADCNl pXO6w1L4eb+fZi3zzkmyJAVMJAY90x6d+S7h95bq7dqsE9/K+c5f08Kzm72QYUiS587w AmFovA21TylP8eH72GWBOiWLixHHIyo2zOmcIyXGoidmKRTR3kWzgWE6cEBUnYGCFJmb z4t2ewlGXbWLizW+FrgC2OBXrcA0G7pcA8BVhSpRfS3Pku7hEZXzDqIUbyGJoMKjebkU Dwi+ohe6XY0wISR126IaDY94RxArc3+aFvrwyfMOmyYH0Im2NicQDH2GbX5Gv3x9G+PH YPIQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=BrB+zohV; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-wireless+bounces-5607-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5607-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id j6-20020a056a00234600b006eae00371aasi3138445pfj.230.2024.03.29.10.40.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 10:40:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-5607-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=BrB+zohV; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-wireless+bounces-5607-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5607-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 8468AB22510 for ; Fri, 29 Mar 2024 17:40:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D838753E28; Fri, 29 Mar 2024 17:40:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="BrB+zohV" X-Original-To: linux-wireless@vger.kernel.org Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 59A7F130E2D for ; Fri, 29 Mar 2024 17:40:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711734015; cv=none; b=mmhA0018BSYTlAykm9TuN1HUFIQU+930tPPk8z2pztM8raJoYtlPlMwSGTpercEc8Lq4F+x1ZEOonAJV5zwLP2H96n4H9KskjVwt0wgDSXB0NfxdocjPKVfEGNYiCCpZ93q+nTGdmWwO9n+DpjgGam4yByBR17dSSdCS6F1E1C0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711734015; c=relaxed/simple; bh=enzbxf5nhJTKWZ/9bAfnBAYHcIdluAoLNrUfu5q7FgU=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Hx1Lf1j/p8TmiGxdPixY0dpMRpqractJL51zIto5c+dtDZAd2U0p1NW2QsXAbw9D252qgscIQHuOMUT1NgXZM5tw92+Cudyg5RGLQgfzCDDvxcKl5iYvFWJmSgAcShyV/+3F216dsQR4VKm8XwyGNT7RUODUbMmnTdS2Pjv98DY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=BrB+zohV; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 42THVN85021944; Fri, 29 Mar 2024 17:39:38 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type; s=qcppdkim1; bh=1tBRvBwOGJBADcjAsEXj /T5ylMJxcWkLND6Vn10ZXEE=; b=BrB+zohV2l3Wpg9pU33nCBkvbokcUnl5lGlC sepV6nWYgx4XkNFp2Y4eR51I9NhbetETic/w9hWqxQ739ZrW2RGbEaL8A/5HEkhI FAYGMz3UDFQZG9ekX0w97wG74yAlrfuFpEDrx0nMsOml48f+kDeraixk4uCESKI7 KOoVVT3Ip3Rr98i1+Zv+xh6C7GIfJemRB0eqdLN1CafQl2HFg9qr04afBaZ0Khoi gNKBUQiFKwyb7ZykwXZpqouvmamNppYRWQANsm+KZp7xnlNfWWz5IwA+sr+SVIF8 lDJ6Aesc++67cPVqKGBbCYGEXudZ1mKWHJ/ZoLARtdOLtJko2A== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3x5np2a0jv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Mar 2024 17:39:38 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 42THdbms008129 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Mar 2024 17:39:37 GMT Received: from pradeepc2-linux.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Fri, 29 Mar 2024 10:39:37 -0700 From: Pradeep Kumar Chitrapu To: CC: , Pradeep Kumar Chitrapu Subject: [PATCH v2 1/6] wifi: ath12k: add channel 2 into 6 GHz channel list Date: Fri, 29 Mar 2024 10:39:21 -0700 Message-ID: <20240329173926.17741-2-quic_pradeepc@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240329173926.17741-1-quic_pradeepc@quicinc.com> References: <20240329173926.17741-1-quic_pradeepc@quicinc.com> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: vBKDoRx0dTYsqdouLgeZdR4t9BbgjJE5 X-Proofpoint-GUID: vBKDoRx0dTYsqdouLgeZdR4t9BbgjJE5 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-03-29_13,2024-03-28_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 lowpriorityscore=0 impostorscore=0 priorityscore=1501 spamscore=0 bulkscore=0 mlxscore=0 malwarescore=0 clxscore=1015 suspectscore=0 mlxlogscore=999 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2403210001 definitions=main-2403290157 Add support for the 6 GHz channel 2 with center frequency 5935 MHz and operating class 136 per IEEE Std 802.11ax-2021, Table E-4. Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3 Signed-off-by: Pradeep Kumar Chitrapu --- drivers/net/wireless/ath/ath12k/core.h | 2 +- drivers/net/wireless/ath/ath12k/mac.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath12k/core.h b/drivers/net/wireless/ath/ath12k/core.h index 97e5a0ccd233..ea5d0d9b54e4 100644 --- a/drivers/net/wireless/ath/ath12k/core.h +++ b/drivers/net/wireless/ath/ath12k/core.h @@ -430,7 +430,7 @@ struct ath12k_sta { #define ATH12K_MIN_5G_FREQ 4150 #define ATH12K_MIN_6G_FREQ 5925 #define ATH12K_MAX_6G_FREQ 7115 -#define ATH12K_NUM_CHANS 100 +#define ATH12K_NUM_CHANS 101 #define ATH12K_MAX_5G_CHAN 173 enum ath12k_state { diff --git a/drivers/net/wireless/ath/ath12k/mac.c b/drivers/net/wireless/ath/ath12k/mac.c index 52a5fb8b03e9..b91d34b602dd 100644 --- a/drivers/net/wireless/ath/ath12k/mac.c +++ b/drivers/net/wireless/ath/ath12k/mac.c @@ -90,6 +90,10 @@ static const struct ieee80211_channel ath12k_5ghz_channels[] = { }; static const struct ieee80211_channel ath12k_6ghz_channels[] = { + /* Operating Class 136 */ + CHAN6G(2, 5935, 0), + + /* Operating Classes 131-135 */ CHAN6G(1, 5955, 0), CHAN6G(5, 5975, 0), CHAN6G(9, 5995, 0), -- 2.17.1