]> www.infradead.org Git - linux.git/commit
wifi: iwlwifi: mvm: mark bad no-data RX as having bad PLCP
authorJohannes Berg <johannes.berg@intel.com>
Sun, 12 May 2024 04:30:59 +0000 (07:30 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 23 May 2024 08:51:32 +0000 (10:51 +0200)
commit472a15d319b8560da94c7c6e94ead2fea491dd1c
tree33ace923e6021cbbf5c3b86f28ca548bc54af978
parente213eb95a49724a8168e6ef48a62fa06a785fa41
wifi: iwlwifi: mvm: mark bad no-data RX as having bad PLCP

Just like with any other frame, mac80211 will do sanity checks
on no-data RX (representing e.g. sounding PPDUs), and if e.g.
the NSS is wrong, it will warn. This isn't a good idea if we
already know the frame wasn't received well, e.g. has bad PLCP.
Unless the firmware reports "no error", set the bad PLCP flag
to skip checks in mac80211.

Also, since we're now extracting two different values from the
info field, use le32_get_bits() for both.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240512072733.e6adcb9a6ece.Ic14c2e8ed5e80d48af78b2f04e9f08beeb62d68e@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c