]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb3ff41894cc4b44dd078d8630c78e8341bf4429e
tree893ae49719a48888a9c39963eb962de1ffc21512
parent6eecccc73cbf610ee8a1ddd7cd80910ec1165f2b
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