wifi: ieee80211: define beacon protection bit field
authorKarthikeyan Kathirvel <karthikeyan.kathirvel@oss.qualcomm.com>
Mon, 21 Apr 2025 11:15:05 +0000 (16:45 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 23 Apr 2025 13:36:31 +0000 (15:36 +0200)
commitfcc2d3e11bcc8f01d52a8c419f49f86ff8343b7c
tree44ac11a0af37faf8cce1b90d280866dde21e390a
parentcfec9f8f58a9a7b8005a8a66f51b1f7752292301
wifi: ieee80211: define beacon protection bit field

An AP supporting Beacon Protection should set bit 84 in
the extended capabilities IE (9.4.2.25 in the 802.11be D7 spec).
So the *4th* bit of the 10th byte should be checked to figure out
whether beacon protection is enabled or disabled.

Signed-off-by: Karthikeyan Kathirvel <karthikeyan.kathirvel@oss.qualcomm.com>
Reviewed-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Link: https://patch.msgid.link/20250421111505.3633992-1-karthikeyan.kathirvel@oss.qualcomm.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/linux/ieee80211.h