Received: by 2002:ab2:4a89:0:b0:1f4:a8b6:6e69 with SMTP id w9csp193505lqj; Wed, 10 Apr 2024 07:56:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX94BvvvxsfQLjBCCnkPV7El41bM4vFWA2LRaqkZsbob2QCXRqFUtAJKB8xa7VJfpM0jCsh7C1ayXvffIR8OSgK/+Z/uoDGUU3PDuVZyA== X-Google-Smtp-Source: AGHT+IEeZ6DMG9y0LpqCxLpIMj4YrNu8k1DoHEUe9jKdQnuuv9ld8k10nlsZ+l3yHM/r9IC5RzyY X-Received: by 2002:a05:6a20:12c6:b0:1a9:6d13:74b7 with SMTP id v6-20020a056a2012c600b001a96d1374b7mr912485pzg.47.1712760984241; Wed, 10 Apr 2024 07:56:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712760984; cv=pass; d=google.com; s=arc-20160816; b=uAXkOGTP3ROS5ASJH2eQ4Guh7kOdNAA0AKg25v2ViPirMMhRdbl6W8URllA5oiPT86 l/lRLkg2+jrOS5oprmrwz0ljTxePzbHMBGTSTBaiOEogr0kzIJVrtj1MOm5XvChK/J9u frzWH/rKoN2W6zZWzzJXrAQhnuWYZUxIIoR1+Zw8zA//wJTl4FHJk4Z7IcRtx/yVlFwJ U0ML6YdETuUsHwtIJSW0d1SOi1p5fnLinNjvpoIoslkEu+dRgQeqE5oBrhzBNj5w0ReN TRok4UyxrEbqN2koMFyIP6eZDRYGU/i0Gk7Y6wUfKChVWdgfC0bm8yJ5E0ozPtf7vpf/ jmSw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=date:message-id:user-agent:cc:to:references:in-reply-to:from :subject:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=pIYPcSgtUQ6QliWWHXaKBCBiIor0pBV4N/9HnyJsdrE=; fh=h9M8LwYkHzwk8vnUo3CaBZ5jEOKdr4H2oASePgBNjj0=; b=ZkvUGvdLv5qzG30THaEnqjN20fLL5dx6S9nXXpCLagVA7phu2YLdp4XrN71xxOydnK DWpESvkDk0bAFycPxy+MUa40kddOZeMs7274N7p+BAgbZfcq5GkmCgcQG7DFrEiKQwbT TqPG7YtojVyoR993D7uONsTRWks+u9WLE6ip4VnsUsFqQ6uJ+NdNg6SaaJajMA+gfglk Jyhe1wPK3dBR1aq3Y8tqHR79+4KaxW9cB8hjs5IOqWrU1b1uQ016ZRFII4puV5u6OSKq QZqXA+p1fSm7LtWBb84yzPUXTwxHujqVShBwH3+HMhHjMRzqg44cn/XO8sO7PcXtgaUG HysA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VmFto3ze; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-6117-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6117-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id q12-20020a63e94c000000b005d8e38097f8si10652941pgj.265.2024.04.10.07.56.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 07:56:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-6117-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VmFto3ze; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-6117-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6117-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 618FBB31EA9 for ; Wed, 10 Apr 2024 14:13:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EBF1E15EFAD; Wed, 10 Apr 2024 14:12:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="VmFto3ze" X-Original-To: linux-wireless@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 C6F4115EFA8 for ; Wed, 10 Apr 2024 14:12:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712758364; cv=none; b=dqxiwe/Q+RBxxi56r5vXsSxI66BtHp69Vxzx8ThpOr6r9ldJMb7uMxf0PljbkGHT5WwwCcxqiMWeScxpszYK72uP3zegnh4vrMxhES9KBHU0No8WBNonpe/gUn8Kc+gjPFKJ0YYg8pjQw+KnQD7wVt6YYQkwV9vPDAWb1YENRJk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712758364; c=relaxed/simple; bh=BXGtyS18Uukci2HwGWwcuVTHGU7yyftxekIlybw6Ye4=; h=Content-Type:MIME-Version:Subject:From:In-Reply-To:References:To: Cc:Message-ID:Date; b=VRGtWQuqlwyualoicYIwVq9KsPCl/Vqmd5/dwp3BWXZQB5q/DSJZewlsxfUOFY/q7y62z/GR9LYihZ8nbPMO4SWus3tJyOLvynDIv5BeaWTzRpk0y0P0Ay6X+e8ziOT8wg4gJ6oPA8bMI47Ge8EDGlRMSNUVnAdkPzyrkBPHdCI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=VmFto3ze; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id C9BD7C433F1; Wed, 10 Apr 2024 14:12:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712758364; bh=BXGtyS18Uukci2HwGWwcuVTHGU7yyftxekIlybw6Ye4=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=VmFto3zeOwuxZuydrRcp2fu8oQE+TptliJRsvi5nvtmbUhfLMakxSXSvBVUOoZVy1 P8w4VSwJ573NYEcxtC6T4Jt0wjAJuW+B7l2CmxXSvJD7C1iHCMvInUH09RMCkCZADv u05yWuTo/dy+R3CvLbTK2/vvq7L44gSOJHNbX0xOlraR/2ZPiVGncM0mTvrHJC9ieu 7syxEK48KnmDRMlPAWTK+feYH5CX/hqYXYpodnUJWDaiBg29fA3InyLmVbTaVF0cOi HQu2x313+PWhSH/UqdUX8olhO865GEL7GnK51hy6jwukUPCCAmJS18tQbddGzDxOqW eeGbnyRIOUyCA== Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH v7 01/12] wifi: ath12k: add multiple radio support in a single MAC HW un/register From: Kalle Valo In-Reply-To: <20240405194519.1337906-2-quic_ramess@quicinc.com> References: <20240405194519.1337906-2-quic_ramess@quicinc.com> To: Rameshkumar Sundaram Cc: , , Karthikeyan Periyasamy , Sriram R , Rameshkumar Sundaram , Jeff Johnson User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <171275836091.3687247.13367447879167874394.kvalo@kernel.org> Date: Wed, 10 Apr 2024 14:12:42 +0000 (UTC) Rameshkumar Sundaram wrote: > Currently MAC HW un/register helper function support the single radio. > To enable single/multi link operation in the future, the following helper > functions need to be refactored to accommodate multiple radios under a > single MAC HW un/register: > > * ath12k_ah_to_ar() > * ath12k_mac_hw_allocate() > * ath12k_mac_hw_register() > * ath12k_mac_hw_unregister() > > This refactoring will make it easier to scale these functionalities and > support Multi link operation. > > Current Multi wiphy Model > > +---------------+ +---------------+ +---------------+ > | Mac80211 hw | | Mac80211 hw | | Mac80211 hw | > | private data | | private data | | private data | > | | | | | | > |ath12k_hw (ah) | |ath12k_hw (ah) | |ath12k_hw (ah) | > | | | | | | > | +-----------+ | | +-----------+ | | +-----------+ | > | | ar (2GHz) | | | | ar (5GHz) | | | | ar (6GHz) | | > | +-----------+ | | +-----------+ | | +-----------+ | > | | | | | | > +---------------+ +---------------+ +---------------+ > > Single wiphy Model > > +--------------+ > | Mac80211 hw | > | private data | > | | > |ath12k hw (ah)| > | +----------+ | > | |ar (2GHz) | | > | +----------+ | > | |ar (5GHz) | | > | +----------+ | > | |ar (6GHz) | | > | +----------+ | > +--------------+ > > 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 > Signed-off-by: Sriram R > Signed-off-by: Rameshkumar Sundaram > Acked-by: Jeff Johnson > Signed-off-by: Kalle Valo 12 patches applied to ath-next branch of ath.git, thanks. ba12f08f3167 wifi: ath12k: add multiple radio support in a single MAC HW un/register d01c08ed6fdb wifi: ath12k: Modify add and remove chanctx ops for single wiphy support b8ce837ea264 wifi: ath12k: modify ath12k mac start/stop ops for single wiphy 314876885bdc wifi: ath12k: vdev statemachine changes for single wiphy 0d6e6736ed9f wifi: ath12k: scan statemachine changes for single wiphy 0148e40c9f0a wifi: ath12k: fetch correct radio based on vdev status b5068bc9180d wifi: ath12k: Cache vdev configs before vdev create cec77a252407 wifi: ath12k: Add additional checks for vif and sta iterators 0da00e45ee9a wifi: ath12k: modify regulatory support for single wiphy architecture 5a6af83c397d wifi: ath12k: Modify set and get antenna mac ops for single wiphy d258f16ba10f wifi: ath12k: Modify rts threshold mac op for single wiphy 4f242b1d6996 wifi: ath12k: support get_survey mac op for single wiphy -- https://patchwork.kernel.org/project/linux-wireless/patch/20240405194519.1337906-2-quic_ramess@quicinc.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches