[PATCH wireless-next] wifi: ieee80211: define beacon protection bit field

Jeff Johnson jeff.johnson at oss.qualcomm.com
Mon Apr 21 09:17:50 PDT 2025


On 4/21/2025 4:15 AM, Karthikeyan Kathirvel wrote:
> 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 at oss.qualcomm.com>
> ---
>  include/linux/ieee80211.h | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h
> index 508d466de1cc..aef5a616d598 100644
> --- a/include/linux/ieee80211.h
> +++ b/include/linux/ieee80211.h
> @@ -4087,6 +4087,9 @@ enum ieee80211_tdls_actioncode {
>  /* Defines support for enhanced multi-bssid advertisement*/
>  #define WLAN_EXT_CAPA11_EMA_SUPPORT	BIT(3)
>  
> +/* Enable Beacon Protection */
> +#define WLAN_EXT_CAPA11_BCN_PROTECT BIT(4)
> +
>  /* TDLS specific payload type in the LLC/SNAP header */
>  #define WLAN_TDLS_SNAP_RFTYPE	0x2
>  
> 
> base-commit: 0af2f6be1b4281385b618cb86ad946eded089ac8

FYI there is a pending ath12k change that needs this definition
https://msgid.link/20250421114711.3660911-1-karthikeyan.kathirvel@oss.qualcomm.com

Reviewed-by: Jeff Johnson <jeff.johnson at oss.qualcomm.com>




More information about the ath11k mailing list