hostapd
Public Attributes | List of all members
wpa_driver_ap_params Struct Reference

Public Attributes

u8 * head
 head - Beacon head from IEEE 802.11 header to IEs before TIM IE
 
size_t head_len
 head_len - Length of the head buffer in octets
 
u8 * tail
 tail - Beacon tail following TIM IE
 
size_t tail_len
 tail_len - Length of the tail buffer in octets
 
int dtim_period
 dtim_period - DTIM period
 
int beacon_int
 beacon_int - Beacon interval
 
int * basic_rates
 basic_rates: -1 terminated array of basic rates in 100 kbps More...
 
unsigned int beacon_rate
 beacon_rate: Beacon frame data rate More...
 
enum beacon_rate_type rate_type
 beacon_rate_type: Beacon data rate type (legacy/HT/VHT)
 
u8 * proberesp
 proberesp - Probe Response template More...
 
size_t proberesp_len
 proberesp_len - Length of the proberesp buffer in octets
 
const u8 * ssid
 ssid - The SSID to use in Beacon/Probe Response frames
 
size_t ssid_len
 ssid_len - Length of the SSID (1..32)
 
enum hide_ssid hide_ssid
 hide_ssid - Whether to hide the SSID
 
unsigned int pairwise_ciphers
 pairwise_ciphers - WPA_CIPHER_* bitfield
 
unsigned int group_cipher
 group_cipher - WPA_CIPHER_*
 
unsigned int key_mgmt_suites
 key_mgmt_suites - WPA_KEY_MGMT_* bitfield
 
unsigned int auth_algs
 auth_algs - WPA_AUTH_ALG_* bitfield
 
unsigned int wpa_version
 wpa_version - WPA_PROTO_* bitfield
 
int privacy
 privacy - Whether privacy is used in the BSS
 
const struct wpabufbeacon_ies
 beacon_ies - WPS/P2P IE(s) for Beacon frames More...
 
const struct wpabufproberesp_ies
 proberesp_ies - P2P/WPS IE(s) for Probe Response frames More...
 
const struct wpabufassocresp_ies
 assocresp_ies - WPS IE(s) for (Re)Association Response frames More...
 
int isolate
 isolate - Whether to isolate frames between associated stations More...
 
int cts_protect
 cts_protect - Whether CTS protection is enabled
 
int preamble
 preamble - Whether short preamble is enabled
 
int short_slot_time
 short_slot_time - Whether short slot time is enabled More...
 
int ht_opmode
 ht_opmode - HT operation mode or -1 if HT not in use
 
int interworking
 interworking - Whether Interworking is enabled
 
const u8 * hessid
 hessid - Homogeneous ESS identifier or NULL if not set
 
u8 access_network_type
 access_network_type - Access Network Type (0..15) More...
 
int ap_max_inactivity
 ap_max_inactivity - Timeout in seconds to detect STA's inactivity More...
 
u8 p2p_go_ctwindow
 ctwindow - Client Traffic Window (in TUs)
 
unsigned int smps_mode
 smps_mode - SMPS mode More...
 
int disable_dgaf
 disable_dgaf - Whether group-addressed frames are disabled
 
int osen
 osen - Whether OSEN security is enabled
 
struct hostapd_freq_paramsfreq
 freq - Channel parameters for dynamic bandwidth changes
 
int reenable
 reenable - Whether this is to re-enable beaconing
 
int pbss
 pbss - Whether to start a PCP (in PBSS) instead of an AP in infrastructure BSS. More...
 
int multicast_to_unicast
 multicast_to_unicast - Whether to use multicast_to_unicast More...
 

Member Data Documentation

§ access_network_type

u8 wpa_driver_ap_params::access_network_type

access_network_type - Access Network Type (0..15)

This is used for filtering Probe Request frames when Interworking is enabled.

§ ap_max_inactivity

int wpa_driver_ap_params::ap_max_inactivity

ap_max_inactivity - Timeout in seconds to detect STA's inactivity

This is used by driver which advertises this capability.

§ assocresp_ies

const struct wpabuf* wpa_driver_ap_params::assocresp_ies

assocresp_ies - WPS IE(s) for (Re)Association Response frames

This is used to add IEs like WPS IE by drivers that reply to (Re)Association Request frames internally.

§ basic_rates

int* wpa_driver_ap_params::basic_rates

basic_rates: -1 terminated array of basic rates in 100 kbps

This parameter can be used to set a specific basic rate set for the BSS. If NULL, default basic rate set is used.

§ beacon_ies

const struct wpabuf* wpa_driver_ap_params::beacon_ies

beacon_ies - WPS/P2P IE(s) for Beacon frames

This is used to add IEs like WPS IE and P2P IE by drivers that do not use the full Beacon template.

§ beacon_rate

unsigned int wpa_driver_ap_params::beacon_rate

beacon_rate: Beacon frame data rate

This parameter can be used to set a specific Beacon frame data rate for the BSS. The interpretation of this value depends on the rate_type (legacy: in 100 kbps units, HT: HT-MCS, VHT: VHT-MCS). If beacon_rate == 0 and rate_type == 0 (BEACON_RATE_LEGACY), the default Beacon frame data rate is used.

§ isolate

int wpa_driver_ap_params::isolate

isolate - Whether to isolate frames between associated stations

If this is non-zero, the AP is requested to disable forwarding of frames between associated stations.

§ multicast_to_unicast

int wpa_driver_ap_params::multicast_to_unicast

multicast_to_unicast - Whether to use multicast_to_unicast

If this is non-zero, the AP is requested to perform multicast to unicast conversion for ARP, IPv4, and IPv6 frames (possibly within 802.1Q). If enabled, such frames are to be sent to each station separately, with the DA replaced by their own MAC address rather than the group address.

Note that this may break certain expectations of the receiver, such as the ability to drop unicast IP packets received within multicast L2 frames, or the ability to not send ICMP destination unreachable messages for packets received in L2 multicast (which is required, but the receiver can't tell the difference if this new option is enabled.)

This also doesn't implement the 802.11 DMS (directed multicast service).

§ pbss

int wpa_driver_ap_params::pbss

pbss - Whether to start a PCP (in PBSS) instead of an AP in infrastructure BSS.

Valid only for DMG network.

§ proberesp

u8* wpa_driver_ap_params::proberesp

proberesp - Probe Response template

This is used by drivers that reply to Probe Requests internally in AP mode and require the full Probe Response template.

§ proberesp_ies

const struct wpabuf* wpa_driver_ap_params::proberesp_ies

proberesp_ies - P2P/WPS IE(s) for Probe Response frames

This is used to add IEs like WPS IE and P2P IE by drivers that reply to Probe Request frames internally.

§ short_slot_time

int wpa_driver_ap_params::short_slot_time

short_slot_time - Whether short slot time is enabled

0 = short slot time disable, 1 = short slot time enabled, -1 = do not set (e.g., when 802.11g mode is not in use)

§ smps_mode

unsigned int wpa_driver_ap_params::smps_mode

smps_mode - SMPS mode

SMPS mode to be used by the AP, specified as the relevant bits of ht_capab (i.e. HT_CAP_INFO_SMPS_*).


The documentation for this struct was generated from the following file: