iwlwifi: mvm: always tell the firmware to accept MCAST frames in BSS
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 17 May 2022 09:05:11 +0000 (12:05 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 18 May 2022 10:54:08 +0000 (12:54 +0200)
commit147eb05f24e6f603dc2dc7f2e0675ba1707c538f
tree893ae49719a48888a9c39963eb962de1ffc21512
parent184f10db5f8f15902ac8687b26507b558ac3204d
iwlwifi: mvm: always tell the firmware to accept MCAST frames in BSS

Make the firmware's life easier and always accept MCAST frames. If
needed, drop them in the driver. We need to filter out MCAST frames
in order not to have false positives in the decryption check. If we
accept MCAST frames before we have the GKT installed, we'll end up
complaining that we can't decrypt the frame.
Implement the same filtering, but in the driver.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20220517120045.479956a46317.I21fac7ede9eca85a662671d694872898df884f0b@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c
drivers/net/wireless/intel/iwlwifi/mvm/rx.c