Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1228245rdb; Tue, 30 Jan 2024 11:39:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IG7bof0yQHV4hC82uQNZXiIP1Jl0HUEIyqUbVBAEt/OX/dWEEgZDPJhRM8c66+bXRK2uQ6y X-Received: by 2002:ac8:584c:0:b0:42b:e328:b08f with SMTP id h12-20020ac8584c000000b0042be328b08fmr578872qth.132.1706643586343; Tue, 30 Jan 2024 11:39:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706643586; cv=pass; d=google.com; s=arc-20160816; b=jIt32EWZiS0XPjYWV3V9K4AwLnhkmV3gX+rYuJPWUBtGSPvBVagEKstcDud8hC9MaZ AqQduXRf75SAsY5Q3at0ZN+iBrWpOH3NH7CYtBBpC+nnRQFL5UfJ73UFrDtA0RA+utPQ 5gtItRQy7udn/9tBEgK+qW836AgJjN2bRnuhWrCZtBz6szjYwGgHRPds9w5uHqvCWOp9 JSJdM7tDaLj5LgqlH5AupwjfzbMJtDeeP/1SHglgT7Lv1QI7IBbuYjzSxDh7DZHJHAxp QQ9LoYWrVT2AaW77qyj/O4HCseTB29fNcDO5q0p6SbuLm048VbLphC8vqPyFCeOtL4Rr IGbA== 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=wHpQNi3SPgGNFPX4WnWKqx8aKnS4rKWOnX1YC8Y72Vs=; fh=i4GsO2Fa/vu2PzGI+NeDoKQvcm7RQ2k2t4jrq0Wqtyo=; b=NkUlYFFDUjtCLY/vzkaJTAu4M2c8hMe+BYEncB+15OZEFoCLvO8DOwfjem//CCKudX aKRGbt55tVpLHjjCshlBoQZGSOjJ1CcuZLSSNngv9aef9XxSnQu0zY4n7VzVPI2XdWwH jNfTNIsfJTSLqiXZk5bQ8nzyPaw+udskhuoAOdagrWpGK88SnKznHDe9suGdlFkbDUKd BhVTXPU6oUJ09ZCiHY6YdNyAV1K+rNqvGi2/qzUen3SFOSGMhD+osEDx0ZG8hH/kWsnq EtvSFjHCNICghPocjyrMxHfET2etA/QUHfENPCFLE4ymYe4+EWjq/roLvTuHCIa8N8ie L+dg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=FCyj5gqK; 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-2852-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2852-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com X-Forwarded-Encrypted: i=1; AJvYcCUsjlWhVVmIhBwc1GvLDL9/ob0FN4VWq6Gmb1WRaVqjAAPRzrV1lV1RF3+wTdMYVd00lU7OBsJgvQ0nUgPzs8/89u0Ik6OjI/U2bIuDow== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id i10-20020ac85c0a000000b0042ab424c14asi2521687qti.53.2024.01.30.11.39.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 11:39:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-2852-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=FCyj5gqK; 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-2852-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2852-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 067751C21F05 for ; Tue, 30 Jan 2024 19:39:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C058A7B3F4; Tue, 30 Jan 2024 19:39:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="FCyj5gqK" 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 C07777B3C3 for ; Tue, 30 Jan 2024 19:39:41 +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=1706643583; cv=none; b=NDHvcTk5wx/h8Ep11bTLO7CwADUfWCiQvQcGe+WRfkdbB3z1dO2y/LVA2lL9bUnkp1oxv0PmXD+VAfiSLSFMWxGkNQ+/mEKVC+rHJMppH1IBKfAZ/nWHmXaRKJgn1yE2fFWqifoj1l2x4cnAk8d45rcLTO3+qvRQOhNtxSD5ql4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706643583; c=relaxed/simple; bh=9xkUZD8UwnNeV7XLX4/EZor3Rf0C1FIaWVTx8i0kZYw=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=R887FLiqNEz9bGFOKmn0WkZwKK+N31+hQRlanGCM1mU+H4UQj/GoaNq1Xlu3xVtgdBKFQqvHTUVMG6uhBOM2+ovh1TMN/+DJ4bT7BuC8fd1+Cy/kF9O1eeU9ku9jd8kga2q9MFd0IArRGmnU/X33VlV+65/5f2aoFSW5+9q2OOI= 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=FCyj5gqK; 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 (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40UJOxSR029146; Tue, 30 Jan 2024 19:39:37 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=wHpQNi3SPgGNFPX4WnWKqx8aKnS4rKWOnX1YC8Y72Vs=; b=FC yj5gqK68grLlBV51fVTyOl3zfeZr2F9oH3IkwwABo44Vi8Reqwqpu9aEBY8WyZJ3 PHEsbYTbsCORfFFzI/C8oC5bFU5TqMH7TQ0HvD7LVE/tlfgJcqfzUfZ47SmjgTHB g0hQnnWdUQ47Uu1Mo4GMTvrYYGTaOWR8k6yLEajoMBuBahallgYtfMvF71A29HXZ n0u6DnTiWrFhfg4H1/zsp7TgvVxAD9HSX1hx0gxm5gjjmPH2DV2nWX4E6smA3/pf asQecex04Gh8D+IKOdg4i5wwV0inQStNVSdlgUbUhI2LJx1huIwY/5azXFb4RJVo Fkdu/khSBe9i+HgLW4qQ== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vy6gmg4pv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 30 Jan 2024 19:39:36 +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 40UJdaD8024938 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 30 Jan 2024 19:39:36 GMT Received: from [10.110.47.232] (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; Tue, 30 Jan 2024 11:39:35 -0800 Message-ID: Date: Tue, 30 Jan 2024 11:39:34 -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 1/3] wifi: ath12k: Refactor the hardware recovery procedure Content-Language: en-US To: Karthikeyan Periyasamy , CC: References: <20240130060838.3895599-1-quic_periyasa@quicinc.com> <20240130060838.3895599-2-quic_periyasa@quicinc.com> From: Jeff Johnson In-Reply-To: <20240130060838.3895599-2-quic_periyasa@quicinc.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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: AXgU43nnNEKimZPDuLSQP1jiTZSzCjF8 X-Proofpoint-ORIG-GUID: AXgU43nnNEKimZPDuLSQP1jiTZSzCjF8 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-01-30_09,2024-01-30_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 bulkscore=0 suspectscore=0 impostorscore=0 phishscore=0 mlxscore=0 malwarescore=0 clxscore=1015 adultscore=0 lowpriorityscore=0 priorityscore=1501 mlxlogscore=440 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401190000 definitions=main-2401300146 On 1/29/2024 10:08 PM, Karthikeyan Periyasamy wrote: > Currently, in multi-wiphy models, the recovery handler access mac80211 > HW from the radio/link structure. This will be incorrect for single wiphy > model, as they will hold multiple link/radio structures. To fix this, > access mac80211 HW based on the number of hardware in the SoC/chip. This > approach makes the recovery handler compatible with both multi wiphy and > single wiphy models. > > Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 > > Signed-off-by: Karthikeyan Periyasamy Acked-by: Jeff Johnson