Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp1318432rdh; Fri, 24 Nov 2023 09:35:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IFYNhM5jn/0LD3JoXVCLK9i8xeKY14Qn/4f7vkohTRnVo8mNDNaR7naitbPRB+W/WRQxDuv X-Received: by 2002:a05:6a20:c189:b0:187:ce5a:2a87 with SMTP id bg9-20020a056a20c18900b00187ce5a2a87mr4292930pzb.12.1700847357660; Fri, 24 Nov 2023 09:35:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700847357; cv=none; d=google.com; s=arc-20160816; b=V3zIv9hw8BuZcpeNpHoBwHkc6P0MVqq4MRXD/1rEsJwaR6u6B9SGiHPCy61ScoXh6X tZk0tqePJ295fOwoe7UNX7o4djX9aOMRQ1tAQPKs8KuRLv/URdiEcspFIlC1zXzaZX9m g77bmzBy3eLS5izX+SVTeLtf5k33g9d0KIpjtRVAr19NpFp4+EVOvU0noGzmn7R8B0lc uzTIqCzx7SVU8pqszsYO/X6noZx8t4lW61Rp5hmap73JI8ZZV+PuAuy4a07NbW52hMxj ArxttK2vrGe6xFUtu3TP6Lx3IbwKx9XucmMCFapylCYwjJhp12iPj0xN7SyGIUUIxiQt fLGw== ARC-Message-Signature: i=1; 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=WNoD89qGwLzNSjDgM6xaCrjt5Baga6tTZowmVPzed5c=; fh=uAyGyoAKULpyk7IxmjjXu8YxHqK6sAMTlwpI3sb94Oc=; b=V4LVjDPaclhBAAXcJojHRnscKCkHRU90nB8fm4SOkKUVhoCXOe6jkW1zdga+PjNUxr bUnP3ZwMZ9VR8o8RJBoCuMye2PvkQVxUHz9Ul3A4BOHtMh5WKDIagFzw7aQW35VB0R6k LodI5Jemgw7Smca3734cm6ySPVS7Pkj6RbILubA8Dn29GGgl9t4i+2cEN/ml7GT2a4iY M+OTJUhjHbW3vcem9AHIK6fKn0VjJv9/MVgN1WGpijQfDEvwjldrgG1fMKGrlVId322w mma3GjuR/usicyYWFd7evzcTUu+IP4aVYlSkuguWNH/sFemlhEQQ9zcPBPh+Uu4aB+n9 AbZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=wFkjBfit; spf=pass (google.com: domain of linux-wireless+bounces-60-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-60-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id a10-20020a63e84a000000b005ac9ae1aaa6si3766236pgk.334.2023.11.24.09.35.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Nov 2023 09:35:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-60-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=@sipsolutions.net header.s=mail header.b=wFkjBfit; spf=pass (google.com: domain of linux-wireless+bounces-60-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-60-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 0EA3FB20B91 for ; Fri, 24 Nov 2023 17:35:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 38F662420D; Fri, 24 Nov 2023 17:35:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b="wFkjBfit" X-Original-To: linux-wireless@vger.kernel.org Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:242:246e::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB63A1718 for ; Fri, 24 Nov 2023 09:35:47 -0800 (PST) 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=WNoD89qGwLzNSjDgM6xaCrjt5Baga6tTZowmVPzed5c=; t=1700847347; x=1702056947; b=wFkjBfitE2WAAMDS0W+qtIvPnirN9Bwki/lsEZJ9TsG4LO8 0RSg5AmlpJcoKN2CpTGajqbSD0jgJ7wOzRqkOtkQzhpTv4JFq0CzCdGiZxfFUPmmW/UyX7EIdzDG1 OzydW7tiL2bMGg8X/1MC2wI7fIEJd7Z9kunF3gk7sZB1bOCGf5L/b3vnxdCabH4jg5vCWwXV15dbJ FbCczTM7iSRW0RjfNt7xyopzNbwLFZI6wVbpx31KwsgqLZ3I6Lvcgi1+TJ3vwez6B3JNMwz6QBc1N 4iOB7c6U+kWl2opAHH55vUGZolgfA8bLxCs8tytGuFXe15UskLKrViBMNFH9Tqvg==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.97) (envelope-from ) id 1r6a5g-00000002hEP-1q7Z; Fri, 24 Nov 2023 18:35:44 +0100 Message-ID: Subject: Re: [PATCH] wifi: cfg80211: Rename bssid to peer_addr in cfg80211_pmksa From: Johannes Berg To: Anuj Khera Cc: linux-wireless@vger.kernel.org Date: Fri, 24 Nov 2023 18:35:43 +0100 In-Reply-To: <20231120062450.8023-1-quic_akhera@quicinc.com> References: <20231120062450.8023-1-quic_akhera@quicinc.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 (3.48.4-1.fc38) 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 Mon, 2023-11-20 at 11:54 +0530, Anuj Khera wrote: > The cfg80211_pmksa structure uses bssid member to store > the PMKSA for a BSS in Station mode. Change the name of > structure member bssid to peer_addr so that same member > can be used to store the PMKSA for a station in AP mode > using station MAC address. >=20 > Signed-off-by: Anuj Khera > --- Please tag your patches with a version, and document the changes between them. > * > - * @bssid: The AP's BSSID (may be %NULL). > + * @peer_addr: The AP's BSSID (may be %NULL) in case of Station mode. Th= e STA's > + * mac address (may be %NULL) in case of AP mode. >=20 "MAC address", I guess? And the "may be %NULL" really makes zero sense in AP mode, who are you going to have the entry for?! It barely even makes sense in client mode. johannes