mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
cfg80211: add documentation for cfg80211_get_bss()
This was missing, but is referenced a lot in the documentation. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
a3caf7440d
commit
2754867792
1 changed files with 11 additions and 1 deletions
|
@ -4699,12 +4699,22 @@ cfg80211_inform_bss(struct wiphy *wiphy,
|
|||
gfp);
|
||||
}
|
||||
|
||||
/**
|
||||
* cfg80211_get_bss - get a BSS reference
|
||||
* @wiphy: the wiphy this BSS struct belongs to
|
||||
* @channel: the channel to search on (or %NULL)
|
||||
* @bssid: the desired BSSID (or %NULL)
|
||||
* @ssid: the desired SSID (or %NULL)
|
||||
* @ssid_len: length of the SSID (or 0)
|
||||
* @bss_type: type of BSS, see &enum ieee80211_bss_type
|
||||
* @privacy: privacy filter, see &enum ieee80211_privacy
|
||||
*/
|
||||
struct cfg80211_bss *cfg80211_get_bss(struct wiphy *wiphy,
|
||||
struct ieee80211_channel *channel,
|
||||
const u8 *bssid,
|
||||
const u8 *ssid, size_t ssid_len,
|
||||
enum ieee80211_bss_type bss_type,
|
||||
enum ieee80211_privacy);
|
||||
enum ieee80211_privacy privacy);
|
||||
static inline struct cfg80211_bss *
|
||||
cfg80211_get_ibss(struct wiphy *wiphy,
|
||||
struct ieee80211_channel *channel,
|
||||
|
|
Loading…
Reference in a new issue