OSDN Git Service

mac80211: refuse aggregations sessions before authorized
authorJohannes Berg <johannes.berg@intel.com>
Thu, 3 Feb 2022 19:15:29 +0000 (20:15 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 16 Feb 2022 14:26:34 +0000 (15:26 +0100)
commita6bce78262f5dd4b50510f0aa47f3995f7b185f3
treea03968b39f96e51d88d66062ad4141506e0ed3eb
parent610d086d6df0b15c3732a7b4a5b0f1c3e1b84d4c
mac80211: refuse aggregations sessions before authorized

If an MFP station isn't authorized, the receiver will (or
at least should) drop the action frame since it's a robust
management frame, but if we're not authorized we haven't
installed keys yet. Refuse attempts to start a session as
they'd just time out.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Link: https://lore.kernel.org/r/20220203201528.ff4d5679dce9.I34bb1f2bc341e161af2d6faf74f91b332ba11285@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/agg-tx.c