]> 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)
commita9ee44695062471fba436df8e2b4ea5eb60857e5
tree133f0877a98da662a085ed449d78a185ef0f0e88
parentb87d5f4cba0846caa121daf62fdd082577aba72a
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