wifi: nl80211: allow reporting wakeup for unprot deauth/disassoc
authorShaul Triebitz <shaul.triebitz@intel.com>
Tue, 6 Feb 2024 14:54:10 +0000 (16:54 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 12 Feb 2024 20:22:48 +0000 (21:22 +0100)
commit93d9f26db5b34ec4d2d5056aeb8819cbef35519c
tree43808ec4bae2cac633b38084dbd8835c06e6e800
parent49c17da387bb069d802b9be538f0f07d08e1c2b8
wifi: nl80211: allow reporting wakeup for unprot deauth/disassoc

Add a report reason for waking up due to an unprotected
deauth/disassoc when MFP is used.

If setting wowlan to wake on disconnection, and an unprotected
deatuh/disassoc arrived (in MFP), some drivers might want to
report wakeup due to unprotected deauth/disassoc, rather than
dissassociation. Add support for that.

Signed-off-by: Shaul Triebitz <shaul.triebitz@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240206164849.8dc9ad531a17.I7f8e926adf927f762e11aaa3458f6354665c7fc5@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/uapi/linux/nl80211.h