Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp2412981rdd; Fri, 12 Jan 2024 08:39:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IEuJQafgOKnm107LKmC5xilYSNEymMFu1ks8eBPzQzXJmI5UQEb93ESqPYKKBQZSpf0rDks X-Received: by 2002:a17:902:e5ca:b0:1d4:ef61:2407 with SMTP id u10-20020a170902e5ca00b001d4ef612407mr1389544plf.74.1705077568668; Fri, 12 Jan 2024 08:39:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705077568; cv=none; d=google.com; s=arc-20160816; b=XAoK39QLbM+uvImi+JnIQT+kxIHuDhn/s/qSjOFWn4/MCEleETlXapkf3jsbozBP2b FijLtozYOSY7lLOv4ySyh41sj4fHrpb5HEciiQfvmIftBPrgN3H4If+AUY1f1oliF+Bi RuxZS7EsacR9Siaedg+VIXCUPfw6IC7D2G4qUbgd7R7MYS6FrUvuedf527auNYfKb69g SjKubqIV8C+Oc0TKlkzasuXQgJnW1P+wyhsFVxyzfaveEQ+CPISeAftzmUhD+knRplnE JESsrr+GmLFM3FWyvIE/dIL0igIEQlxWZ04Np0o6bPachEe1xdoEKz7XjUhcTJwMMjiw 40Xw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=08WVi6h6ejnrh4eCn/NLZ0wIGmpUNC9+sQC0C4MZ9DM=; fh=H1n+MC6g7LKUTwELnEK0g4ZhJk1fR9LyVP/4n5c0PMs=; b=p+qUVRvbREgzNNmUKKGCnZ+gE0eBsvGX1VoARNNH4EunQEB2iZCMx0aqCG4/RrE2WH YMs1V/N11G5p7UgI/GKLkvhLZm3patnTC3usj9mpzz7yGKUzFI+dsRceM7TZOCGfP0Gi lp7cf67m3/kZ6PDX4ThAF7nDr3HC2oJE3wtQtKh2TJDrk7slRYf2KZX/PyTwR+W1vqXd ZbHHwhgCQtao4JQiHFFJOnVBYodc01wNGqOaO3+h4/KH8xxBmOpl6t2MnoYapALRJnMs MeLUR5mEUa52OESkvCGgSWSHTayGgyDS4Nn0Pi3YUIPVdO/Xp034ZYdUIUq8PuUEARpu 3dng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=kbDyprdN; spf=pass (google.com: domain of linux-wireless+bounces-1823-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1823-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 kt7-20020a170903088700b001d56d45fe0fsi3383160plb.466.2024.01.12.08.39.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 08:39:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-1823-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=kbDyprdN; spf=pass (google.com: domain of linux-wireless+bounces-1823-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1823-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 16170282F61 for ; Fri, 12 Jan 2024 16:39:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BCCA6745D6; Fri, 12 Jan 2024 16:39:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="kbDyprdN" 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 39D4B6A028 for ; Fri, 12 Jan 2024 16:39:23 +0000 (UTC) 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 (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40CFTPAu029066; Fri, 12 Jan 2024 16:39:17 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= message-id:date:mime-version:subject:to:cc:references:from :in-reply-to:content-type:content-transfer-encoding; s= qcppdkim1; bh=08WVi6h6ejnrh4eCn/NLZ0wIGmpUNC9+sQC0C4MZ9DM=; b=kb DyprdNQL5PacdVqs46vrr+uxerEUy2hGs972cKzGL3GGJAHHgcFi6tyU1J8qMfq3 KS67wpMdDAcUSUXtWhwo535ZNpAy7S+m/QD2IcIPRwe+TWBUSWuLq0r7VSYOVDdy axFL9oXLsLzi5KFFsQ+FmCoeUuou6cfCdKDqSUV9w6XfJs/nn8L8HlPnjn2mqHt7 e8wN+M+G03ZrIAnsW1avZf2wlyqxPqFdKg2SmhG+odhVgYyUmpakFgvNSw6o61zh 4GfvjY/cDsNUG7Saw+3d+Ap1OhU3//omig9m+0bU2Hr2jFTNghM8jbOzELXLkpxv X6KXeDoJ/qgaTbDoGIVw== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vjxm61pqm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 12 Jan 2024 16:39:17 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 40CGdGKl012238 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 12 Jan 2024 16:39:16 GMT Received: from [10.110.16.29] (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, 12 Jan 2024 08:39:15 -0800 Message-ID: <27cc1c3c-183e-4b6a-a844-2a0b900080c1@quicinc.com> Date: Fri, 12 Jan 2024 08:39:15 -0800 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 v2 2/2] wifi: ath12k: Introduce the container for mac80211 hw Content-Language: en-US To: Karthikeyan Periyasamy , CC: References: <20240112024214.3481840-1-quic_periyasa@quicinc.com> <20240112024214.3481840-3-quic_periyasa@quicinc.com> From: Jeff Johnson In-Reply-To: <20240112024214.3481840-3-quic_periyasa@quicinc.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) 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: E71rm-RDfAYTou8bdgILWPbd1Otrt0zi X-Proofpoint-GUID: E71rm-RDfAYTou8bdgILWPbd1Otrt0zi X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_01,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=731 clxscore=1015 spamscore=0 mlxscore=0 lowpriorityscore=0 impostorscore=0 bulkscore=0 priorityscore=1501 phishscore=0 suspectscore=0 malwarescore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2401120131 On 1/11/2024 6:42 PM, Karthikeyan Periyasamy wrote: > To support multi link operation, we need to combine all the link/pdev > under a single wiphy. This avoids the overhead of synchronization > across multiple hardware instances in both the cfg80211 and mac80211 > layers. Currently, each link/pdev is registered as separate wiphy, > tightly coupled with link/pdev/radio (ar) structure. To enable single > wiphy registration within the chip, we decouple the wiphy data entity from > the link/pdev/radio (ar) structure and move it under the chip (ab) > structure with a new data container (ath12k_hw) structure. This approach > improves scalability for future multi link operation support. > > mac80211 hw private data structure diagram > ------------------------------------------ > > Now After > > +---------------------+ +---------------------+ > |mac80211 hw priv data| |mac80211 hw priv data| > | | | | > | | | | > | | | | > | | | ath12k_hw (ah) | > | | | | > | | +-------------------> | | > | ath12k (ar) | | +-------------+ | > | | | | | | > | | | | ath12k (ar) | | > | | | | | | > | | | | | | > | | | +-------------+ | > | | | | > | | | | > +---------------------+ +---------------------+ > > 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: Karthikeyan Periyasamy Acked-by: Jeff Johnson