Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
cfg80211_ssid Struct Reference

#include <cfg80211.h>

Data Fields

u8 ssid [IEEE80211_MAX_SSID_LEN]
u8 ssid_len

Detailed Description

DOC: Scanning and BSS list handling

The scanning process itself is fairly simple, but cfg80211 offers quite a bit of helper functionality. To start a scan, the scan operation will be invoked with a scan definition. This scan definition contains the channels to scan, and the SSIDs to send probe requests for (including the wildcard, if desired). A passive scan is indicated by having no SSIDs to probe. Additionally, a scan request may contain extra information elements that should be added to the probe request. The IEs are guaranteed to be well-formed, and will not exceed the maximum length the driver advertised in the wiphy structure.

When scanning finds a BSS, cfg80211 needs to be notified of that, because it is responsible for maintaining the BSS list; the driver should not maintain a list itself. For this notification, various functions exist.

Since drivers do not maintain a BSS list, there are also a number of functions to search for a BSS and obtain information about it from the BSS structure cfg80211 maintains. The BSS list is also made available to userspace. struct cfg80211_ssid - SSID description : the SSID : length of the ssid

Definition at line 989 of file cfg80211.h.

Field Documentation

Definition at line 990 of file cfg80211.h.

u8 ssid_len

Definition at line 991 of file cfg80211.h.

The documentation for this struct was generated from the following file: