wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Fields
wpa_interface Struct Reference

Parameters for wpa_supplicant_add_iface() More...

#include <wpa_supplicant_i.h>

Data Fields

const char * confname
 Configuration name (file or profile) name. More...
 
const char * confanother
 Additional configuration name (file or profile) name. More...
 
const char * ctrl_interface
 Control interface parameter. More...
 
const char * driver
 Driver interface name, or NULL to use the default driver.
 
const char * driver_param
 Driver interface parameters. More...
 
const char * ifname
 Interface name.
 
const char * bridge_ifname
 Optional bridge interface name. More...
 
int p2p_mgmt
 Interface used for P2P management (P2P Device operations) More...
 

Detailed Description

Parameters for wpa_supplicant_add_iface()

Field Documentation

const char* wpa_interface::bridge_ifname

Optional bridge interface name.

If the driver interface (ifname) is included in a Linux bridge device, the bridge interface may need to be used for receiving EAPOL frames. This can be enabled by setting this variable to enable receiving of EAPOL frames from an additional interface.

const char* wpa_interface::confanother

Additional configuration name (file or profile) name.

This can also be NULL when the additional configuration file is not used.

const char* wpa_interface::confname

Configuration name (file or profile) name.

This can also be NULL when a configuration file is not used. In that case, ctrl_interface must be set to allow the interface to be configured.

const char* wpa_interface::ctrl_interface

Control interface parameter.

If a configuration file is not used, this variable can be used to set the ctrl_interface parameter that would have otherwise been read from the configuration file. If both confname and ctrl_interface are set, ctrl_interface is used to override the value from configuration file.

const char* wpa_interface::driver_param

Driver interface parameters.

If a configuration file is not used, this variable can be used to set the driver_param parameters that would have otherwise been read from the configuration file. If both confname and driver_param are set, driver_param is used to override the value from configuration file.

int wpa_interface::p2p_mgmt

Interface used for P2P management (P2P Device operations)

Indicates whether wpas_p2p_init() must be called for this interface. This is used only when the driver supports a dedicated P2P Device interface that is not a network interface.


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