diff options
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r-- | include/net/cfg80211.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index f1d21570e6cb..c0d1f5b708c5 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h | |||
@@ -785,7 +785,17 @@ cfg80211_inform_bss_frame(struct wiphy *wiphy, | |||
785 | struct cfg80211_bss *cfg80211_get_bss(struct wiphy *wiphy, | 785 | struct cfg80211_bss *cfg80211_get_bss(struct wiphy *wiphy, |
786 | struct ieee80211_channel *channel, | 786 | struct ieee80211_channel *channel, |
787 | const u8 *bssid, | 787 | const u8 *bssid, |
788 | const u8 *ssid, size_t ssid_len); | 788 | const u8 *ssid, size_t ssid_len, |
789 | u16 capa_mask, u16 capa_val); | ||
790 | static inline struct cfg80211_bss * | ||
791 | cfg80211_get_ibss(struct wiphy *wiphy, | ||
792 | struct ieee80211_channel *channel, | ||
793 | const u8 *ssid, size_t ssid_len) | ||
794 | { | ||
795 | return cfg80211_get_bss(wiphy, channel, NULL, ssid, ssid_len, | ||
796 | WLAN_CAPABILITY_IBSS, WLAN_CAPABILITY_IBSS); | ||
797 | } | ||
798 | |||
789 | struct cfg80211_bss *cfg80211_get_mesh(struct wiphy *wiphy, | 799 | struct cfg80211_bss *cfg80211_get_mesh(struct wiphy *wiphy, |
790 | struct ieee80211_channel *channel, | 800 | struct ieee80211_channel *channel, |
791 | const u8 *meshid, size_t meshidlen, | 801 | const u8 *meshid, size_t meshidlen, |