Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp637965lqd; Wed, 24 Apr 2024 12:12:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVES5UTNnrrZHAcZy1uIfJOS0ttbjY89ZEg7U7+aT1NY0Mm54nfYIhdVFO3/VQkQIM9QO6dlRGWkkkJNbpebumZfOhMyXmXxPO4Vo31VA== X-Google-Smtp-Source: AGHT+IHnNqM/yBUxCJB3MJ9q2uKWJksULlnCWwj3jmnDbkMSR9iznGK6my90Z+nvsRiZzCfBbFe5 X-Received: by 2002:a17:903:24f:b0:1e9:635:d04e with SMTP id j15-20020a170903024f00b001e90635d04emr3813895plh.44.1713985923764; Wed, 24 Apr 2024 12:12:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713985923; cv=pass; d=google.com; s=arc-20160816; b=B/SU/t7WyX2TxhgmgFJwAGGUQy5hphI7L/OR2w9WcG3NXyc/IC0Eniqph7hxpegckW rnVM9gZpTnKV9SAfpPPExH2tE8dM8vSEwY36f6yeMjJYhBoatOkThT0HZ0ESiZgucFDh JUhKDDcET8JJADsn0H/wYszy7vtnelJxDRtqOowosXyrER5Zfwq+KchskQY+SjSf7nRu Mkt6BIcwL3IPhmTrgru2VXuw0reQA2PXieOymTuVGfvZxZbapVt+rSSKbaaboX0cbRRx +JruyzpsUGGN4cD92gbhB2b9q9Z5xN4nOi1/qwSzT+8OiryAo64v4vrajT0syEt8E0+v gqrg== 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=DenjpMhHLKQrtXVeGUyxFi/JMRbsRtCYVIBp04lFejY=; fh=sG9jhBHEsNc76hLve58zfxxmeh0GUKp4yFB8ltJHOnE=; b=08/Rk9ygnvSX1CNhp+gLW11zInhjKzDp1MYCX/2zEIXS6mWd138axIqSw1MWBRk2jc SKpfv1oopjvRmuKSUCejrpsfmQDoEbcVh1PdLnk0k2ShfMbJ8zicOMjMO+jkYtB9roUn 4Tmnm7erJmIuOjYce/5qTogUGumTFM0xzpnhDncybI+E1XmSl+1hW1I0d6yrEzDFuDgh YqDgcdwVGzPz0jlGmpbY9qFAMrR4MNdaFWyjLH7ggUuRwtqMzCzcMxbcBNV1mztz/+Na TLBR5VONId7k3iGTUPTcTKly8/om2/Yz8AFy2mns69tE4G0KGUdm2xV0dGFheSlLf0Ok FbBQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=c8nCZU0w; 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-6776-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6776-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id a2-20020a170902900200b001e2a0760af0si11278079plp.422.2024.04.24.12.12.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 12:12:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-6776-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=c8nCZU0w; 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-6776-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6776-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id F33C328147B for ; Wed, 24 Apr 2024 19:12:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8CD721CFA0; Wed, 24 Apr 2024 19:12:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="c8nCZU0w" 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 D61067FF for ; Wed, 24 Apr 2024 19:11:58 +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=1713985920; cv=none; b=gC6peZEsB+tOKL6EEmpCV/3y3x5oqBINxJDh8CSuc6OBaj8AEvqBPDIERUpJWmKVp6L9WLvT1ZkijDyz2L+pU6lddfCqBhoyd95qRSsI5FFH6kvL9RtVhAhZwOidWfI23a2LiJ0jyQnfGRpC6iaDXfNjSoDk8PN4sGQCt48eoxA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713985920; c=relaxed/simple; bh=rvwhxdv04ii1EvtwqFIQMh38FRkUCvG17AxaQSSSPjo=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Ofd0nlZyD5JFUgAF+KJi/khR/uqJuA5Rvcasti7R1HgzdxKZlq5mDVWtJ9Zs2UGvGMg6yWWKxPItNAS/4kc1PwCsJXG85Cu27KqdpTc9a/vgX1LroMFV1kGC1DPDAMLi4u6t/DNFWAWQA4jLPzz76jewaoJSamw43WJliykYVAw= 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=c8nCZU0w; 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.18.1.2/8.18.1.2) with ESMTP id 43OIo4eX014656; Wed, 24 Apr 2024 19:11:52 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=DenjpMhHLKQrtXVeGUyx Fi/JMRbsRtCYVIBp04lFejY=; b=c8nCZU0wbf9z3PeIktGOBqwp5xJEYKQGEFjX tXqCFmZ93QGD5vcIT4kvbeEjWTs6V71R3gUwnTAqOEP3fQ2+Bu5iaKOpZXb0VTdq ElW/hNfSsT5D9gn/TpCrBMna1PrqnPVhwm0HgizGfpcuQzqVTIsmN2yh3w1AkP4i EKhrrcnPBFqIk14GtG4bU3swHUGQhlZ+MgOzbsbZ0A1QW6wBGwG0VVeQ1Y2f4gsV DollvJafj4ykbb/Ie3sOgaCcDq6IdxTD0p7jWctqRJ6YgmS0taxDsbdgM1FDfBmB f7YcBm6pq3h2ieaZx0qfZmB4gN6aA2ENbt0M4QzWpqtuVk5iGg== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3xpv9e1ytb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 24 Apr 2024 19:11:52 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 43OJBqHI015974 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 24 Apr 2024 19:11:52 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.1544.9; Wed, 24 Apr 2024 12:11:51 -0700 From: Pradeep Kumar Chitrapu To: CC: , Pradeep Kumar Chitrapu Subject: [PATCH V3 1/6] wifi: ath12k: add channel 2 into 6 GHz channel list Date: Wed, 24 Apr 2024 12:11:36 -0700 Message-ID: <20240424191141.32549-2-quic_pradeepc@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240424191141.32549-1-quic_pradeepc@quicinc.com> References: <20240424191141.32549-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-GUID: KBPIOmdhQKDZqv6Jw6XIhOU3tbi7uI6B X-Proofpoint-ORIG-GUID: KBPIOmdhQKDZqv6Jw6XIhOU3tbi7uI6B X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1011,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-04-24_16,2024-04-24_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 bulkscore=0 priorityscore=1501 malwarescore=0 mlxscore=0 phishscore=0 mlxlogscore=999 clxscore=1015 spamscore=0 adultscore=0 lowpriorityscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2404010003 definitions=main-2404240091 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 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 47dde4401210..5113b630ffee 100644 --- a/drivers/net/wireless/ath/ath12k/core.h +++ b/drivers/net/wireless/ath/ath12k/core.h @@ -454,7 +454,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 56b1f8b6844e..b471b27d6594 100644 --- a/drivers/net/wireless/ath/ath12k/mac.c +++ b/drivers/net/wireless/ath/ath12k/mac.c @@ -91,6 +91,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