]> 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)
commit5f1983a9f7928ef58b45444898eb9675daf9f8c1
tree893ae49719a48888a9c39963eb962de1ffc21512
parent7d6a88b1e1ccbad43f89f3dccb1eeab9926dc90f
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