Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp5424162pxu; Thu, 22 Oct 2020 01:44:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJytd3AcexMo+Kd7XKpk5GRJiT9NFPrexmnoITF8lKWFSmpi5s7omv4+8CaFQquLK3S/rNyD X-Received: by 2002:a05:6402:359:: with SMTP id r25mr1260719edw.308.1603356284705; Thu, 22 Oct 2020 01:44:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603356284; cv=none; d=google.com; s=arc-20160816; b=lj7ilkPVTCNYTf7xMJ4wuqi4u89dys6rBKl8vLGTzhO+vUnsRQQnFo7riMYltz+LOk 22kPvmIoJz370skkNgt7qjkPxlojp1CcbhcOdUkVOWYFaTfX9g4RJ7WqFxv3vjQ/nVi6 b955VemGJdFxKPtqGS1iA1/w9TbWbcsAgoIYZKX+VdwX/6iYVqR2WHucITz3xtVnJQmw cNSCtnOdiTXIMnHbxDQXtES7mblZCcZyh+G920XdBWpVCD9Tszg2HV1ya8uX0K9WK9he nBenLNekYKIJOJOIKP0DjhCJceeVJnxxq4m8uP2raLEWWeXf0gFRkIgY9l5JEEX92LkF 8Sng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=KECTLua0GLNi6FUVg2O8O5g4DSVMEAQaVWk5xVYD8Jg=; b=ifmnDBd1tpy8JxeGaEICvuMjnJ5+oC0XmhIm5+MC15uOE4AVCqez3uk2rYhp8TqMaR SCxJz+5Moy4Mns+1xiTEFVloRi3HNau/Fxo2djD/0qUSUXBMcLi/EOZtCPuih4Tm4+gw DZ9B2NOBSb0rWuUYBrGQmh+mIy8lFaZ4wZgMAFw7DslAsQjNaBBc7U46rqkFh1qz6O7o QnKr5UN7crrBMAhHpYwG2uzzkkkE6s8JG7liOU+ey/501LCVl2aywQywNi1u2O3yxuXs bwLXd4sT+IoDSyEHj5WuFeMXt2XFDkv8gURSfyJ6mqRNzafVBEh1kpcPXEHo2YSNO8Dv QetA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=PbHCpAzH; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cd8si562683ejb.516.2020.10.22.01.44.13; Thu, 22 Oct 2020 01:44:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=PbHCpAzH; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2506208AbgJVHVJ (ORCPT + 99 others); Thu, 22 Oct 2020 03:21:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2506202AbgJVHVI (ORCPT ); Thu, 22 Oct 2020 03:21:08 -0400 Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF666C0613CE for ; Thu, 22 Oct 2020 00:21:08 -0700 (PDT) Received: by mail-pf1-x442.google.com with SMTP id x13so577649pfa.9 for ; Thu, 22 Oct 2020 00:21:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to; bh=KECTLua0GLNi6FUVg2O8O5g4DSVMEAQaVWk5xVYD8Jg=; b=PbHCpAzHh3buVOvscN3XqR6kL2lQgLqF13zu4pvI+SQYpyRxQlpuUiIleoQ5wDa8ZO 3e2qMxEvngPWAjhNgEVcmwl164PqiMAsVNpQjRWjiLmjFrjFuqPRqoLBoqf04WwqpmaI 5VXT9DUaym12OKfuanlavwaDNUl0NoIMVnNJ0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to; bh=KECTLua0GLNi6FUVg2O8O5g4DSVMEAQaVWk5xVYD8Jg=; b=Nya2eDFs98sgv66LdZnR0lbJ/oUKiPpoMhwg1RiOBQ2vj8+DQPHdcWSOP9urPG4R/N lskUadIWpsoKG4WrqYQ1DX+pkrjawp+u76wKgSSU0xYo2ehV7Jev5BTRyne7V/crLEhT wpfUpIRM1CPOUZy2hXKv7dJBOrE2wHeCuP+7akUVCVO3tu7iv1YOOVcxKEGPw//IsPrl hR5ILPWuh2AhotjejaV3XeZVSfFX8dburCwy7PJbzVaLzNHr/QCNvkZZb4pjb0eUApEH r+N17hBnzH48xfNYuUeEHhGmU0aZ1ka4Inbca8jiKUo1/ph2+OK+nCtJhqXNnkovHYNe t35Q== X-Gm-Message-State: AOAM5334NZvsPHLAPsMl6zkEODYqmf8BFuNmnxfm35FyeyjHjLacX9Yy vA2/G+1BjWv/k37jrz3j1U0kFA== X-Received: by 2002:a62:1d57:0:b029:152:47a7:e04b with SMTP id d84-20020a621d570000b029015247a7e04bmr1393421pfd.48.1603351268185; Thu, 22 Oct 2020 00:21:08 -0700 (PDT) Received: from [192.168.178.129] (f140230.upc-f.chello.nl. [80.56.140.230]) by smtp.gmail.com with ESMTPSA id t9sm966399pfc.205.2020.10.22.00.21.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 22 Oct 2020 00:21:07 -0700 (PDT) Subject: Re: [PATCH v2 1/4] brcmfmac: add change_bss to support AP isolation To: Wright Feng , linux-wireless@vger.kernel.org, Kalle Valo , chi-hsien.lin@cypress.com Cc: brcm80211-dev-list@broadcom.com, brcm80211-dev-list@cypress.com, Franky Lin , Hante Meuleman References: <20201020022812.37064-1-wright.feng@cypress.com> <20201020022812.37064-2-wright.feng@cypress.com> From: Arend Van Spriel Message-ID: <2ecc8b9a-65f1-c7aa-f2b1-6f505d74a2ac@broadcom.com> Date: Thu, 22 Oct 2020 09:20:59 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.3.2 MIME-Version: 1.0 In-Reply-To: <20201020022812.37064-2-wright.feng@cypress.com> Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="000000000000d1504905b23d4e7c" Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org --000000000000d1504905b23d4e7c Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit On 10/20/2020 4:28 AM, Wright Feng wrote: > Hostap has a parameter "ap_isolate" which is used to prevent low-level > bridging of frames between associated stations in the BSS. > Regarding driver side, we add cfg80211 ops method change_bss to support > setting AP isolation if firmware has ap_isolate feature. Reviewed-by: Arend van Spriel > Signed-off-by: Wright Feng > Signed-off-by: Chi-hsien Lin > --- > v2: Remove u32 cast > --- > .../broadcom/brcm80211/brcmfmac/cfg80211.c | 23 +++++++++++++++++++ > .../broadcom/brcm80211/brcmfmac/feature.c | 1 + > .../broadcom/brcm80211/brcmfmac/feature.h | 3 ++- > 3 files changed, 26 insertions(+), 1 deletion(-) --000000000000d1504905b23d4e7c Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MII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