Scroll to navigation

STRUCT CFG80211_BSS(9) Scanning and BSS list handling STRUCT CFG80211_BSS(9)

NAME

struct_cfg80211_bss - BSS description

SYNOPSIS

struct cfg80211_bss {
  struct ieee80211_channel * channel;
  u8 bssid[ETH_ALEN];
  u64 tsf;
  u16 beacon_interval;
  u16 capability;
  u8 * information_elements;
  size_t len_information_elements;
  u8 * beacon_ies;
  size_t len_beacon_ies;
  u8 * proberesp_ies;
  size_t len_proberesp_ies;
  s32 signal;
  void (* free_priv) (struct cfg80211_bss *bss);
  u8 priv[0] __attribute__((__aligned__(sizeof(void  *))));
};  

MEMBERS

channel
channel this BSS is on
bssid[ETH_ALEN]
BSSID of the BSS
tsf
timestamp of last received update
beacon_interval
the beacon interval as from the frame
capability
the capability field in host byte order
information_elements
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
len_information_elements
total length of the information elements
beacon_ies
the information elements from the last Beacon frame
len_beacon_ies
total length of the beacon_ies
proberesp_ies
the information elements from the last Probe Response frame
len_proberesp_ies
total length of the proberesp_ies
signal
signal strength value (type depends on the wiphy's signal_type)
free_priv
function pointer to free private data
priv[0] __attribute__((__aligned__(sizeof(void *))))
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

March 2016 Kernel Hackers Manual 3.2.