From mboxrd@z Thu Jan 1 00:00:00 1970 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 3E5C13A6413 for ; Wed, 4 Mar 2026 11:57:01 +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=1772625424; cv=none; b=EXz8wXgjraeLlB4/gByQ26oJ1fKjocVCRB6iGJSA8WThKzIWcg0dj8yFLHEkLOS3nlpzJYImsTgsozfwvanxjh3mOMDIcdiLO6pTVrz7L/TB/F4NVeCDh8K+xP/zPUfVaxrP869QgO/9aO1fpYotd/8vUlQAxzQQIndCMiE8a54= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772625424; c=relaxed/simple; bh=LaW29JZtZUyLilJSQbCAF5it1Nfx2R2Ed/PuPq22MVo=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=tas2YBU2hyx/3tdaxspgydYXuXf74w3m+vqJ8wH3uG7OXfyLWVBY6XEAjvRI46x8zxP/hB9tADuM21/sx5f5cgrMOSBY7gk/WDcVBtxC4PflPcOwQgLBE4xYbJVWC4cf75RtqFmfJ8FvVHZTrWP6aLOJENkJba4+QmbrgIdKS8c= 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=FIe+hwF8; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b="FIe+hwF8" 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=LaW29JZtZUyLilJSQbCAF5it1Nfx2R2Ed/PuPq22MVo=; t=1772625421; x=1773835021; b=FIe+hwF8Vn8nB0iHwolB2r8TFCL579z0zGhZQPurQ/8iLhS ffcTgAurA4tXaEmIJu2+2k/6Dl5ZR4+1ixaW63mx0LhmWBJBxp4iLeTDYKjZvqnCEZIUf0w0ZtW7A K4qIK3hFoDSbaVQ9s5b8O/W+h/3ZDq4xn/4jI9QqXWUJhqG3QurkH51BDuh5vpln0JUcjhhKltqI2 iIoowdV/Y40KFaTvt2D9x2oppnYSrnNOMebWzwoIksvLGzPxY/F2HlnrCo+qDa7e/QyyDGLsY4RBm CrJvoLoQwFZVlGSJpjCq32rbyDe7t8Y8h/xf5w1dEINksd8xQRSfCCmYayzrBjZg==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.98.2) (envelope-from ) id 1vxkqX-000000083fL-2uKs; Wed, 04 Mar 2026 12:56:57 +0100 Message-ID: <6800d54f38355fe2df248dab3da40dba4f892643.camel@sipsolutions.net> Subject: Re: [PATCH wireless-next v2 14/16] wifi: cfg80211: add MAC randomization support for PD requests From: Johannes Berg To: Peddolla Harshavardhan Reddy Cc: linux-wireless@vger.kernel.org, kavita.kavita@oss.qualcomm.com Date: Wed, 04 Mar 2026 12:56:57 +0100 In-Reply-To: <20260304071538.3833062-15-peddolla.reddy@oss.qualcomm.com> References: <20260304071538.3833062-1-peddolla.reddy@oss.qualcomm.com> <20260304071538.3833062-15-peddolla.reddy@oss.qualcomm.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.58.3 (3.58.3-1.fc43) 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 Wed, 2026-03-04 at 12:45 +0530, Peddolla Harshavardhan Reddy wrote: > Enable MAC address randomization for proximity detection requests to > maintain privacy throughout the entire PD session workflow. When > enabled, use the same randomized MAC address for discovery, > authentication, and ranging measurements, ensuring consistent identity > protection across all phases. >=20 > Add a capability flag for devices to advertise PD MAC randomization > support and validate that randomization is only requested when the > device supports it. This ensures consistent MAC address usage across > all phases of proximity detection while preventing invalid > configurations where randomization is requested but not supported by > hardware. Doesn't this basically also require NL80211_EXT_FEATURE_ROC_ADDR_FILTER for the setup? If so, maybe some check (core.c?) should validate that you don't have PD MAC randomization without it? johannes