---
name: "struct_cfg80211_bss"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/struct_cfg80211_bss"
---

# struct\_cfg80211\_bss(9)

BSS description

## NAME

struct\_cfg80211\_bss - BSS description

## SYNOPSIS

```
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];
};
```

## MEMBERS

channel

channel this BSS is on

scan\_width

width of the control channel

ies

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-**NULL**.

beacon\_ies

the information elements from the last Beacon frame (implementation note: if *hidden\_beacon\_bss* is set this struct doesn't own the beacon\_ies, but they're just pointers to the ones from the *hidden\_beacon\_bss* struct)

proberesp\_ies

the information elements from the last Probe Response frame

hidden\_beacon\_bss

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. *beacon\_ies* is still valid, of course, and points to the same data as hidden\_beacon\_bss-\>beacon\_ies in that case.

signal

signal strength value (type depends on the wiphy's signal\_type)

beacon\_interval

the beacon interval as from the frame

capability

the capability field in host byte order

bssid\[ETH\_ALEN\]

BSSID of the BSS

priv\[0\]

private area for driver use, has at least wiphy-\>bss\_priv\_size bytes

## DESCRIPTION

This structure describes a BSS (which may also be a mesh network) for use in scan results and similar.

## AUTHOR

**Johannes Berg** \<johannes@sipsolutions.net\>

Author.

## COPYRIGHT
