Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp225758lqo; Thu, 9 May 2024 19:16:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVC/RkLU3HBtnPQ62AXT6oL5k5P9yg+TcLjiD9hy9iHC31B7KKVKUP4aoWjb7x8JupVtuypQetQx3rA/LdCL19KtijWuQ9Nb/MfEoUGdA== X-Google-Smtp-Source: AGHT+IElmgBHFfYg8lzLqtVJc9aUEViRhHMD89QOiWvty8hy5C7KBGA9mW1HC0mbDgVdvPiTO026 X-Received: by 2002:a17:902:c94f:b0:1ee:a09e:c7af with SMTP id d9443c01a7336-1ef43f4d784mr16650815ad.54.1715307369773; Thu, 09 May 2024 19:16:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715307369; cv=pass; d=google.com; s=arc-20160816; b=oE8LS0l7mrRXTMp0hgDES1fyF7EncFMYtxNZD6w53m6L4uNt6bRoce8UtCTDxhx08u PdG+0BRboWCRLO2/Etm8ywaGU9btLztMcrBuk5khwL4afItd59hfokVXuqSfKVjEkCfS 85ENHg9Ul3biSvEQTi4UIN5MhLo1jl8gHgwHAS4zO37WOToS1O3xXNhJr/Y55Nsdr2zc 4JxSCMFbRgM2MymJPsndolDufW2yDgSqarp6AnZ/cl8uo4nDQRkql58+Ua0zli9sENe2 YAMOFcHBEROFZo0Wy2vPsELMot1VMf/Hwze6Ms3vNqSfddGW9pYiYMsHQFr5YbP67JM9 NUBg== ARC-Message-Signature: i=2; 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=gB7zNLZr+Lbij8uj+HfDGqSlSiXhfo8qjfbahnPHcd4=; fh=At257wWK3kSGIbGDktmWBGlDug++rPGntE82ReerWME=; b=AjnEcyP6Xl7B5gf5UiJHlx14ngvI7MaRkL5ww/aIdHjNGtIGWVxF1UHIc9KGTmzTDW ZGFsdbrNTTyWMUcombxLgBYwHe0DT7rM7gDGOBoM4Sp307gHnL41AFJlIz/JiDUZTPll quhua1goBznWtaZ3KYH3eOn14xsx5YJYrDRARLvatb6UsueGfFAx29zOpxL2luebUsys JXl08nSs+qNc2Fldvekon9w9LW2MaGHVcb0CJV10IH9eKUW7zbwzkQOcwX00TPapzgXy O67OPt5BiBawITof6aYNgZNjvQq6rsB6ogl40xFLj8HDV05M1NCLufurw4trzV26mzOr 7uRA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=RQ6rfvK6; 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-7406-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7406-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 d9443c01a7336-1ef0b9cf1cbsi26591615ad.76.2024.05.09.19.16.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 19:16:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-7406-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=RQ6rfvK6; 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-7406-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7406-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 033B3282AB4 for ; Fri, 10 May 2024 02:16:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EE58113B5B3; Fri, 10 May 2024 02:16:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="RQ6rfvK6" 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 5228AECF for ; Fri, 10 May 2024 02:16:05 +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=1715307366; cv=none; b=fAXT7I6j349HKJBuSnlIojk/YJ1L8hAwhOS8d1NyEO00XiHKJ5xkljlkVg5O54T+CuWvOuyxXZfMNzmP/9eODxmp0WdbU5jTd2aHdz7obhUgC5SRYTtKhq9zo0Shw9HCZ3DvNvCoelJoah2oPdnObu7kzYw+6/KsNwwy1E1je88= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715307366; c=relaxed/simple; bh=HoBTZnb1XePy6NjCrgI4nOXapL6Y9xaKk8+HEFSfNFc=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=n4AProWQob412GL8NgKKxxcPHLpTuyBxQzrAOPVy5zbte/co9gySNDPdkWpZL9fVACtlJ8qDQs6xm7QKQuPzAOL7rM07hsImAjKNF4biOWN4KzQ3I6ZFPOgUlQmu7eMYSczoryE4ZTHzRPyIMhDLnsqEfmvq3JrTwGJ+9XC5HP4= 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=RQ6rfvK6; 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 (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 44A1B61S028216; Fri, 10 May 2024 02:16:00 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=gB7zNLZr+Lbij8uj+HfDGqSlSiXhfo8qjfbahnPHcd4=; b=RQ 6rfvK6SPNPMmcXRJm9yDYILO75YPksV0q8zb04xwaBmLHg8JiNbTfTsUAjo3CA4R wM+Kv7l4umcfyOwA0hH5h9SvPtFJ3HJGlKNIE0C7ttz6EAUd4oMKLDCRCmz61a9H dUvnQuOlgPziuOC7Dv7VdwrKpso+bkbd8OmYD5QjZhyDGyMEbXMZD7XqlsWsX8Cj cEZMJmAvgPwSo1Lv1N2KUXfuqLyq0d9nXK+IIRJic3yUHwNlbk826GdTX/CgdklQ 00zd+Spbe+7TWHloy2WlNI6iJR2nI4fE4x9ocaAeBHfLAArBiCUC6Y+6oiWaiA5E /Gf23AsMwddwTKdiKVSA== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3y16w28bf9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 10 May 2024 02:16:00 +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 44A2FxuJ026110 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 10 May 2024 02:15:59 GMT Received: from [10.110.100.57] (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; Thu, 9 May 2024 19:15:58 -0700 Message-ID: Date: Thu, 9 May 2024 19:15:58 -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 v4 2/8] wifi: ath12k: Add helpers to get or set ath12k_hw Content-Language: en-US To: Harshitha Prem , CC: , Karthikeyan Periyasamy References: <20240507045702.2858954-1-quic_hprem@quicinc.com> <20240507045702.2858954-3-quic_hprem@quicinc.com> From: Jeff Johnson In-Reply-To: <20240507045702.2858954-3-quic_hprem@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-GUID: T54WGhJkWxftNN6s-6z6QQWDuokc3Lec X-Proofpoint-ORIG-GUID: T54WGhJkWxftNN6s-6z6QQWDuokc3Lec X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-05-10_01,2024-05-09_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 malwarescore=0 phishscore=0 priorityscore=1501 mlxlogscore=607 mlxscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 adultscore=0 bulkscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405010000 definitions=main-2405100015 On 5/6/2024 9:56 PM, Harshitha Prem wrote: > From: Karthikeyan Periyasamy > > Currently, one or more ath12k_hw is part of a device (ath12k_base) but > in future, it would be part of device group abstraction (ath12k_hw_group), > i.e., when multiple radios (ar) across different devices can be combined > together in a device group (ath12k_hw_group). > > In order to facilitate the above transition, introduce helpers such as > ath12k_ab_to_ah() and ath12k_ab_set_ah() to get and set values of ath12k_hw > respectively. > > Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 > > Signed-off-by: Karthikeyan Periyasamy > Signed-off-by: Harshitha Prem Acked-by: Jeff Johnson