Arend Van Spriel 於 3/19/2020 4:28 PM 寫道:
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=1 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.
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.
Signed-off-by: Wright Feng <wright.feng@xxxxxxxxxxx>
Signed-off-by: Chi-hsien Lin <chi-hsien.lin@xxxxxxxxxxx>
---
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c | 9
+++++++++
drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c | 5 +++++
drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.h | 2 ++
3 files changed, 16 insertions(+)