diff options
author | Jo-Philipp Wich <jo@mein.io> | 2024-09-21 21:35:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-21 21:35:01 +0200 |
commit | b610860dd4a0591ff586dd71a50f556a0ddafced (patch) | |
tree | 8e4fd82fc1343ef22d7fa8c86c2b2d020e2ee124 | |
parent | c938ee9851f7004ea6f97f0a747feeba5035fd25 (diff) | |
parent | 4e0456ba2f7f9c7727bcd6b004540b9cd7d7f85b (diff) |
Merge pull request #223 from jow-/nl80211-add-eht-attributes
nl80211: add EHT mac/phy capabilities
-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 }, } }; |