'\" t .\" Title: struct cfg80211_bss .\" Author: .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: Scanning and BSS list handling .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "STRUCT CFG80211_BSS" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Scanning and BSS list handling" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" struct_cfg80211_bss \- BSS description .SH "SYNOPSIS" .sp .nf struct cfg80211_bss { struct ieee80211_channel * channel; enum nl80211_bss_scan_width scan_width; const struct cfg80211_bss_ies __rcu * ies; const struct cfg80211_bss_ies __rcu * beacon_ies; const struct cfg80211_bss_ies __rcu * proberesp_ies; struct cfg80211_bss * hidden_beacon_bss; s32 signal; u16 beacon_interval; u16 capability; u8 bssid[ETH_ALEN]; u8 priv[0]; }; .fi .SH "MEMBERS" .PP channel .RS 4 channel this BSS is on .RE .PP scan_width .RS 4 width of the control channel .RE .PP ies .RS 4 the information elements (Note that there is no guarantee that these are well\-formed!); this is a pointer to either the beacon_ies or proberesp_ies depending on whether Probe Response frame has been received\&. It is always non\-\fBNULL\fR\&. .RE .PP beacon_ies .RS 4 the information elements from the last Beacon frame (implementation note: if \fIhidden_beacon_bss\fR is set this struct doesn\*(Aqt own the beacon_ies, but they\*(Aqre just pointers to the ones from the \fIhidden_beacon_bss\fR struct) .RE .PP proberesp_ies .RS 4 the information elements from the last Probe Response frame .RE .PP hidden_beacon_bss .RS 4 in case this BSS struct represents a probe response from a BSS that hides the SSID in its beacon, this points to the BSS struct that holds the beacon data\&. \fIbeacon_ies\fR is still valid, of course, and points to the same data as hidden_beacon_bss\->beacon_ies in that case\&. .RE .PP signal .RS 4 signal strength value (type depends on the wiphy\*(Aqs signal_type) .RE .PP beacon_interval .RS 4 the beacon interval as from the frame .RE .PP capability .RS 4 the capability field in host byte order .RE .PP bssid[ETH_ALEN] .RS 4 BSSID of the BSS .RE .PP priv[0] .RS 4 private area for driver use, has at least wiphy\->bss_priv_size bytes .RE .SH "DESCRIPTION" .PP .PP This structure describes a BSS (which may also be a mesh network) for use in scan results and similar\&. .SH "AUTHOR" .PP \fBJohannes Berg\fR <\&johannes@sipsolutions.net\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br