Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2777581ybb; Sun, 22 Mar 2020 07:30:35 -0700 (PDT) X-Google-Smtp-Source: ADFU+vs+ECSd74OrbEo43w2XN3EegQLY9/K8+Zk47h++KDn58MWjuIRhD/URxMTDC0wNWyK7PqlO X-Received: by 2002:aca:a895:: with SMTP id r143mr13645568oie.150.1584887434992; Sun, 22 Mar 2020 07:30:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584887434; cv=none; d=google.com; s=arc-20160816; b=ynq8Rx8FK90e/CbOIHzBwnAXodnLtwdLhxm5DAs6gN59HfvaYcze3DIC+OeGn7mg/8 8+0pYQoOkId0ddcle7dbysmf1pJf20IzmhOYEMJJB+91yP+4WAKwCRshXPxwy0Zcgts4 PrYM3LDMN3Tf4IRo28DW1ZRYT+66tUcp58FLkAgPHf8HbSP93Gt5JamFvIEwCXXJHNne 5nl0QpfQi0uN1SkqxviqmAFGcX6neRZT2qr0fTxtOD4YC5vs7RbhjKt92ZGM5zuZN0AG St/CtK3D5Fzna9ipgj0oL9Pcwddx0ITlJCcBA0Ch4MPDSegum0uN6xmfhmrj4owP2nbl kAtA== 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 :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from:dmarc-filter:dkim-signature; bh=uduuflPW6mRUBQt22S2/ahlaqSxY/AvKy1ZfHU/NiUs=; b=pv/6MhOxpBDdRg3Ph6yERf3Qqr6gt5hrDHRRYmVc+Az624/5ONxNM0lPVNVo0e6Xzp dsSAa4UY2mmQ1IvuSDG510T9diw3SMx0AfkLfn3nR8HD5sIcSliTUfKHEw71acRa8woQ 10Icv8/ayunZh0MI2ilEuAmkysuWM8UNX1GQtIp5X04vhhXbDLdbBaxGpqSvfcbRtuM5 Ng5sKgrzaS022JgV8OpG1puWW5Fs3Ef+Y4okxyepTjT4d/hX6bYsvTUz4vZ7XBJeO9QK GOtM2/oLEzFGWX1YGbWf127km+1a85fEpFqaifkJuMQww6j+BG/MuzGGca2v/ypj/3Zk P1iA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=pST6Q+nI; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e193si6391783oib.276.2020.03.22.07.30.11; Sun, 22 Mar 2020 07:30:34 -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=fail header.i=@mg.codeaurora.org header.s=smtp header.b=pST6Q+nI; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726781AbgCVO3y (ORCPT + 99 others); Sun, 22 Mar 2020 10:29:54 -0400 Received: from mail27.static.mailgun.info ([104.130.122.27]:43799 "EHLO mail27.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725785AbgCVO3x (ORCPT ); Sun, 22 Mar 2020 10:29:53 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1584887393; h=Content-Transfer-Encoding: Content-Type: MIME-Version: Message-ID: In-Reply-To: Date: References: Subject: Cc: To: From: Sender; bh=uduuflPW6mRUBQt22S2/ahlaqSxY/AvKy1ZfHU/NiUs=; b=pST6Q+nIsjv2NTzvG1YE/YZoC8lFMGi2bdlsrccKd/9t5I013wQezwEeZERe7yLYZFGFaq85 K18FB5E57h7n0Bj7hpO1zBj+GR34v7x8bpbubNcfXcnazzMaSoUG+iotGQGk/9pI4SHz8fFC FpWNtmLj6toejkFZ6WIaxNXeLCY= X-Mailgun-Sending-Ip: 104.130.122.27 X-Mailgun-Sid: WyI3YTAwOSIsICJsaW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vcmciLCAiYmU5ZTRhIl0= Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by mxa.mailgun.org with ESMTP id 5e777651.7f0d3816d618-smtp-out-n04; Sun, 22 Mar 2020 14:29:37 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id D9DFFC432C2; Sun, 22 Mar 2020 14:29:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,SPF_NONE, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from potku.adurom.net (88-114-240-156.elisa-laajakaista.fi [88.114.240.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: kvalo) by smtp.codeaurora.org (Postfix) with ESMTPSA id 428C8C433CB; Sun, 22 Mar 2020 14:29:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 428C8C433CB Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=kvalo@codeaurora.org From: Kalle Valo To: Wright Feng Cc: Arend Van Spriel , franky.lin@broadcom.com, hante.meuleman@broadcom.com, chi-hsien.lin@cypress.com, linux-wireless@vger.kernel.org, brcm80211-dev-list.pdl@broadcom.com Subject: Re: [PATCH 2/3] brcmfmac: make firmware eap_restrict a module parameter References: <1584604406-15452-1-git-send-email-wright.feng@cypress.com> <1584604406-15452-3-git-send-email-wright.feng@cypress.com> <9683e5c3-5f68-5632-e1cf-c31e51379673@cypress.com> Date: Sun, 22 Mar 2020 16:29:31 +0200 In-Reply-To: <9683e5c3-5f68-5632-e1cf-c31e51379673@cypress.com> (Wright Feng's message of "Fri, 20 Mar 2020 16:06:11 +0800") Message-ID: <871rpkcvjo.fsf@kamboji.qca.qualcomm.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Wright Feng writes: > Arend Van Spriel =E6=96=BC 3/19/2020 4:28 PM =E5=AF=AB=E9=81=93: >> On 3/19/2020 8:53 AM, Wright Feng wrote: >>> When eap_restrict is enabled, firmware will toss non-802.1x frames from >>> tx/rx data path if station not yet authorized. >>> Internal firmware eap_restrict is disabled by default. This patch makes >>> it possible to enable firmware eap_restrict by specifying >>> eap_restrict=3D1 as module parameter. >> >> What is the reason for not having this toss behavior as default? >> Don't see much reason for having the module parameter. > > The eap_restrict feature in most of firmwares are disabled as default, > and refer to our experience, using eap_restrict increases roam time > for associations in some cases. What are these these cases exactly? > So what we do in this patch is not changing the default firmware > behavior but still give users a way to enable eap_resrtict feature. You should have mentioned this (ie. answer the "Why?" part) in the commit log in the first place. But I don't like adding module parameters unless with really good reasons. And in this case there's no proper documentation when and how a user should use the module parameter so this is nowhere near a proper justifiction. --=20 https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatc= hes