Scroll to navigation

CFG80211_INFORM_BSS_(9) Scanning and BSS list handling CFG80211_INFORM_BSS_(9)

NAME

cfg80211_inform_bss_data - inform cfg80211 of a new BSS

SYNOPSIS

struct cfg80211_bss * cfg80211_inform_bss_data(struct wiphy * wiphy, struct cfg80211_inform_bss * data, enum cfg80211_bss_frame_type ftype, const u8 * bssid, u64 tsf, u16 capability, u16 beacon_interval, const u8 * ie, size_t ielen, gfp_t gfp);

ARGUMENTS

wiphy
the wiphy reporting the BSS
data
the BSS metadata
ftype
frame type (if known)
bssid
the BSSID of the BSS
tsf
the TSF sent by the peer in the beacon/probe response (or 0)
capability
the capability field sent by the peer
beacon_interval
the beacon interval announced by the peer
ie
additional IEs sent by the peer
ielen
length of the additional IEs
gfp
context flags

DESCRIPTION

This informs cfg80211 that BSS information was found and the BSS should be updated/added.

RETURN

A referenced struct, must be released with cfg80211_put_bss! Or NULL on error.

AUTHOR

Johannes Berg <johannes@sipsolutions.net>
Author.

COPYRIGHT

January 2017 Kernel Hackers Manual 4.8.