Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp822135rdb; Mon, 29 Jan 2024 22:09:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IFeJcjflhIHu5pATC7YT3ds14u/WJ0JgbkUZCI6uGPjuAE1PnybspfFH1UniyRVFfzKPxpl X-Received: by 2002:a05:6358:8826:b0:178:6f41:173d with SMTP id hv38-20020a056358882600b001786f41173dmr4472325rwb.35.1706594945595; Mon, 29 Jan 2024 22:09:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706594945; cv=pass; d=google.com; s=arc-20160816; b=KOrLFnTH6slm3pMVa3q/KAXkCr5C1trX+PZsPbNndflbl/C3i/XavelXorxIN8VxVZ bohfo23SzToSgivfYvmVQp1fabSY8XIxQ2c4tTTr1xNDOautLS6WeOCf1KPqkJvDZOia J0PCupu/GViF6s4gjakGYJkPwqzTAuWK3CaRmMizwxa1EDF+zFJ3GzV03ODM0oBumokI uthWyDp39Y4mH9nVVLPKUuw+BGR9i5mTBecHOxD15WHgwcCdwi+51rtCvMVRFDOk6glF yOLFdev2Bg38UFG3foKr7gH1aQgJb318x+eriXc4cpY6ACsQhLnTg0jRyUc4d3y0PgNY NhhA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=eBPOUTStUtXOdZiLPwsIUbuE9YttOk/G4h+qPGGbswc=; fh=dG87L8DQBkeEo/fDpBshuUjS3HwTSeztxCZB32k+oVQ=; b=Pwl/UsKxQoPb9D/v7+M9WstSAqNnnerhzslcbsdUDA6Nizy0RmfPuiDJgvb/SMBM+B Fxcj1X34sfjXfD8m5L73OxFvqZrhTv6D+zk1Ed6kN49V/lUvrrVb9r0LN4j0JifJQcDX x1QHuQCtcOrIjNu1khNEm8nlyiwSZTK7WB9qOqhgbb5Ugs2dWLHc1C0oOjsscbueZ5ql 7Pf5jR1VY7dxZQy5J/kGSAwwX78ml4RKJOI7sbx6EfXuSNJuGxDMQAOywg7uc8pam5mG L+pOvdQiuidExN9K3WGawea4UUE/SE+ffsrtvq5tv9ZGIkOMMdCI3D/Ms+AMGrRmIxoy v6Qw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="ITKx/Y3s"; 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-2773-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2773-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; AJvYcCX4bVXm59pkdDF9IJCcTjqICuJL5gwzS753jfN5mlN4fAtURLJ5bC9Nq2JTtu+qGF7thLkssIEbxN1KhGW/p9dKVGgBOcPqknBICa2g8A== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id y22-20020a63b516000000b005d8b6a66b33si5150034pge.459.2024.01.29.22.09.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 22:09:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-2773-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="ITKx/Y3s"; 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-2773-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2773-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 C03EF284E75 for ; Tue, 30 Jan 2024 06:09:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 30B3E381B9; Tue, 30 Jan 2024 06:09:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="ITKx/Y3s" 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 E3CC3381BB for ; Tue, 30 Jan 2024 06:08:59 +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=1706594942; cv=none; b=s+FqEtdAbogoPjMP5fydF8omO3hSI4LU1pnBDDqvjOZ1ixumPNscPHOSRWDx/imYbCpDDuI5JgxhaGWbnJ29l49txPiAGguQw2timCPISXyIqMgqKkiF2B0Ojpfesm8E5iwoUON0eEjEigc4hfgtNLi+lNo/7CqZigtun+xf0A4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706594942; c=relaxed/simple; bh=/jtBI46qUdzP1WllG3SjIv9iGSqEeh2GuuqxeYD/OzE=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=HCe31UxqEA31qoS/09LjbyEbv2sjKn4N/bXpRFuwhB8xRtyoGgY1p30Vm0PKX7ajACxaiPRms+m3TcRMycbZLOoqniIaLyrQlcTdeJbs4tsC45mwLjdK5QKtBIIozOnKK1n5j5pL306b+8ve9xRseSQTnkS/CF3ij+HThM3n/E8= 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=ITKx/Y3s; 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 40U4tcVE011575; Tue, 30 Jan 2024 06:08:55 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding:content-type; s=qcppdkim1; bh=eBPOUTS tUtXOdZiLPwsIUbuE9YttOk/G4h+qPGGbswc=; b=ITKx/Y3sZi8GDPnW7XvpZlA LDv19JnEA+NkfICgG1xkoy2MopKQE9X+sUGKNg9SGB9r02eV3znEzsyHyGfGVEPG 5Zhkk4RjLQjhGMSheWysCCQgVISeFzt2UTKxCG0mus8MkJV/gwqreyVyRwwaq0WO 8bk4TfUftlKIaDdu35hLBqTAFJzMqaYGFesvRx4dF6idCr5PuzDxbyjq/ArXKI2q 6/VpHtCle3lyntHaO8XPFTAL/ce4g/GU52ZSc9Abv4pharyoBEcTRqDJ088dgFKH 4lNtBi7oCh7hyUAJedZ1NQDMmilmRd5OJ8Xd3+6QhBMusFInwtBqUtHlG0FdyvQ= = Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vxsc207t8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 30 Jan 2024 06:08:55 +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 40U68sY4008729 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 30 Jan 2024 06:08:54 GMT Received: from hu-periyasa-blr.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, 29 Jan 2024 22:08:52 -0800 From: Karthikeyan Periyasamy To: CC: , Karthikeyan Periyasamy Subject: [PATCH 0/3] wifi: ath12k: Refactor the hardware recovery procedures Date: Tue, 30 Jan 2024 11:38:35 +0530 Message-ID: <20240130060838.3895599-1-quic_periyasa@quicinc.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain 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: xT4d9Li075nwkBR-iar0PB-avYrq_hXA X-Proofpoint-ORIG-GUID: xT4d9Li075nwkBR-iar0PB-avYrq_hXA 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_02,2024-01-29_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 bulkscore=0 adultscore=0 mlxlogscore=333 phishscore=0 priorityscore=1501 clxscore=1015 suspectscore=0 spamscore=0 mlxscore=0 malwarescore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401190000 definitions=main-2401300042 Currently, hardware recovery procedure supports multi wiphy model. However, to support single wiphy model, we need to refactor the hardware recovery procedure. This patchset allows the logic to work both multi wiphy models and future single wiphy models. Karthikeyan Periyasamy (3): wifi: ath12k: Refactor the hardware recovery procedure wifi: ath12k: Refactor hardware recovery synchronous wifi: ath12k: Refactor the hardware state drivers/net/wireless/ath/ath12k/core.c | 97 ++++++++++++++------------ drivers/net/wireless/ath/ath12k/core.h | 25 +++++-- drivers/net/wireless/ath/ath12k/mac.c | 95 +++++++++++++++++-------- drivers/net/wireless/ath/ath12k/reg.c | 5 +- 4 files changed, 137 insertions(+), 85 deletions(-) base-commit: 17f4b952f067b1f87d14e6df4c8c216fe7a245d1 -- 2.34.1