struct_ieee80211_if_conf

Langue: en

Autres versions - même langue

Version: June 2009 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)

NAME

struct_ieee80211_if_conf - configuration of an interface

SYNOPSIS

 struct ieee80211_if_conf {
   int type;
   u8 * bssid;
   u8 * ssid;
   size_t ssid_len;
   struct sk_buff * beacon;
   struct ieee80211_tx_control * beacon_control;
 };  
 

MEMBERS

type

type of the interface. This is always the same as was specified in struct ieee80211_if_init_conf. The type of an interface never changes during the life of the interface; this field is present only for convenience.

bssid

BSSID of the network we are associated to/creating.

ssid

used (together with ssid_len) by drivers for hardware that generate beacons independently. The pointer is valid only during the config_interface call, so copy the value somewhere if you need it.

ssid_len

length of the ssid field.

beacon

beacon template. Valid only if host_gen_beacon_template in struct ieee80211_hw is set. The driver is responsible of freeing the sk_buff.

beacon_control

tx_control for the beacon template, this field is only valid when the beacon field was set.

DESCRIPTION

This structure is passed to the config_interface callback of struct ieee80211_hw.

AUTHOR

Johannes Berg <johannes@sipsolutions.net>

Author.