---
name: "struct_cfg80211_assoc_request"
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_assoc_request"
---

# struct\_cfg80211\_assoc\_request(9)

(Re)Association request data

## NAME

struct\_cfg80211\_assoc\_request - (Re)Association request data

## SYNOPSIS

```
struct cfg80211_assoc_request {
  struct cfg80211_bss * bss;
  const u8 * ie;
  const u8 * prev_bssid;
  size_t ie_len;
  struct cfg80211_crypto_settings crypto;
  bool use_mfp;
  u32 flags;
  struct ieee80211_ht_cap ht_capa;
  struct ieee80211_ht_cap ht_capa_mask;
  struct ieee80211_vht_cap vht_capa;
  struct ieee80211_vht_cap vht_capa_mask;
};
```

## MEMBERS

bss

The BSS to associate with. If the call is successful the driver is given a reference that it must give back to **cfg80211\_send\_rx\_assoc** or to **cfg80211\_assoc\_timeout**. To ensure proper refcounting, new association requests while already associating must be rejected.

ie

Extra IEs to add to (Re)Association Request frame or **NULL**

prev\_bssid

previous BSSID, if not **NULL** use reassociate frame

ie\_len

Length of ie buffer in octets

crypto

crypto settings

use\_mfp

Use management frame protection (IEEE 802.11w) in this association

flags

See enum cfg80211\_assoc\_req\_flags

ht\_capa

HT Capabilities over-rides. Values set in ht\_capa\_mask will be used in ht\_capa. Un-supported values will be ignored.

ht\_capa\_mask

The bits of ht\_capa which are to be used.

vht\_capa

VHT capability override

vht\_capa\_mask

VHT capability mask indicating which fields to use

## DESCRIPTION

This structure provides information needed to complete IEEE 802.11 (re)association.

## AUTHOR

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

Author.

## COPYRIGHT
