Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1278923ybe; Fri, 13 Sep 2019 14:01:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqwJH0/1OrAAlMMzBJQT2EPOz9XlIcqUu44XCI6ECpBKZsdjS6bHLVWUFmscjFQswB9FKCyZ X-Received: by 2002:a05:6402:1447:: with SMTP id d7mr49570056edx.146.1568408462185; Fri, 13 Sep 2019 14:01:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568408462; cv=none; d=google.com; s=arc-20160816; b=yjUhixqZPNv6KO2WWAa72cTMyb5nh42RWdR0BaK/lI8h6IM1+Dvmd1xyttDdyeOGzx tPqPBPjbkvoIfE/b0rNEXgkby/xqz/sucxWnoNGmV4gSSm9IsvS25FgoM5MO8zKAyNwt e1DXSKaCKbvH9F+qwPDjvgBI9Ge8YsvL69baI8fNgVouenfQp7kkAKVUi4qU3+c6u4oc xAW+WjplKCwThO+puchZujGjgbEppGmhWQbVsKemQDu5RVGpNJWZ54aSNycBQl2EFmxT flLX7Fc58Bd5By26yxVVo9x1CTiBqDhLALVWqhxwaIokIIHK/LbZqvJLldU3h+GGXZRc shrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:to:from:subject:message-id :dkim-signature; bh=5NQ2Z6LNT8ek38XfAoo0QwHLpQn3Q4FOSyr9EpBF1YE=; b=EJVt0UVj7vuu+MtpC8ZxICheMLn5YOUfHxC8ckQxigiQ7ZlNwaHqXZ1wxLAl8MX1RD daWaS8iph/bmasJHEcQRP79xuI9oD51ER1YJuCrptkXfQi/WVCS/3ShH1M/4KhIl24Gu MJBKOPEEvJu1gzylqYlslh0dTt4wimZ5eIm7gkxa+sMdbEov60aMFeWa7AeouDrdqT/6 jNNumMDXxxVMTwOtnkGaMIoByqcruga/ujf1+fFMDWIYDdbUxAwelg4lOmA8GbWppS/W VFdz2JV0wu5KLjdvjk2GTB5OS9fLsxLRqTzWrC9vsRs1x3bGc0c6plMLUSfsU3oBa4ZT of/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=B0vojTxC; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r17si13507547ejh.315.2019.09.13.14.00.37; Fri, 13 Sep 2019 14:01:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=B0vojTxC; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387554AbfIMU6Y (ORCPT + 99 others); Fri, 13 Sep 2019 16:58:24 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:45874 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726558AbfIMU6Y (ORCPT ); Fri, 13 Sep 2019 16:58:24 -0400 Received: by mail-pl1-f196.google.com with SMTP id x3so13739275plr.12 for ; Fri, 13 Sep 2019 13:58:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:subject:from:to:date:in-reply-to:references:mime-version :content-transfer-encoding; bh=5NQ2Z6LNT8ek38XfAoo0QwHLpQn3Q4FOSyr9EpBF1YE=; b=B0vojTxCen8EvbIOPMq2b3GIAVPZ2OCdulShro3CUe8rZhf4sJl1PBbIsi86gteHrm p6irYK9jrE5m3qDvgB367CeYpRvJQmnLD66hu142+lUXr10NXlboB/a+0rqhm5BoiTXF xXsKKI21l5qTmAAa9vdxwDkGUnv52kumSUbFBB2oYkn1YNiEPSfV1Ib3Rad9RN6BvtYJ pIZRDSR4l43VBGNq6Q83ZVN0tLesBUXn+Q4/kCu7gRN5pzgkoEgSlNtS6JkR7JK/CGRi QlaHB9CYkRfvVRokTAWTvZz7zocs9Eu1nVvaF7OnGR1GlGEFVyw710N+VaxB0IpD1VFs Jqlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:mime-version:content-transfer-encoding; bh=5NQ2Z6LNT8ek38XfAoo0QwHLpQn3Q4FOSyr9EpBF1YE=; b=GLAjqYOxQapZszq0RvHKcy1BLSAsa/OPeyHaF1CWNn8hJmR2zWoqCZ1EmhxDdq1Dv5 ZCgK9iASbap06s3ysF4Rx5fhbjS1BGv1XDrVj9PyeAsdpVJ0NRqp1fiKuYpPnnoJKaGe tIoVseR0Ua531nSi/aJJXE8VeN6LLagy2C/p+A4n74k3tsetuNIbX3kO9RZmLVIXaIw5 4HFcsCOR3WKfD+6LJonGJpDFyDB4QbEBN3HmkIkX11jGeRg0ggW+oV7QXLK/OJxvwa83 tUg9yfVmCvRWtJkYJnT7j+mC0RsLvrFQjyllHpsTd8rX0ZN0kNrUg5HU+S2JbBSAV3Md lAQA== X-Gm-Message-State: APjAAAUGJfJJVQbFTPa05N+4p14qlwk/MAA8Tt/XYQaPZ42jrEID6A38 s9Xbm3Hy+IBOQsgfphWRtPA= X-Received: by 2002:a17:902:421:: with SMTP id 30mr52963126ple.105.1568408303941; Fri, 13 Sep 2019 13:58:23 -0700 (PDT) Received: from jprestwo-test.jf.intel.com ([134.134.139.76]) by smtp.googlemail.com with ESMTPSA id h11sm29507990pgv.5.2019.09.13.13.58.23 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 13 Sep 2019 13:58:23 -0700 (PDT) Message-ID: <38c222129dd182de4c55e536a89eada7f58a1bf1.camel@gmail.com> Subject: Re: [PATCH 1/2] nl80211: Add LIVE_ADDR_CHANGE feature From: James Prestwood To: Johannes Berg , linux-wireless@vger.kernel.org Date: Fri, 13 Sep 2019 13:56:28 -0700 In-Reply-To: <6c85d9b108825939afb84ebc8a708a211f7e2b98.camel@sipsolutions.net> References: <20190913195908.7871-1-prestwoj@gmail.com> (sfid-20190913_220113_419728_36032050) <6c85d9b108825939afb84ebc8a708a211f7e2b98.camel@sipsolutions.net> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hi, On Fri, 2019-09-13 at 22:48 +0200, Johannes Berg wrote: > On Fri, 2019-09-13 at 12:59 -0700, James Prestwood wrote: > > Add a new feature bit signifying that the wireless hardware > > supports > > changing the mac address while the underlying net_device is > > UP. Note > > that this is slightly different from IFF_LIVE_ADDR_CHANGE as > > additional > > restrictions might be imposed by the hardware. Typical > > restrictions > > are: > > - No connection is active on this interface, e.g. carrier is > > off > > - No scan is in progress > > - No offchannel operation is in progress > > Hmm, what do you need this patch for? > > IFF_LIVE_ADDR_CHANGE should be sufficient to discover it? Because userspace needs to know if this is supported? IFF_LIVE_ADDR_CHANGE is a private flag... AFAIK userspace has no way of obtaining this. Thanks, James > > johannes >