---
name: "struct_ieee80211_if_conf"
section: "9"
platform: "linux"
package: "linux-manual-2.6.26"
version: "2.6.26-29"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/struct_ieee80211_if_conf"
---

# struct\_ieee80211\_if\_conf(9)

configuration of an interface

## 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.

## COPYRIGHT
