Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp2021570rdd; Thu, 11 Jan 2024 17:41:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IEDZELUYEVQAZq/Nv8jCKdVja4V6JeSrlsp4Wc0pPqcC+P9RebAgWJ2bUt+bEOeCh8QTYBZ X-Received: by 2002:a05:6a20:431b:b0:19a:5566:7d7b with SMTP id h27-20020a056a20431b00b0019a55667d7bmr346691pzk.9.1705023685481; Thu, 11 Jan 2024 17:41:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705023685; cv=none; d=google.com; s=arc-20160816; b=lvm/yFjCuaFe419nolB9vXFZyNX5O+nG5FHY+gg/nTYdu6Ba47R5g3d0iqx/0S5p4L XV7aw3H2a0mopR9DJ75R/ofHxmS2hkBxSmkWZxdwlN07X2s7tY4AFZFhb9W/zm+5Sfjf SlY8vqRihXseL0ggiM9vdVNZ1DAF4BbaSZrVjVdx/1exKicxy36U89yyXBl7TFBJ87/i 8OC+T5pR9K9y4Qm3BIqd0s1fpUjJdSFrND3dSuC4Esh5LwAumSRvnxmP/1WJL/DyUiXA hH/i2SC6X+7iTvlPTPgTPIX9/MHpxO0V+MOYDgYYwhfFLCMRLkCq4fkunfjmFnww0/Jp SE1w== 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:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=vdDsp1CEIE+93DfW0N9GSzZxQw584o7yLlC6esqf78Y=; fh=T27QnONB81A+Cjn+MTd5LSsVmiM+pe1FYthz2KpViJo=; b=QbJ+b8yU5Cx1EzUYU9P4anT78T39kFrWHeH767kAMzQWCBpiTszoNvCLzhn/gC3CGq erCLLfcej9LpF5bPuvX6WiyyB037/UQoOWpXnRPfStgGERFRyJtelMpmPAVQvRMqWuxm 3D9W4EuTnUOWMZPBdboj4IFYQsdTH8pIhRDfHrXXceyOUkE0c4roEQjki81Az0VCsMU/ MZ3cC2bD88Vrt787lHd1ftpCXeBZHK7Cf5MVKU6QTjYcE4tUdC/3W/KhoUR/y7R4cIDp +FXiUMHgRIxS09tB7QMY/V1FcKkKg2xbL1Sm5qjVpBi9opuDrmBR6ZWgRuuur0CVu1UU i6SA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=l2iXvrtq; spf=pass (google.com: domain of linux-wireless+bounces-1762-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1762-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id b8-20020a63cf48000000b005cdf71d561esi2442304pgj.683.2024.01.11.17.41.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 17:41:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-1762-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=l2iXvrtq; spf=pass (google.com: domain of linux-wireless+bounces-1762-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1762-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 2A121B26308 for ; Fri, 12 Jan 2024 01:38:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F3CA9ED1; Fri, 12 Jan 2024 01:38:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="l2iXvrtq" 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 0E3B3EC5 for ; Fri, 12 Jan 2024 01:38:20 +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 (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40C0UCR6023709; Fri, 12 Jan 2024 01:38:15 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=vdDsp1CEIE+93DfW0N9GSzZxQw584o7yLlC6esqf78Y=; b=l2 iXvrtqKdRqZmSiC05qQPv+oxn1M2DWjXzgxHUkeiv8S0uvqEyd/9qvmGyJIR2U7Q 5XozapJb7A6J/BFq0uvpfLV0cppm9RAKL/V7k/JBbXQ72W8/lOVxtpkk3udfUIW4 h1xHYXQWlrmXGAJNp0GFlTgjs5Wx78IPUc4/e/UnnpMmQNgVcav1iVZtdxDdyPXD Dypqt1Ro33+QKATXInVPeCpZyGN5QK7eWHp1Fnzgf7IYAaXEUa7XjCxfoG8uu0U6 YvwjpcA1FBQWzc0Eo3LzeLInrcSKVT6+b9K8PhmV+IydcpImA7vfkKOuPAScrIx0 BIjgXcxCwzaYURId1GeA== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vjcvjt56d-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 12 Jan 2024 01:38:15 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 40C1cEuP024941 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 12 Jan 2024 01:38:14 GMT Received: from [10.50.59.85] (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; Thu, 11 Jan 2024 17:38:12 -0800 Message-ID: Date: Fri, 12 Jan 2024 07:08:07 +0530 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH 0/2] wifi: ath12k: Introduce hw abstraction To: Jeff Johnson , CC: References: <20240109051252.3325106-1-quic_periyasa@quicinc.com> Content-Language: en-US From: Karthikeyan Periyasamy In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed 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: kabwuA546fsZbj-kWPZ_eXEiYhAOfnbp X-Proofpoint-ORIG-GUID: kabwuA546fsZbj-kWPZ_eXEiYhAOfnbp 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_02,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=545 spamscore=0 adultscore=0 mlxscore=0 suspectscore=0 impostorscore=0 lowpriorityscore=0 malwarescore=0 phishscore=0 clxscore=1015 bulkscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2401120010 On 1/12/2024 1:42 AM, Jeff Johnson wrote: > On 1/8/2024 9:12 PM, Karthikeyan Periyasamy wrote: >> To support multi link operation (MLO), need to move from the multi wiphy >> model to a single wiphy model. However, the single wiphy model allows >> multiple link/radio to be exposed by the same mac80211 hw. So introduce >> a new container (ath12k_hw) structure. This approach improves scalability >> for future multi link operation support. >> >> Note: >> >> This patchset sits on top of below patches >> wifi: ath12k: Refactor mac callback of config >> wifi: ath12k: Refactor mac callback of bss info changed >> wifi: ath12k: Refactor mac callback of conf tx >> wifi: ath12k: Refactor mac callback of start >> wifi: ath12k: Refactor mac callback of stop >> wifi: ath12k: Refactor mac callback of update vif offload >> wifi: ath12k: Refactor mac callback of configure filter >> wifi: ath12k: Refactor mac callback of ampdu action >> wifi: ath12k: Refactor mac callback of flush >> wifi: ath12k: Refactor start vdev delay function >> wifi: ath12k: Refactor the DP pdev pre alloc call sequence >> wifi: ath12k: Refactor the MAC allocation and destroy >> wifi: ath12k: Refactor MAC setup channel helper function >> wifi: ath12k: Refactor MAC un/register helper function >> >> Karthikeyan Periyasamy (2): >> wifi: ath12k: Refactor the mac80211 hw access from link/radio >> wifi: ath12k: Introduce the container for mac80211 hw >> >> drivers/net/wireless/ath/ath12k/core.c | 108 +++-- >> drivers/net/wireless/ath/ath12k/core.h | 47 ++- >> drivers/net/wireless/ath/ath12k/dp_mon.c | 4 +- >> drivers/net/wireless/ath/ath12k/dp_rx.c | 6 +- >> drivers/net/wireless/ath/ath12k/dp_tx.c | 6 +- >> drivers/net/wireless/ath/ath12k/mac.c | 480 +++++++++++++++++------ >> drivers/net/wireless/ath/ath12k/mac.h | 14 +- >> drivers/net/wireless/ath/ath12k/reg.c | 9 +- >> drivers/net/wireless/ath/ath12k/wmi.c | 17 +- >> 9 files changed, 510 insertions(+), 181 deletions(-) >> >> >> base-commit: 2cd4e3f91f264926a6b11df948417b74d52ca9b9 >> prerequisite-patch-id: c2cebfe634adf505f1dd4fff4235dac6162c7da7 >> prerequisite-patch-id: cc11dc22588dbbd884ce44bcc4680ff0cc64b696 >> prerequisite-patch-id: 2eb8549471f3a66e200d82f6d3e902de2832a210 >> prerequisite-patch-id: 330f495e6871998fddc71c735e7fbfe5efc9c798 >> prerequisite-patch-id: 903acc7b989d5974623fdf4b9be901e2664dbef3 >> prerequisite-patch-id: 53378c45727417943331a0b98c5718b24a8e3577 >> prerequisite-patch-id: 9f1e02951355b889eddf23c24d063e9933008b2a >> prerequisite-patch-id: 9b662f69fa076e61e089a15b5559c4ee913f94a8 >> prerequisite-patch-id: 4e079d284495ae939dc2173cae9e3fa082e607cb >> prerequisite-patch-id: f81c109928533db71c84e64e102f5921db406f2d >> prerequisite-patch-id: 70e3b0429286e17f26ea53369027a6f43a3653c3 >> prerequisite-patch-id: c2bebc5a0ea8cea79d6aec293096a168860bb48d >> prerequisite-patch-id: e89f6abeea9771cb0832b8db13507a2b08f774ce >> prerequisite-patch-id: c26a2ceec9261bec16474d1c8e3ff093d404b778 > In my workspace your patches are not applying. Can you rebase against > the 'pending' branch since that has the pending versions of the > prerequisite patches? > > /jeff I will send the next version of the patches against the pending branch. Thanks, Karthikeyan