This patch corrects ieee80211_vht_get_vhtcap_ie for 160/80P80 channel width recognition. diff --git a/sys/net80211/ieee80211.h b/sys/net80211/ieee80211.h index 86ab1459cca..76c43629b33 100644 --- a/sys/net80211/ieee80211.h +++ b/sys/net80211/ieee80211.h _at__at_ -811,9 +811,9 _at__at_ struct ieee80211_ie_vht_operation { #define IEEE80211_VHTCAP_SUPP_CHAN_WIDTH_MASK 0x0000000C #define IEEE80211_VHTCAP_SUPP_CHAN_WIDTH_MASK_S 2 #define IEEE80211_VHTCAP_SUPP_CHAN_WIDTH_NONE 0 -#define IEEE80211_VHTCAP_SUPP_CHAN_WIDTH_160MHZ 1 -#define IEEE80211_VHTCAP_SUPP_CHAN_WIDTH_160_80P80MHZ 2 -#define IEEE80211_VHTCAP_SUPP_CHAN_WIDTH_RESERVED 3 +#define IEEE80211_VHTCAP_SUPP_CHAN_WIDTH_160MHZ 4 +#define IEEE80211_VHTCAP_SUPP_CHAN_WIDTH_160_80P80MHZ 8 +#define IEEE80211_VHTCAP_SUPP_CHAN_WIDTH_RESERVED 16 #define IEEE80211_VHTCAP_SUPP_CHAN_WIDTH_IS_160MHZ(_vhtcaps) \ (_IEEE80211_MASKSHIFT(_vhtcaps, IEEE80211_VHTCAP_SUPP_CHAN_WIDTH_MASK) >= \Received on Mon Mar 29 2021 - 13:02:38 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:27 UTC