Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp434694lqh; Thu, 28 Mar 2024 06:36:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXUJtGiX2D36d4Y5uCly8STVFWfGhmUSLSwbvdUBflQjyaPdx8L+RagcgK/yoJZbvYrb1Nccvh3mDwKVFbqioswcWpXEuNQv+bzhS2tDQ== X-Google-Smtp-Source: AGHT+IG82qUXfuTM7CThd0nqLjOZExEpg4V27XSCKYJPaDYSNDqUG/okJ62QeTBsFcGZPqRFqAdw X-Received: by 2002:a17:907:86a3:b0:a4d:f927:f747 with SMTP id qa35-20020a17090786a300b00a4df927f747mr2100017ejc.4.1711633004280; Thu, 28 Mar 2024 06:36:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711633004; cv=pass; d=google.com; s=arc-20160816; b=H2KquPI6nKVV4gFAwaIjBW77f1cDnsmWXBla+2bbVN0Nl6WuIOK1hHKynEzAIIesVb HqSyl+T234mFZBajsGWhE2ZVXKYSmEPyb5q3thPdY9xc8Qt4ynwBaHdlDa9wd2J4tCs+ 63XtTWmu87W+qi8k7NdTWVsrWH4X+RPxAEkQF5fVJJTiVVctMBXZufcYJoKYieZ2BvCV 8XpdkrxQgf5v1GP6QtJ0Oqs/t2JVbxJ/F8p0rSw7Mwt79sF7icX/LOdK6viP/CKg91ym hMDc2Sk4skEP5XBHC6F1gb3yOTRekcZ0L1nF7vOuX5KDce6ykPolFkq+uvUj/3K2eiUE +0NA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:references:in-reply-to:date:cc :to:from:subject:message-id:dkim-signature; bh=1Rm8OlYxC/AWjajIdqDA4wJmrZGXskO5TRemOf7OBDs=; fh=AN3TPovGZlXbVOAi9DnJbFLhX12tsufHwxfR0pDbwBE=; b=NPWFDsvShL28yvgh+my2EHZ5GzFIUzW3L4OuX2Yb1JpIPmtb9gE6ou1s2/7/wBQUaC RjdMUy07YWqFtpZqYFh/UpaD7EzsayOhMLE5s8vlEGn6CNoY3WLWRoxhh6K7kmUa2Sem qRPgEVS2i6Nu1I172mwUIvtmj4szlLFUPV0JOW2V+fxvLwZfHLuFsEEvW31Lsb0Yl5Aj 1Sy0LoBE3M9K9nMUaipfEU5D2Winz8EzXPXr4BAwVPjf4tOUO7EWfrNZJVGX1VAdwMN6 8MWmFb93pbEknonvfxkPKod/S9p3XGuo5UH5cE33OVfcASIGLrSWoFoHjJAJH9qfcNKq 04DQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=D2ArgLM3; arc=pass (i=1 spf=pass spfdomain=sipsolutions.net dkim=pass dkdomain=sipsolutions.net dmarc=pass fromdomain=sipsolutions.net); spf=pass (google.com: domain of linux-wireless+bounces-5459-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5459-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id nc11-20020a1709071c0b00b00a4e233bdc77si616636ejc.555.2024.03.28.06.36.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 06:36:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-5459-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=D2ArgLM3; arc=pass (i=1 spf=pass spfdomain=sipsolutions.net dkim=pass dkdomain=sipsolutions.net dmarc=pass fromdomain=sipsolutions.net); spf=pass (google.com: domain of linux-wireless+bounces-5459-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5459-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net 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 am.mirrors.kernel.org (Postfix) with ESMTPS id F1A8D1F25548 for ; Thu, 28 Mar 2024 13:36:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AC9D57FBCD; Thu, 28 Mar 2024 13:36:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b="D2ArgLM3" X-Original-To: linux-wireless@vger.kernel.org Received: from sipsolutions.net (s3.sipsolutions.net [168.119.38.16]) (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 BF4EF3032A for ; Thu, 28 Mar 2024 13:36:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=168.119.38.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711633000; cv=none; b=ZkgZ7udH6If/Nz+9FKLb8YQqDGyQPIJWEbod0zzSFUz3yrLm/lWn7Px2VVwwPH0VJ2/rCn2mbhmtEtGUzAEN3W1az/nm+7JpZ58xt54qlRcq5bZhzVMb67Y85w3lkSwJPjx/jX8bAA61DR39ELwPYy6axtTUBaiSqpsbcW+9UCY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711633000; c=relaxed/simple; bh=AXuKMfb1m8kUFUFM+0UkrmTwC52+lf77wR99khTZxqU=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=mTRgev3gJALdO7IWbbHuvE/ggCdp0ouhi211dCR/QM2Oip/cnwjsI0QSrPGIy7wkPQoguuOw6eqtIzAFzE/zXhhdp+RCnFM2JqOcQAOThL8h6P9g4XeipC8d92xzSgdZCVCFOwwNeqi6d+phS3tFscm9LROt+vrfUO+WnwLS9LA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sipsolutions.net; spf=pass smtp.mailfrom=sipsolutions.net; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b=D2ArgLM3; arc=none smtp.client-ip=168.119.38.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sipsolutions.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sipsolutions.net DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=MIME-Version:Content-Transfer-Encoding: Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=1Rm8OlYxC/AWjajIdqDA4wJmrZGXskO5TRemOf7OBDs=; t=1711632998; x=1712842598; b=D2ArgLM32AzcwsOaSnZE81zaEYSl4sNx5Wz7JXhfRyuO9qc fezGaiHgD4jM2oz/Wl0NfwghKOzQld7xfft3/DVs5UrXxOXEIhLsWiwXqrIEU3quppuSOIytjTvXz myrlaTDPhLGwS6yJenbsfflM6zwViJJYLXU+41lqvv8HN6c/kSvYh25/JDHB9Xf07qBbRrLstB9fI e8rB2nsvNYC4NX9Z5cJFdl7T/8/1yQpUgbXSv4l11Xn8OFE2BPpyuxHbi1zX87lUKbKGoNid3JwVy Q+TLS5rEiwCLcumLiYesyoosQipCSQM64RYvVwFjRbeIPsyXa9d59JTCOFnDy8Og==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.97) (envelope-from ) id 1rppvn-000000010W6-3K0C; Thu, 28 Mar 2024 14:36:36 +0100 Message-ID: <8821e4fe9930560d19809390777451d631821f1f.camel@sipsolutions.net> Subject: Re: [PATCH 07/13] wifi: cfg80211/mac80211: Refactor iface comb iterate callback for multi-hardware dev From: Johannes Berg To: Karthikeyan Periyasamy , ath12k@lists.infradead.org Cc: linux-wireless@vger.kernel.org, Vasanthakumar Thiagarajan Date: Thu, 28 Mar 2024 14:36:34 +0100 In-Reply-To: <20240328072916.1164195-8-quic_periyasa@quicinc.com> References: <20240328072916.1164195-1-quic_periyasa@quicinc.com> <20240328072916.1164195-8-quic_periyasa@quicinc.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.4 (3.50.4-1.fc39) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-malware-bazaar: not-scanned On Thu, 2024-03-28 at 12:59 +0530, Karthikeyan Periyasamy wrote: >=20 > + int num_interfaces =3D 0, hw_chan_idx =3D -1; No point in that new variable, just statically pass -1? And this really is only a cfg80211 patch, with the API updates propagated where needed, but we don't list all that in the subject. johannes