]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: Allow multicast data frames only when associated
authorIlan Peer <ilan.peer@intel.com>
Fri, 16 Aug 2019 12:55:51 +0000 (15:55 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 20 Aug 2019 14:00:39 +0000 (17:00 +0300)
commit9615337f707772643445a3ff399c0648cd4b9880
tree133f0877a98da662a085ed449d78a185ef0f0e88
parent8baaeacb84435c3ad0e5193844799d382a390fba
iwlwifi: mvm: Allow multicast data frames only when associated

The MAC context configuration always allowed multicast data frames
to pass to the driver for all MAC context types, and in the
case of station MAC context both when associated and when not
associated.

One of the outcomes of this configuration is having the FW forward
encrypted multicast frames to the driver with Rx status indicating
that the frame was not decrypted (as expected, since no keys were
configured yet) which in turn results with unnecessary error
messages.

Change this behavior to allow multicast data frames only when they
are actually expected, e.g., station MAC context is associated etc.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c