Received: by 2002:a05:7412:8d09:b0:fa:4c10:6cad with SMTP id bj9csp408727rdb; Tue, 16 Jan 2024 04:20:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IEbxKfGFEydn2CKJw7AE8IXCTRQI0OweLL2B4vNH0+FlQbmQUFMdoQJhmje7kEjTi/FGTA+ X-Received: by 2002:a05:622a:11cb:b0:429:f45f:eafc with SMTP id n11-20020a05622a11cb00b00429f45feafcmr3136048qtk.8.1705407607785; Tue, 16 Jan 2024 04:20:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705407607; cv=none; d=google.com; s=arc-20160816; b=z45bzxpNJdTpng+BJQKiUPtEzUlZhRL0jMUzCvpiMgc2OuqCwtTcbQPhz1gYSsIJm9 6g5xD8Hq/r2TtkfSlFhnYGKWf9KLT9bpPvPiUodiOvbXicKzwi4Qb1tjhwAK99zYniaE oLeeQ8JPnHcqkHTnrhA/iw/xPq/YC6BvoDt8zSyUTgq/3zhfIzWkiEyyKaxBtg2b3wp6 /LE+CqlmRzs2iwwYyNOpesxd7CC8Qj5S0wE3Nhgaa9gYgnIeIyIlDjBjTBrM/Ir6Kown mt4FftQ6sd53w3FEDUsTZK/bvT/Bx37pwtmWnwu6IjQQzhFcNVJQsFXuej1lxdria2Si n3RQ== ARC-Message-Signature: i=1; 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=zUF5MbMyE0Dr0MHZ0h16LctGyxWz967Rgr8zVHte0rs=; fh=029kuYAq1hc6mF1SMOQ2x0i7+BRmAYgL/pzlnEU+puQ=; b=tqJ2VAN48FMfkmRQ6wjvNj7gIKUOKkd2z349SKHtl2qwd5yguWZ3i19Yg36jCnNo/O 76eKqkf7E6to8OdQpwroftSHrYWe7rnAWMdtv9OGtg/SNUsSJ9YYQescGpZOwXDpQOxN PTe3pJiS9OTohkhSeBzRmbhbFgMywRtQFabkMWl2OS5MF+oCxga1Ug1FwltW5rqkCt8r 34LmJWoZ1XfBsNeSGo/dKYdfnUTQfkS8EZJ6UyDk5NS3hNbWml42u6pH6CoxMqfhpr5D JLRyqHL4xrAjMLc/CUhVkDSRsJXsLmE9j0z/cnOeEoSrN8gI3zCnTeB8i4AsmjPHoaNM o+bA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fZ9RZsgR; spf=pass (google.com: domain of linux-wireless+bounces-1975-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1975-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id r5-20020a05622a034500b0042a09a08141si311742qtw.251.2024.01.16.04.20.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jan 2024 04:20:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-1975-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fZ9RZsgR; spf=pass (google.com: domain of linux-wireless+bounces-1975-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1975-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 7D0D01C22E6A for ; Tue, 16 Jan 2024 12:20:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 595941B96D; Tue, 16 Jan 2024 12:20:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="fZ9RZsgR" 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 35B9A1B944 for ; Tue, 16 Jan 2024 12:20:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B52A4C433C7; Tue, 16 Jan 2024 12:20:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705407603; bh=0CmDpSQc0Up0qnAibGSGxlDMH4yJggWHuZlFHOc0WmE=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=fZ9RZsgR5qpQOMImVAiv0M4+gLu8eXZDGqlKQpU56XO6/E7oB0aMWCog2Qdd9h6GV QF2DP5BIXDkrAmctozG85PoZyQE2hldjJ8K5ybnxQ+H2aRFbEp9tVURM6A2hE4/xAp 5gQs6zCuNWuybXI9HIm+8fohhelPSJpTBXVpH/mdXPI3Q97PyKHYrhgDU3GxZDvSCR 932v/bHRaF8iulZm3YNV3YMLh2m1QoFlJLW+TG7nZk3IQRxtiH7dTOy9eB/Eb7bPjr KineJVsj1DlCD4bGFlcUGT/bk1P0Jwdhm2fdVqNkRm/nWpU8lBXCSjXIiuweNPrGn3 Ie3A2e1grTGig== 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 1/4] wifi: ath12k: Refactor the DP pdev pre alloc call sequence From: Kalle Valo In-Reply-To: <20231206034920.1037449-2-quic_periyasa@quicinc.com> References: <20231206034920.1037449-2-quic_periyasa@quicinc.com> To: Karthikeyan Periyasamy Cc: , , Karthikeyan Periyasamy User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <170540760056.1846129.3705979634876364963.kvalo@kernel.org> Date: Tue, 16 Jan 2024 12:20:02 +0000 (UTC) Karthikeyan Periyasamy wrote: > Currently, the data path pdev pre alloc and mac allocate are called > separately from the core start procedure. The data path pdev pre alloc > can be called from the mac allocate procedure itself since initialization > related to pdev happens in the mac allocate procedure. So move the caller > of DP pdev pre alloc from the core start procedure to the mac allocate > procedure. This change helps in the future to easily decouple the mac > allocate procedure from core start handling in order to support MLO in > multi chip. > > Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 > > Signed-off-by: Karthikeyan Periyasamy > Signed-off-by: Kalle Valo 4 patches applied to ath-next branch of ath.git, thanks. eaf9f17b861b wifi: ath12k: relocate ath12k_dp_pdev_pre_alloc() call 8a742a79f90e wifi: ath12k: refactor ath12k_mac_allocate() and ath12k_mac_destroy() d2b7a6e5fa1c wifi: ath12k: refactor ath12k_mac_setup_channels_rates() d786c9f5fe34 wifi: ath12k: refactor ath12k_mac_register() and ath12k_mac_unregister() -- https://patchwork.kernel.org/project/linux-wireless/patch/20231206034920.1037449-2-quic_periyasa@quicinc.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches