Go to the source code of this file.
Function Documentation
hostapd_alloc_bss_data - Allocate and initialize per-BSS data : Pointer to interface data : Pointer to per-interface configuration : Pointer to per-BSS configuration for this BSS Returns: Pointer to allocated BSS data
This function is used to allocate per-BSS data structure. This data will be freed after hostapd_cleanup() is called for it during interface deinitialization.
Definition at line 799 of file hostapd.c.
hostapd_cleanup - Per-BSS cleanup (deinitialization) : Pointer to BSS data
This function is used to free all per-BSS data structures and resources. This gets called in a loop for each BSS between calls to hostapd_cleanup_iface_pre() and hostapd_cleanup_iface() when an interface is deinitialized. Most of the modules that are initialized in hostapd_setup_bss() are deinitialized here.
Definition at line 209 of file hostapd.c.
hostapd_cleanup_iface - Complete per-interface cleanup : Pointer to interface data
This function is called after per-BSS data structures are deinitialized with hostapd_cleanup().
Definition at line 259 of file hostapd.c.
hostapd_cleanup_iface_pre - Preliminary per-interface cleanup : Pointer to interface data
This function is called before per-BSS data structures are deinitialized with hostapd_cleanup().
Definition at line 247 of file hostapd.c.
hostapd_new_assoc_sta - Notify that a new station associated with the AP : Pointer to BSS data : Pointer to the associated STA data : 1 to indicate this was a re-association; 0 = first association
This function will be called whenever a station associates with the AP. It can be called from ieee802_11.c for drivers that export MLME to hostapd and from drv_callbacks.c based on driver events for drivers that take care of management frames (IEEE 802.11 authentication and association) internally.
Definition at line 857 of file hostapd.c.
hostapd_setup_bss - Per-BSS setup (initialization) : Pointer to BSS data : Whether this BSS is the first BSS of an interface
This function is used to initialize all per-BSS data structures and resources. This gets called in a loop for each BSS when an interface is initialized. Most of the modules that are initialized here will be deinitialized in hostapd_cleanup().
Definition at line 466 of file hostapd.c.
hostapd_setup_interface - Setup of an interface : Pointer to interface data. Returns: 0 on success, -1 on failure
Initializes the driver interface, validates the configuration, and sets driver parameters based on the configuration. Flushes old stations, sets the channel, encryption, beacons, and WDS links based on the configuration.
Definition at line 772 of file hostapd.c.
hostapd_validate_bssid_configuration - Validate BSSID configuration : Pointer to interface data Returns: 0 on success, -1 on failure
This function is used to validate that the configured BSSIDs are valid.
Definition at line 341 of file hostapd.c.
Variable Documentation