X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;ds=sidebyside;f=include%2Flinux%2Fieee80211.h;h=45b437423b4137aafa6e37498cd3f21d30a4d10c;hb=2104f41a613c67f4de7e2fa6511f19f990fe17c4;hp=2be159d248d0e374c49f31074840678e6bea87ee;hpb=ed1400c3eefa9ebdcaf41205005b1f1427a84b28;p=carl9170fw.git diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h index 2be159d..45b4374 100644 --- a/include/linux/ieee80211.h +++ b/include/linux/ieee80211.h @@ -1032,6 +1032,11 @@ struct ieee80211_ht_info { #define WLAN_CAPABILITY_ESS (1<<0) #define WLAN_CAPABILITY_IBSS (1<<1) + +/* A mesh STA sets the ESS and IBSS capability bits to zero */ +#define WLAN_CAPABILITY_IS_MBSS(cap) \ + (!((cap) & (WLAN_CAPABILITY_ESS | WLAN_CAPABILITY_IBSS))) + #define WLAN_CAPABILITY_CF_POLLABLE (1<<2) #define WLAN_CAPABILITY_CF_POLL_REQUEST (1<<3) #define WLAN_CAPABILITY_PRIVACY (1<<4)