From 4e0456ba2f7f9c7727bcd6b004540b9cd7d7f85b Mon Sep 17 00:00:00 2001 From: Chad Monroe Date: Sat, 21 Sep 2024 10:18:23 +0200 Subject: nl80211: add EHT mac/phy capabilities Signed-off-by: Chad Monroe --- lib/nl80211.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 }, } }; -- cgit v1.2.3