diff options
author | Johannes Berg <johannes.berg@intel.com> | 2022-07-12 19:32:49 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2022-07-15 12:43:23 +0300 |
commit | 7464f665158e09f3f29116d8d0676824c1f1eeda (patch) | |
tree | 87af8f9613720815b3eb871d45069e7965f7c76c /include/net/cfg80211.h | |
parent | 74e1309acedc1f091722f33e752aeb87d4ed4c33 (diff) | |
download | linux-7464f665158e09f3f29116d8d0676824c1f1eeda.tar.xz |
wifi: cfg80211: add cfg80211_get_iftype_ext_capa()
Add a helper function cfg80211_get_iftype_ext_capa() to
look up interface type-specific (extended) capabilities.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r-- | include/net/cfg80211.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 8dbc64286d91..d5af3a7fc2b4 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h @@ -5006,6 +5006,14 @@ struct wiphy_iftype_ext_capab { }; /** + * cfg80211_get_iftype_ext_capa - lookup interface type extended capability + * @wiphy: the wiphy to look up from + * @type: the interface type to look up + */ +const struct wiphy_iftype_ext_capab * +cfg80211_get_iftype_ext_capa(struct wiphy *wiphy, enum nl80211_iftype type); + +/** * struct cfg80211_pmsr_capabilities - cfg80211 peer measurement capabilities * @max_peers: maximum number of peers in a single measurement * @report_ap_tsf: can report assoc AP's TSF for radio resource measurement |