Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2957767lqp; Mon, 25 Mar 2024 14:32:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW2T5tXzYmEGEjtnl9qIVVEbPDb+cD1638UYs2I/JlPjlUUAAzT+ZqxDjDO1WGlej1seEHlJjVTAXz04C+IZKBhrg8EpRfK7fbJni8mqg== X-Google-Smtp-Source: AGHT+IHdWRVBS7coOODtELalDLlCDA0j0PnakBcMhnMqUa5pb95DHo9afCpabarm0alvoO4no466 X-Received: by 2002:a05:6512:2f5:b0:515:92fe:4356 with SMTP id m21-20020a05651202f500b0051592fe4356mr5237688lfq.2.1711402362129; Mon, 25 Mar 2024 14:32:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711402362; cv=pass; d=google.com; s=arc-20160816; b=HmPB1Tf+hWuonA6HJC/ZsKqaiJD4wAbRxJEUMyhFhDY+VOZY6yFuhCFp8wVSrpz9/U L/Tv3c6NWmvwNB6EzqeQPWlqPp9Im03nXKkwV1RuRnEVUpXpkH8gIlPZ2Om7masXhmY9 ebHO38iueesIJA4zxA+IDtkCJOZ1MbWNnSFgo8GfFNZ0vLyIpePq5nzG8zqoKwd2kDMF bZh8jxLvIqVR3bVKgNmo0aH6z1XaJIapi7iam/MClJyopjMPa3IuA8rcVVaxIoqCfQqk OvbfoZn/J5np/vvBfqUyJuxXJ1hZQlSF6F16G+FwTtZ4Rhdla1+3XKcRf0s1lvxYmBhu F6rA== 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=sxET2FS+KYKMC/BDlH1oF4lG1tavRQGIOVk28GXdDn8=; fh=sG9jhBHEsNc76hLve58zfxxmeh0GUKp4yFB8ltJHOnE=; b=kioe6FWNUmchzQOL1iwrOznoh3WO/R0PPa0cu+DFBrrrFGNvM/KjSwQAYW7MyvWm6b j3f3gpEGP5nGtlroNm1SRVO/Da//JG4/67VXEP0xSNVAxctcFAxT32FgepSPSCl2HOOq UUJ9v5fgnqFLiGwpOIv6MJ38Q8zWsWspVOXqSG8vQxtQnAkUgOJ27UPulrdbOSxj38/i KTqsxy8T8WJjGFbnBAfPSHvLTguI4hDOK1zXruHz2VRHsxMo9dYB+MRXfoOGi0Qvcl3q dDkXZBZvxr9G+VKDREqNiky19Fyb6TmiaiMmmCwqydXYLkXxgksJMSP1BcsQnO1uC4zV YFYg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=cQ6FnD6N; 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-5250-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5250-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id b6-20020a056402350600b0056bd010477fsi2815170edd.325.2024.03.25.14.32.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 14:32:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-5250-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=cQ6FnD6N; 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-5250-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5250-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 4B5181FA2F2E for ; Mon, 25 Mar 2024 21:23:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 63ECE6D1CC; Mon, 25 Mar 2024 21:23:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="cQ6FnD6N" X-Original-To: linux-wireless@vger.kernel.org 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 D35C06CDBA for ; Mon, 25 Mar 2024 21:23:22 +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=1711401805; cv=none; b=EcO600KsNspYDi3vIGiKFnP0lF03+JEWGGYR0v5peeXIIjZ/RcGCARXL9abmMiew23swo5pguXd3ehRGbbG0n7THcUNWFCpsDomCTtZj5HjnHjamkm54exRz5ictYE3hlS7zI5tqLJibfm/w5Lh4Teq6sulXGly/WjLldPbHkTs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711401805; c=relaxed/simple; bh=nPvLj7qD+535NCferRgrgIU+ELfr0Efb/fYKyMH50Hs=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=gOiis1RQXSlocYjRJNiz7HqKV/ITG4EXMBoz5gIcJoDTMbpqJWnqTFGuP68aMsI8GGHRsX+rU5ndkrnRseGD17N/DPFDoEBJOKog8sZt5QPPw7TzmONPFuDIedgAZxeFOK/jO7tE05GJEe9S3HJcZpiiQSolhPdg6Z9UhxT4lh4= 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=cQ6FnD6N; arc=none smtp.client-ip=205.220.180.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 (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 42PKU6GZ005904; Mon, 25 Mar 2024 21:23:18 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=sxET2FS+KYKMC/BDlH1o F4lG1tavRQGIOVk28GXdDn8=; b=cQ6FnD6NswIpKufAGqFhLzuJo5fzfqrv2eb3 EbSfCa9z1LT/YC+E0A2lid0LTkQSmIMLrDCMhOQ4cHblZoYBpWWMv+7N4EgBUZ81 3B1dQx+wYuDqu2YN3lVc9isEnj1lBpLghDd080Gl9NPUyIFay4FTzS4jPvQkECW/ 8lFA5Gll3Jvff0cSb9Z/tFfMW2vlBxcBAu3wNJDAmMXJkP77MxQBw3iMt3KZyEE+ JW2Mt3ybGnyhV2enh2ftXVaw3nLbhcQEVzpV1VQzNEd3+GOTIDatsAaJEMfegZtu dbPORnIcURDBbCsuKTph3nHxU2tblLUSEQ/ggRZPq2hI0wBKEQ== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3x319ja5t5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 25 Mar 2024 21:23:18 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 42PLNHpb001587 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 25 Mar 2024 21:23:17 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; Mon, 25 Mar 2024 14:23:17 -0700 From: Pradeep Kumar Chitrapu To: CC: , Pradeep Kumar Chitrapu Subject: [PATCH 1/6] wifi: ath12k: add channel 2 into 6 GHz channel list Date: Mon, 25 Mar 2024 14:22:59 -0700 Message-ID: <20240325212304.28241-2-quic_pradeepc@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240325212304.28241-1-quic_pradeepc@quicinc.com> References: <20240325212304.28241-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: lwd6GBsnfePREWwxQ6lo4_UoUam-i2dG X-Proofpoint-GUID: lwd6GBsnfePREWwxQ6lo4_UoUam-i2dG 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-25_21,2024-03-21_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 suspectscore=0 mlxscore=0 impostorscore=0 lowpriorityscore=0 bulkscore=0 clxscore=1015 adultscore=0 mlxlogscore=999 priorityscore=1501 spamscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2403210001 definitions=main-2403250132 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 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