diff options
author | Chad Monroe <chad@monroe.io> | 2024-09-21 10:18:23 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2024-09-21 21:23:54 +0200 |
commit | 4e0456ba2f7f9c7727bcd6b004540b9cd7d7f85b (patch) | |
tree | 8e4fd82fc1343ef22d7fa8c86c2b2d020e2ee124 | |
parent | c938ee9851f7004ea6f97f0a747feeba5035fd25 (diff) |
nl80211: add EHT mac/phy capabilities
Signed-off-by: Chad Monroe <chad@monroe.io>
-rw-r--r-- | lib/nl80211.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/nl80211.c b/lib/nl80211.c index feebaeb..c66f55d 100644 --- a/lib/nl80211.c +++ b/lib/nl80211.c @@ -588,7 +588,7 @@ static const uc_nl_nested_spec_t nl80211_wiphy_bands_rates_nla = { static const uc_nl_nested_spec_t nl80211_wiphy_bands_iftype_data_nla = { .headsize = 0, - .nattrs = 7, + .nattrs = 9, .attrs = { { NL80211_BAND_IFTYPE_ATTR_IFTYPES, "iftypes", DT_NESTED, 0, &nl80211_ifcomb_limit_types_nla }, { NL80211_BAND_IFTYPE_ATTR_HE_CAP_MAC, "he_cap_mac", DT_U8, DF_ARRAY, NULL }, @@ -597,6 +597,8 @@ static const uc_nl_nested_spec_t nl80211_wiphy_bands_iftype_data_nla = { { NL80211_BAND_IFTYPE_ATTR_HE_CAP_PPE, "he_cap_ppe", DT_U8, DF_ARRAY, NULL }, { NL80211_BAND_IFTYPE_ATTR_HE_6GHZ_CAPA, "he_6ghz_capa", DT_U16, 0, NULL }, { NL80211_BAND_IFTYPE_ATTR_VENDOR_ELEMS, "vendor_elems", DT_STRING, DF_BINARY, NULL }, + { NL80211_BAND_IFTYPE_ATTR_EHT_CAP_MAC, "eht_cap_mac", DT_U8, DF_ARRAY, NULL }, + { NL80211_BAND_IFTYPE_ATTR_EHT_CAP_PHY, "eht_cap_phy", DT_U8, DF_ARRAY, NULL }, } }; |