Scroll to navigation

STRUCT CFG80211_AP_S(9) Actions and configuration STRUCT CFG80211_AP_S(9)

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;
enum nl80211_smps_mode smps_mode;
int inactivity_timeout;
u8 p2p_ctwindow;
bool p2p_opp_ps;
const struct cfg80211_acl_data * acl;
bool pbss;
struct cfg80211_bitrate_mask beacon_rate;
const struct ieee80211_ht_cap * ht_cap;
const struct ieee80211_vht_cap * vht_cap;
const struct ieee80211_he_cap_elem * he_cap;
bool ht_required;
bool vht_required;
bool twt_responder;
u32 flags; };

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)

smps_mode

SMPS mode

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

pbss

If set, start as a PCP instead of AP. Relevant for DMG networks.

beacon_rate

bitrate to be used for beacons

ht_cap

HT capabilities (or NULL if HT isn't enabled)

vht_cap

VHT capabilities (or NULL if VHT isn't enabled)

he_cap

HE capabilities (or NULL if HE isn't enabled)

ht_required

stations must support HT

vht_required

stations must support VHT

twt_responder

Enable Target Wait Time

flags

flags, as defined in enum cfg80211_ap_settings_flags

DESCRIPTION

Used to configure an AP interface.

AUTHOR

Johannes Berg <johannes@sipsolutions.net>

Author.

COPYRIGHT

June 2023 Kernel Hackers Manual 3.10