]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: mac80211: skip rate verification for not captured PSDUs
authorBenjamin Berg <benjamin.berg@intel.com>
Mon, 10 Nov 2025 12:26:18 +0000 (14:26 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 11 Nov 2025 08:25:17 +0000 (09:25 +0100)
commit7fe0d21f5633af8c3fab9f0ef0706c6156623484
treeba57706362642a51165d938af58117fd65b62f52
parent2027e3bcbf00e24560bc9d2a14f62b49364a9236
wifi: mac80211: skip rate verification for not captured PSDUs

If for example the sniffer did not follow any AIDs in an MU frame, then
some of the information may not be filled in or is even expected to be
invalid. As an example, in that case it is expected that Nss is zero.

Fixes: 2ff5e52e7836 ("radiotap: add 0-length PSDU "not captured" type")
Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20251110142554.83a2858ee15b.I9f78ce7984872f474722f9278691ae16378f0a3e@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rx.c