---
name: "struct_cfg80211_ap_settings"
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_ap_settings"
---

# struct\_cfg80211\_ap\_settings(9)

AP configuration

## NAME

struct\_cfg80211\_ap\_settings - AP configuration

## SYNOPSIS

```
struct cfg80211_ap_settings {
  struct cfg80211_chan_def chandef;
  struct cfg80211_beacon_data beacon;
  int beacon_interval;
  int dtim_period;
  const u8 * ssid;
  size_t ssid_len;
  enum nl80211_hidden_ssid hidden_ssid;
  struct cfg80211_crypto_settings crypto;
  bool privacy;
  enum nl80211_auth_type auth_type;
  int inactivity_timeout;
  u8 p2p_ctwindow;
  bool p2p_opp_ps;
  const struct cfg80211_acl_data * acl;
};
```

## MEMBERS

chandef

defines the channel to use

beacon

beacon data

beacon\_interval

beacon interval

dtim\_period

DTIM period

ssid

SSID to be used in the BSS (note: may be **NULL** if not provided from user space)

ssid\_len

length of *ssid*

hidden\_ssid

whether to hide the SSID in Beacon/Probe Response frames

crypto

crypto settings

privacy

the BSS uses privacy

auth\_type

Authentication type (algorithm)

inactivity\_timeout

time in seconds to determine station's inactivity.

p2p\_ctwindow

P2P CT Window

p2p\_opp\_ps

P2P opportunistic PS

acl

ACL configuration used by the drivers which has support for MAC address based access control

## DESCRIPTION

Used to configure an AP interface.

## AUTHOR

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

Author.

## COPYRIGHT
