Return-path: Received: from mail-lf0-f42.google.com ([209.85.215.42]:33925 "EHLO mail-lf0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753868AbbL2Ur7 (ORCPT ); Tue, 29 Dec 2015 15:47:59 -0500 Received: by mail-lf0-f42.google.com with SMTP id y184so217450336lfc.1 for ; Tue, 29 Dec 2015 12:47:59 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <1450100394-17414-4-git-send-email-arend@broadcom.com> References: <1450100394-17414-1-git-send-email-arend@broadcom.com> <1450100394-17414-4-git-send-email-arend@broadcom.com> From: Mathy Vanhoef Date: Tue, 29 Dec 2015 21:47:38 +0100 Message-ID: (sfid-20151229_214807_615033_60682026) Subject: Re: [PATCH 3/7] brcmfmac: Add support for scheduled scan mac randomization To: Arend van Spriel Cc: Kalle Valo , linux-wireless , Hante Meuleman Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Mon, Dec 14, 2015 at 2:39 PM, Arend van Spriel wrote: > From: Hante Meuleman > > Scheduled scan be requested to use mac randomization. This patch > checks the flags and enables the randomization if desired. The driver also needs to advertise support for this using the NL80211_FEATURE_SCHED_SCAN_RANDOM_MAC_ADDR flag, if the firmware supports it. This can be done in brcmf_setup_wiphy. Otherwise tools like wpa_supplicant won't use randomization. Kr, Mathy